Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Unresolved generator name "foreign" ?(@GeneratedValue(generator="foreign"))
Unresolved generator name "foreign" ? [message #650591] Tue, 25 January 2011 11:17 Go to next message
No real name is currently offline No real name
Messages: 3
Registered: January 2011
Junior Member
I am not certain what may have generated the entity which has the annotation
@GeneratedValue(generator="foreign")
on an id field, or why Eclipse is choking on the name.

It is the only such annotation in the entire sourcebase.
Re: Unresolved generator name "foreign" ? [message #650845 is a reply to message #650591] Wed, 26 January 2011 14:22 Go to previous messageGo to next message
Chris Delahunt is currently offline Chris Delahunt
Messages: 995
Registered: July 2009
Senior Member
Hello,

This seems a question for the Eclipse/Dali team, as EclipseLink does not generate annotations that I am aware of. While I am unfamiliar with how it was added, they are generally used to point to a @SequenceGenerator or @TableGenerator and the lack of one might cause an Eclipse JPA project to complain.

Could it be this annotation was copied from somewhere but not the associated generator annotation?

Regards,
Chris

Re: Unresolved generator name "foreign" ? [message #651068 is a reply to message #650845] Thu, 27 January 2011 11:22 Go to previous message
No real name is currently offline No real name
Messages: 3
Registered: January 2011
Junior Member
Thanks for the reply. I am going to guess it was copied in. I was looking for the option to ignore those, since the ant build succeeds regardless...

Cheers
Alexx
Previous Topic:Correlated ReportQuery using wrong alias in start with clause
Next Topic:Help, default entity listeners not being invoked
Goto Forum:
  


Current Time: Wed Apr 16 15:55:58 EDT 2014

Powered by FUDForum. Page generated in 0.02613 seconds