This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
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

Can't use @SqlResultSetMapping

 
dinesh thalis
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to use @SqlResultSetMapping, so I wrote that code in My Customer entity class, below show that code



After that I wrote query to retrieve data below show that method (this method in stateless session beans class)



After calling this method below exception thrown



My database name is copbank and It has Customer table, please help me to overcome this problem.
 
Joe Harry
Ranch Hand
Posts: 10087
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It clearly says that """Table 'copbank.Customer' doesn't exist"""
 
dinesh thalis
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My my database(copbank) have Customer table, please explain why? Is there any wrong in my code. please give me some comments.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic