Class COM.odi.IncompatibleClassException
java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----java.lang.RuntimeException
|
+----COM.odi.ObjectStoreException
|
+----COM.odi.SchemaException
|
+----COM.odi.IncompatibleClassException
- public final class IncompatibleClassException
- extends SchemaException
Thrown when an attempt is made to use a persistent object whose persistent schema
does not match its current transient class definition. The following
changes can cause this exception to be thrown:
- Adding or deleting a persistent instance field.
- Changing the type of a persistent instance field.
- Changing the order of persistent instance fields.
- Adding or deleting hashCode() methods - this affects
whether or not the postprocessor adds a persistent hash code
state field.
- Changing whether a class is abstract.
- Adding or removing classes in the inheritance graph, even
if they contain no fields.
See Schema Evolution: Modifying Class
Definitions of Objects in a Database, in the user guide.
Copyright © 1996, 1997, 1998 Object Design, Inc. All rights reserved.