-->
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.  [ 3 posts ] 
Author Message
 Post subject: How to map a singleton ?
PostPosted: Tue Nov 21, 2006 12:09 pm 
Beginner
Beginner

Joined: Tue Mar 07, 2006 8:50 am
Posts: 20
Hi there,

I'm facing a little problem when trying to map a singleton using Hibernate.
In fact, there's no way to specify a static method (like "GetInstance") to use, as Hibernate always tries to call the default entity class constructor.
Is there any solution to get this working ?

Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 22, 2006 9:02 am 
Beginner
Beginner

Joined: Tue Mar 07, 2006 8:50 am
Posts: 20
up !


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 22, 2006 9:03 am 
Beginner
Beginner

Joined: Tue Mar 07, 2006 8:50 am
Posts: 20
up !


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.