Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate mapping issue

 
shikhaj jainy
Greenhorn
Posts: 28
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am using spring hibernate annotation in my project.
I have come to one specific requirement for mapping.

on UI I have one drop down box, I have to choose one String value from screen but have to look up another table for that string and retrieve look up code for that string and finally need to save that integer look up code in main table instead of string.


So it looks like

Choose String value form drop down box(UI)--------------> ( map it to) look up code that is in another table and save that look up code in main table.


I do not have any clue how to do that?
Any help will be appreciated.

Thank You.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic