Hello!

In an OSGi environment, I come across the exception below.

Why don't the default values work, I wonder?

I also tried explicitly using the @Table annotation, but I still get the
same error.

Probably, the error message is misleading somehow. Any ideas where I
should look?


Thank you!
=dml



<openjpa-1.2.0-r422266:683325 fatal user error>
org.apache.openjpa.persistence.ArgumentException: No table was given for
persistent type "TYPE".
        at
org.apache.openjpa.jdbc.meta.MappingInfo.createTable(MappingInfo.java:437)
        at
org.apache.openjpa.jdbc.meta.ClassMappingInfo.getTable(ClassMappingInfo.java:241)
        at
org.apache.openjpa.jdbc.meta.ClassMappingInfo.getTable(ClassMappingInfo.java:259)
        at
org.apache.openjpa.jdbc.meta.strats.FullClassStrategy.map(FullClassStrategy.java:71)
        at
org.apache.openjpa.jdbc.meta.ClassMapping.setStrategy(ClassMapping.java:377)
        at
org.apache.openjpa.jdbc.meta.RuntimeStrategyInstaller.installStrategy(RuntimeStrategyInstaller.java:55)

Reply via email to