| Author |
Element collections
|
Jayr Motta
Ranch Hand
Joined: Jul 30, 2010
Posts: 110
|
|
Hi,
I'm studying for the JPA certification and I've read about element collections in the book I'm reading(Pro JPA 2, Mastering the Java persistence), but I could not see the benefits of that, neither how it's better than a "common" relationship.
Does someone know what benefits it brings or a possible source of information about it? (I'm gonna read the specification soon, maybe this helps ..)
|
Feel free to ask me anything!
www.BlackBeltFactory.com/ui#!/ref=jmotta, SCJP 6, OCWCD JEE5, OCE EJB JEE6
|
 |
Manuel Petermann
Ranch Hand
Joined: Jul 19, 2011
Posts: 175
|
|
|
I use element collections when I simply need a primitive datatype in a collection. You may declare a new relationship but then you need a new class just for one field. Its too bloated imo.
|
Please correct my English.
|
 |
Michael Babula
Greenhorn
Joined: Oct 10, 2011
Posts: 1
|
|
|
Hello everyone.. New here
|
Buy PCB
|
 |
 |
|
|
subject: Element collections
|
|
|