Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

having trouble writing a select statement openJpa

 
Wendy Gibbons
Bartender
Posts: 1110
Eclipse IDE Oracle VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
my bean looks like this


the database


the select code


the error message



why is it only this column that isn't working? why is group name perfectly happy
 
Wendy Gibbons
Bartender
Posts: 1110
Eclipse IDE Oracle VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok i fixed it by swapping the getter and setter methods around, so the annotation was above the 1st method the getExternalId and it now works.
Is this because this is a secret restriction?
Is it because it expects them to be the same way round every time?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic