-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: quelle est la meilleure solution pour l'héritage ?
PostPosted: Tue Jun 07, 2005 6:17 am 
Regular
Regular

Joined: Mon Apr 25, 2005 5:36 am
Posts: 103
bonjour à tous.

Je me pose une question :

Quelle est la meilleure solution pour l'héritage avec Hibernate.

J'ai vu qu'il existe 3 type d'héritage, je voudrais savoir quel est la meilleure utilisation des 3.

merci


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 07, 2005 10:07 am 
Hibernate Team
Hibernate Team

Joined: Thu Dec 18, 2003 9:55 am
Posts: 1977
Location: France
il te suffit de lire le tableau dans la doc

perso, si tu as besoin de polymorphisme choisis la stratégie avec discriminateur et ajoute des check constraint pour garantir l'intégrité de tes données

_________________
Anthony,
Get value thanks to your skills: http://www.redhat.com/certification


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.