From: Juan P. R. (JIRA) <no...@at...> - 2006-01-27 20:17:47
|
SessionException Session is closed - This Bug problem is not according solution posting ---------------------------------------------------------------------------------------- Key: HHH-1406 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1406 Project: Hibernate3 Type: Bug Components: core Versions: 3.1.1 Environment: Hibernate 3.1.1 - Mysql 4.x - Jvm 1.4.2_08 Reporter: Juan Pablo Royo Priority: Blocker The solution to the problem i posted is not correct. Because if you look the code i posted, the method PersistenceManager.saveOrUpdate() call the method PersistenceManager.getSession(). I use a custom ThreadLocalImpl that ovewrite the methods: protected ConnectionReleaseMode getConnectionReleaseMode() { return ConnectionReleaseMode.ON_CLOSE; } protected boolean isAutoCloseEnabled() { return false; } It Is imposible that the session was closed if i didn't call the close() method in Session hibernate object. In adition to this, i debuged the code in that moment and looked that the attribute named "closed" had state false. Please check very carefully my code posted early and give me solution to the problem, because you're wrong about the solution. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Steve E. (JIRA) <no...@at...> - 2006-01-27 20:34:52
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1406?page=comments#action_21862 ] Steve Ebersole commented on HHH-1406: ------------------------------------- I've got an idea... Why don't you please very carefully check my posted solution and actually try the new code which i say fixes this issue? > SessionException Session is closed - This Bug problem is not according solution posting > ---------------------------------------------------------------------------------------- > > Key: HHH-1406 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1406 > Project: Hibernate3 > Type: Bug > Components: core > Versions: 3.1.1 > Environment: Hibernate 3.1.1 - Mysql 4.x - Jvm 1.4.2_08 > Reporter: Juan Pablo Royo > Priority: Blocker > > > The solution to the problem i posted is not correct. Because if you look the code i posted, the method PersistenceManager.saveOrUpdate() call the method PersistenceManager.getSession(). > I use a custom ThreadLocalImpl that ovewrite the methods: > protected ConnectionReleaseMode getConnectionReleaseMode() { > return ConnectionReleaseMode.ON_CLOSE; > } > protected boolean isAutoCloseEnabled() { > return false; > } > It Is imposible that the session was closed if i didn't call the close() method in Session hibernate object. > In adition to this, i debuged the code in that moment and looked that the attribute named "closed" had state false. > Please check very carefully my code posted early and give me solution to the problem, because you're wrong about the solution. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Steve E. (JIRA) <no...@at...> - 2006-01-27 20:37:40
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1406?page=comments#action_21863 ] Steve Ebersole commented on HHH-1406: ------------------------------------- and btw, reported bugs that are considered so super critical that they are marked blocker yet do not even come complete with a simple testcase immediately go into my "yeah right" pile... > SessionException Session is closed - This Bug problem is not according solution posting > ---------------------------------------------------------------------------------------- > > Key: HHH-1406 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1406 > Project: Hibernate3 > Type: Bug > Components: core > Versions: 3.1.1 > Environment: Hibernate 3.1.1 - Mysql 4.x - Jvm 1.4.2_08 > Reporter: Juan Pablo Royo > Priority: Blocker > > > The solution to the problem i posted is not correct. Because if you look the code i posted, the method PersistenceManager.saveOrUpdate() call the method PersistenceManager.getSession(). > I use a custom ThreadLocalImpl that ovewrite the methods: > protected ConnectionReleaseMode getConnectionReleaseMode() { > return ConnectionReleaseMode.ON_CLOSE; > } > protected boolean isAutoCloseEnabled() { > return false; > } > It Is imposible that the session was closed if i didn't call the close() method in Session hibernate object. > In adition to this, i debuged the code in that moment and looked that the attribute named "closed" had state false. > Please check very carefully my code posted early and give me solution to the problem, because you're wrong about the solution. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Max R. A. (JIRA) <no...@at...> - 2006-07-20 08:44:13
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1406?page=all ] Max Rydahl Andersen closed HHH-1406: ------------------------------------ Resolution: Rejected no testcase, no link to previous discussion on forum? > SessionException Session is closed - This Bug problem is not according solution posting > ---------------------------------------------------------------------------------------- > > Key: HHH-1406 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1406 > Project: Hibernate3 > Type: Bug > Components: core > Versions: 3.1.1 > Environment: Hibernate 3.1.1 - Mysql 4.x - Jvm 1.4.2_08 > Reporter: Juan Pablo Royo > Priority: Blocker > > > The solution to the problem i posted is not correct. Because if you look the code i posted, the method PersistenceManager.saveOrUpdate() call the method PersistenceManager.getSession(). > I use a custom ThreadLocalImpl that ovewrite the methods: > protected ConnectionReleaseMode getConnectionReleaseMode() { > return ConnectionReleaseMode.ON_CLOSE; > } > protected boolean isAutoCloseEnabled() { > return false; > } > It Is imposible that the session was closed if i didn't call the close() method in Session hibernate object. > In adition to this, i debuged the code in that moment and looked that the attribute named "closed" had state false. > Please check very carefully my code posted early and give me solution to the problem, because you're wrong about the solution. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |