This commit is contained in:
A. Abram White 2007-02-05 16:01:09 +00:00
parent d826caf711
commit 8d288589c2
1 changed files with 5 additions and 5 deletions

View File

@ -90,8 +90,8 @@ coll-owner: Inefficient mapping: You have declared that field "{0}" is mapped \
class-crit-owner: Field "{0}" declares that it uses class criteria for joins, \
and this field is not owned by an inverse field. As a result, it is \
impossible to correctly null the inverse foreign keys when the field is \
deleted. OpenJPA may leave orphan key values in the database if you do not \
provide an owning inverse relation using the "mapped-by" attribute.
deleted. OpenJPA may leave orphan key values in the database if you do \
not provide an owning inverse relation using the "mapped-by" attribute.
not-map: Field "{0}" declares a map mapping strategy, but is not a map type.
mapped-by-key: Map field "{0}" is attempting to use a map table, but its key \
is mapped by another field. Use an inverse key or join table mapping.
@ -110,9 +110,9 @@ no-class-name: The discriminator column "{1}" for type "{1}" contains a null \
cant-init-subs: The discriminator for type "{0}" cannot compute the list of \
its subclasses on its own. You should either use a discriminator strategy \
that has this ability (such as the class-name strategy), include the set \
of persistent classes in the "org.apache.openjpa.MetaDataFactory" property so that OpenJPA \
can discover all persistent classes at startup, or make sure that all \
subclasses of this type have had their class instantiated in the JVM \
of persistent classes in the "openjpa.MetaDataFactory" property so that \
OpenJPA can discover all persistent classes at startup, or make sure that \
all subclasses of this type have had their class instantiated in the JVM \
before performing any persistent operations on this class or its \
subclasses. If this class does not have any subclasses, consider making \
the class final or changing its discriminator strategy to "final".