This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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.