-->
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: SessionFactoryObjectFactory left over SessionFactoryImpl
PostPosted: Thu Mar 30, 2006 1:52 pm 
Newbie

Joined: Tue Mar 21, 2006 2:43 pm
Posts: 1
Location: Halifax, NS, Canada
Hello all,

I'm having a little problem with the SessionFactoryObjectFactory (SFOF). It appears to be holding on to a lot of SessionFactoryImpl's (SFI) in the INSTANCES map. This is occuring because unit tests are creating the SFI's and never actually closing them.

I'm currently working on tracing down where each of these SFI's are created, and making sure it is closed, but I thought someone might have a suggestion on how to find all opened SFI's at the end of a test, and close them.

I don't see any way to get a list of the SFI's in the SFOF (other then using a private accessor, which I'd really like to avoid).

Anyone have any ideas?

Thanks,

Kenny


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.