Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

sql-query and entity-name in .hbm.xml file  RSS feed

 
JayaSiji Gopal
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a sql-query which returns a resultset ref as:



In the same hbm file, i have two definitions of Cat Bean.



With the above code, I get an error on startup. Is there a way that the resultset ref can point to the (2) bean instead of (1)?
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!