-->
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: self-referencing classes
PostPosted: Thu Feb 21, 2008 7:33 am 
Newbie

Joined: Fri Feb 15, 2008 4:46 am
Posts: 5
Location: UK
I have a number of public static finals in my classes and need to save and retrieve them from Hibernate as table rows. If I reference a public static final and save, Hibernate creates an instance of the class as a row in the table. However, if I run the application again and retrieve that row, it is not associated in anyway to the public static final. Referencing the static final again creates a new row. Is it possible to map these correctly?

_________________
Ann


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.