jQuery in Action, 2nd edition
The moose likes Object Relational Mapping and the fly likes Spring with Hibernate Lookup Tables Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply Bookmark "Spring with Hibernate Lookup Tables" Watch "Spring with Hibernate Lookup Tables" New topic
Author

Spring with Hibernate Lookup Tables

Sreenivas Reddy Tatikunta
Greenhorn

Joined: Aug 23, 2011
Posts: 24

Dear All,

In Spring or Hibernate is there any feature to get the data from lookup tables.

Ex: Gender is Lookup table


We need to use Gender table as singleton class because to avoid the database calls. I tried alot but i did not find the solution.
Please let me know if you have any solution.

Thanks In Advance.

Best Regards,
Sreenivas Reddy.Tatikunta
Sreenivas Reddy Tatikunta
Greenhorn

Joined: Aug 23, 2011
Posts: 24

Please help me out.
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3670

Please read EaseUp...

...I tried alot but i did not find the solution.

What you tried? In which part you have problems?


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Spring with Hibernate Lookup Tables
 
Similar Threads
spring : bind path=" "
Hibernate I18N Repeated column with composite IDs
Hibernate: How to disable insert?
List
When to declare mapping resources in hibernate configuration files