-->
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: Can I force hbm2java to create a setId method?
PostPosted: Wed Mar 16, 2005 3:11 pm 
Newbie

Joined: Thu Jun 17, 2004 4:16 pm
Posts: 18
Hi all,
Can I force hbm2java to create a setId method for every hibernate bean?

The reason I am asking that is that I need to implement a converter in Java Server Faces. The converter must tranform a object to string and then from the string to create the object.

If I cannot create setId which is the alternative solution? Of course I could use session.get method but I dont want to access the database all the time

Thank you in advance, kostas


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.