Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » @Version and DescriptorException
@Version and DescriptorException [message #760321] Thu, 01 December 2011 20:57 Go to next message
Mauro is currently offline MauroFriend
Messages: 79
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.
Re: @Version and DescriptorException [message #761030 is a reply to message #760321] Mon, 05 December 2011 19:40 Go to previous message
James Sutherland is currently offline James SutherlandFriend
Messages: 1939
Registered: July 2009
Location: Ottawa, Canada
Senior Member

Odd. Can you include the full exception stack trace.

James : Wiki : Book : Blog : Twitter
Previous Topic:Server startup FileNotFoundException
Next Topic:NPE and other unmotivated exceptions
Goto Forum:

Current Time: Wed Jun 20 17:34:12 GMT 2018

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

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

Back to the top