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 mapping in hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
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
It's not a secret anymore!