Skip to main content



      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
Eclipse UserFriend
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
Eclipse UserFriend
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
Eclipse UserFriend
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: Fri Jul 04 12:10:16 EDT 2025

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

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

Back to the top