Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/xml
In directory sc8-pr-cvs1:/tmp/cvs-serv19888/net/sf/hibernate/xml
Modified Files:
XMLDatabinder.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: XMLDatabinder.java
===================================================================
RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/xml/XMLDatabinder.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** XMLDatabinder.java 5 Jan 2003 02:11:25 -0000 1.4
--- XMLDatabinder.java 14 Jan 2003 13:42:19 -0000 1.5
***************
*** 5,9 ****
import java.io.StringWriter;
import java.lang.reflect.Array;
- import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Collection;
--- 5,8 ----
***************
*** 153,162 ****
}
! try {
! return li.getImplementation();
! }
! catch (SQLException sqle) {
! throw new HibernateException( "SQL Exception initializing proxy", sqle );
! }
}
--- 152,156 ----
}
! return li.getImplementation();
}
|