[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1503?page=c...
]
Vincent Ricard commented on HHH-1503:
-------------------------------------
This bug seems fixed since the method code is:
public void releaseBorrowedConnection() {
if ( borrowedConnection != null ) {
try {
BorrowedConnectionProxy.renderUnuseable(
borrowedConnection );
}
finally {
borrowedConnection = null;
}
}
}
NPE
---
Key: HHH-1503
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1503
Project: Hibernate3
Issue Type: Bug
Components: core
Affects Versions: 3.1.2
Reporter: Igor I Nikonoff
Priority: Minor
ConnectionManager.java releaseBorrowedConnection method NEED FIX
public void releaseBorrowedConnection() {
if ( borrowedConnection != null ) {
BorrowedConnectionProxy.renderUnuseable( borrowedConnection );
borrowedConnection = null;
}
}
because in BorrowedConnectionProxy.renderUnuseable method following check to not null
borrowedConnection.
PS. orig method is:
public void releaseBorrowedConnection() {
if ( borrowedConnection != null ) {
borrowedConnection = null;
BorrowedConnectionProxy.renderUnuseable( borrowedConnection );
}
}
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira