Skip to main content



      Home
Home » Eclipse Projects » EclipseLink » @Version and DescriptorException
@Version and DescriptorException [message #760321] Thu, 01 December 2011 15:57 Go to next message
Eclipse UserFriend
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.
Re: @Version and DescriptorException [message #761030 is a reply to message #760321] Mon, 05 December 2011 14:40 Go to previous message
Eclipse UserFriend
Odd. Can you include the full exception stack trace.
Previous Topic:Server startup FileNotFoundException
Next Topic:NPE and other unmotivated exceptions
Goto Forum:
  


Current Time: Tue Jul 08 09:03:02 EDT 2025

Powered by FUDForum. Page generated in 0.08554 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top