Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-268
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HB-268
Summary: java.sql.Connection.getWarning() is not allowed on closed con.
Type: Patch
Status: Unassigned
Priority: Major
Project: Hibernate2
Components:
core
Versions:
2.1
Assignee:
Reporter: Avoka
Created: Sat, 16 Aug 2003 10:25 AM
Updated: Sat, 16 Aug 2003 10:25 AM
Description:
Index: SessionFactoryImpl.java
===================================================================
RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/impl/SessionFactory
Impl.java,v
retrieving revision 1.26.2.3
diff -r1.26.2.3 SessionFactoryImpl.java
267c267
<
---
>
299,300c299,302
< JDBCExceptionReporter.logWarnings( conn.getWarnings() );
< conn.clearWarnings();
---
> if(!conn.isClosed()) {
> JDBCExceptionReporter.logWarnings( conn.getWarnings() );
> conn.clearWarnings();
> }
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
|