Win a copy of Functional Reactive Programming this week in the Other Languages 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: 10124
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