aspose file tools*
The moose likes Object Relational Mapping and the fly likes Session Factory in Logs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Session Factory in Logs" Watch "Session Factory in Logs" New topic
Author

Session Factory in Logs

chiranjeevi gunturu
Ranch Hand

Joined: Mar 02, 2007
Posts: 59
Hi,

By looking at the logs below, Can anybody tell me is the Session Factories closed?

Also i noticed the following settings enabled. Am running my application in web sphere application server. I noticed the same logs printed continuosly in my server logs and finally a heapdump is created in the server and the application fails to run.

11/4/11 14:59:39:585 MST] 00000017 SettingsFacto I org.hibernate.cfg.SettingsFactory buildSettings Connection release mode: on_close
11/4/11 14:59:39:573 MST] 00000017 SettingsFacto I org.hibernate.cfg.SettingsFactory buildSettings Automatic flush during beforeCompletion(): enabled
[11/4/11 14:59:39:576 MST] 00000017 SettingsFacto I org.hibernate.cfg.SettingsFactory buildSettings Automatic session close at end of transaction: enabled


Also please see " building session factory" in the logs.

Sorry! the logs might look pretty large, but i want to give as much details as possible. Appreciate any suggestions. Thanks for reading.


abani patra
Ranch Hand

Joined: Oct 11, 2011
Posts: 70
Hi,
Do you like to give some more information , how you are using session .
chiranjeevi gunturu
Ranch Hand

Joined: Mar 02, 2007
Posts: 59
Sure.
I am using sessions from Spring context file. Please see below.

Thanks for your help in advance!

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Session Factory in Logs