- many to one (8.2.1) [ref]
- one to one (foreign key) (8.2.2) [ref]
- one to one (primary key) (8.2.2) [ref]
- one to many (foreign key) (8.2.3) [ref]
Unidirectional Association with Join Table
- one to many (8.3.1) [ref]
- many to one (8.3.2) [ref]
- one to one (8.3.3) [ref]
- many to many (8.3.4) [ref]
Bidirectional Association
- one to many / many to one (8.4.1) [ref]
- one to one (foreign key) (8.4.2) [ref]
- one to one (primary key) (8.4.2) [ref]
Bidirectional Association with Join Table
(*) hibernate document chapter
Reference:
- hibernate documentation
- EJB 3.0 Spec
16 comments:
This blog has helped me a lot with my Hibernate experience. You have much better examples than the Hibernate documentation I have read..!
I agree. Thanks a lot for the very nice samples.
Very nice summary and easy snapshot of the complex assosiate mappings in hibernate. It made me understand easily. Thanks for sharing.
Wow, real world examples with no foo-bar!
Thanks.
Thank you so much for making this!
Nice one. I am new to Jpa and Hibernate. Can any one pls guide me ?
I have Table A with 3 FKs mapped to say B,C,D tables. How can I use annotation in this case.
I can't ready this very good entry without comments.
So, I would like to say thanks.
It really is an reference and helped me a lot.
Thanks! Was looking for a @OneToOne unidirectional mapping!
Thank you very much!
I would like a lot if ALL java documentation is like this! thanks a lot, very usefull
Excellent, Superb, Nice
These annotations cant explain more simple than this.
Great Job
hibernate config (автоматическое создание таблиц) http://blog.malphas.ru/index.php/archives/87 Интересный ресурс. Есть инфа по hibernate. Также много и другого интересного.
I love this :)
it is very helpful....thanks
Raghu
This is the best description of JPA associations on the internet! Thank you!
Excellent Post. Also Visit http://msnetframework.com/#mono.php
Post a Comment