aspose file tools*
The moose likes Object Relational Mapping and the fly likes mapping in hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "mapping in hibernate" Watch "mapping in hibernate" New topic

mapping in hibernate

nishi bajaj

Joined: Aug 30, 2010
Posts: 2
I have to map a comma separated string stored in table to a list of values in java class. How to map this in hibernate configuration file?
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

A String is a String as far as Hibernate (and the database) is concerned. You'll need to programatically transform this String value in code.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
I agree. Here's the link:
subject: mapping in hibernate
Similar Threads
Need example how to "hibernate" a JTree
One java class & Two tables Hibernate
how to use spaced column names in hibernate orderby mapping xml
handling null's declaratively
hibernate-annotations error