|@Version and DescriptorException [message #760321]
||Thu, 01 December 2011 15:57
Registered: July 2009
I have an entity called Foo with an embedded class Boo. Both classes are declared in my persistence.xml. Boo is packaged in different jar than Foo. Foo is packaged in an EJB jar; Boo is packaged in an utility jar (app-inf/lib). Boo has a timestamp property.|
Both jar are deployed and run successfully.
When I put @Version on timestamp property of Boo, I get following exception:
Exception [EclipseLink-93] (Eclipse Persistence Services - 2.1.3.v20110304-r9073): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: The table [FOO] is not present in this descriptor.
Descriptor: RelationalDescriptor(Foo --> [DatabaseTable(FOO)])
If I package Foo and Boo in the same ejb jar, this exception is not shown.
Thanks for any help.
Powered by FUDForum
. Page generated in 0.01644 seconds