Skip to main content


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 16:17 Go to next message
No real name is currently offline No real nameFriend
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 19:22 Go to previous messageGo to next message
Chris Delahunt is currently offline Chris DelahuntFriend
Messages: 1389
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 16:22 Go to previous message
No real name is currently offline No real nameFriend
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: Thu Mar 28 17:23:15 GMT 2024

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

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

Back to the top