-->
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: Redeploy/hot deploy problem
PostPosted: Mon Jun 20, 2005 6:39 am 
Newbie

Joined: Mon Jun 20, 2005 5:13 am
Posts: 1
Location: LuleƄ/Sweden
Hibernate version:2.1.8

JBoss version: 3.2.3

When I redeploy/hot deploy I get the famous :-)
Quote:
Unknown entity class


I have read the FAQ, and the book (Hibernate in Action) and STFW'd without any luck. I then debugged the code
to see what happens and found that eventually I ended up in the SessionFactoryImpl#getPersister(Class) method.

From what I can see the java.util.Map that holds the references to configured mapping documents is based on the class as the key.
This explains to me why the lookup fails (java id changes when redeploy), but not how I should do it instead.

I have seen other posts in this forum that implies that redeploy should be possible, e.g. http://forum.hibernate.org/viewtopic.php?t=935948&highlight=outofmemory

This makes me suspect that I'm missing out on the obvious here, but I cannot seem to be able to find the <bad language placed here ...>

Yes, I'm getting a bit stressed here, since I've past my release date ;-)

Any pointers are appreciated! Even RTFM, as long as chapter references are included :-)


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.