-->
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.  [ 1 post ] 
Author Message
 Post subject: besoin d'explications d'un exemple
PostPosted: Tue Jul 01, 2008 11:55 am 
Newbie

Joined: Tue Jun 24, 2008 6:42 am
Posts: 19
Bonjour, j'ai trouvé ce code dans la doc d'hibernate mais il ne donne pas tout le code, même aucun, et j'aimerai bien faire la même chose que cet exemple

Code:
Parent p = (Parent) session.load(Parent.class, pid);
Child c = new Child();
p.addChild(c);
session.save(c);


je suis débutant, et je pige pas du tout comment on peut faire cela !!
donc quelques explications seraient les bienvenues merci d'avance bye


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

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.