File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Object Relational Mapping and the fly likes Hibernate mapping issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate mapping issue" Watch "Hibernate mapping issue" New topic

Hibernate mapping issue

shikhaj jainy

Joined: Oct 21, 2010
Posts: 13
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.
I agree. Here's the link:
subject: Hibernate mapping issue
It's not a secret anymore!