Author: max.andersen(a)jboss.com
Date: 2006-11-30 05:32:03 -0500 (Thu, 30 Nov 2006)
New Revision: 10887
Modified:
branches/Branch_3_2/HibernateExt/tools/src/java/org/hibernate/cfg/reveng/dialect/AbstractMetaDataDialect.java
Log:
throw on close error
Modified:
branches/Branch_3_2/HibernateExt/tools/src/java/org/hibernate/cfg/reveng/dialect/AbstractMetaDataDialect.java
===================================================================
---
branches/Branch_3_2/HibernateExt/tools/src/java/org/hibernate/cfg/reveng/dialect/AbstractMetaDataDialect.java 2006-11-30
10:31:29 UTC (rev 10886)
+++
branches/Branch_3_2/HibernateExt/tools/src/java/org/hibernate/cfg/reveng/dialect/AbstractMetaDataDialect.java 2006-11-30
10:32:03 UTC (rev 10887)
@@ -44,7 +44,7 @@
provider.closeConnection(connection);
}
catch (SQLException e) {
- getSQLExceptionConverter().convert(e, "Problem while closing connection",
null);
+ throw getSQLExceptionConverter().convert(e, "Problem while closing
connection", null);
} finally {
connection = null;
}
Show replies by date