Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization 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?
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic