From: <one...@us...> - 2003-01-14 13:42:48
|
Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/jmx In directory sc8-pr-cvs1:/tmp/cvs-serv19888/net/sf/hibernate/jmx Modified Files: SessionFactoryStub.java Log Message: wrap all SQLExceptions fixed a bug in SchemaExport where generated foreign key constraints did not used qualified tablename for referenced table Index: SessionFactoryStub.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/jmx/SessionFactoryStub.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** SessionFactoryStub.java 5 Jan 2003 02:11:21 -0000 1.3 --- SessionFactoryStub.java 14 Jan 2003 13:42:15 -0000 1.4 *************** *** 5,9 **** import java.io.ObjectStreamException; import java.sql.Connection; - import java.sql.SQLException; import java.util.Map; import java.util.Properties; --- 5,8 ---- *************** *** 64,68 **** } ! public Session openSession() throws SQLException { return getImpl().openSession(); } --- 63,67 ---- } ! public Session openSession() throws HibernateException { return getImpl().openSession(); } *************** *** 138,142 **** } ! public Session openSession(Interceptor interceptor) throws SQLException { return getImpl().openSession(interceptor); } --- 137,141 ---- } ! public Session openSession(Interceptor interceptor) throws HibernateException { return getImpl().openSession(interceptor); } |