Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Object Relational Mapping
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Object Relational Mapping
Mapping a jdk 1.5 java.util.Collection in hibernate 3
Nischal Tanna
Ranch Hand
Posts: 182
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi All
My pojo has an object as:
private Collection<Name> diffNames;
where Name is a custom class as follows:
public class Name
{
private
String
name;
private String surname;
}
So how do i map the diffNames object above in the hibernate mapping?
Thnx
Mark Spritzler
ranger
Posts: 17347
11
I like...
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I recommend using a Hibernate Bag object. a Bag is how Hibernate maps to a Collection object.
Mark
Perfect World Programming, LLC
-
iOS Apps
How to Ask Questions the Smart Way FAQ
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
?
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Problem in <one-to-one> relation mapping
Spring-Hibernate-Blob problem
Persisting linked-list using Hibernate
inner join not working !!! please help
Hibernate and MS Access?
More...