-->
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: Débutant :problème pour mapper un Long comme id
PostPosted: Fri Aug 19, 2005 10:53 am 
Beginner
Beginner

Joined: Mon Aug 08, 2005 7:54 am
Posts: 27
Bonjour,

Je cherche à mapper pour Hibernate une classe qui possède une "property" qui est un Long. Cette propriété est en fait la clé primaire. Comme indique à hibernate, dans le fichier de mapping, que le "type" de la propriété n'est pas un type primitif comme int mais un objet de type Long ?

_________________
Belaran,
"Slowly climbing the moutain of Hibernate's mystery..."


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 19, 2005 11:22 am 
Beginner
Beginner

Joined: Mon Aug 08, 2005 7:54 am
Posts: 27
ok pb résolu. Il n'y avait pas de setId dans la classe !

désolé[/code]

_________________
Belaran,
"Slowly climbing the moutain of Hibernate's mystery..."


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.