Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/proxy
In directory sc8-pr-cvs1:/tmp/cvs-serv19888/net/sf/hibernate/proxy
Modified Files:
HibernateProxyHelper.java LazyInitializer.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: HibernateProxyHelper.java
===================================================================
RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/proxy/HibernateProxyHelper.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** HibernateProxyHelper.java 5 Jan 2003 02:11:22 -0000 1.3
--- HibernateProxyHelper.java 14 Jan 2003 13:42:17 -0000 1.4
***************
*** 2,7 ****
package net.sf.hibernate.proxy;
- import java.sql.SQLException;
-
import net.sf.cglib.proxy.Enhancer;
--- 2,5 ----
***************
*** 14,18 ****
* Initializes the proxy if necessary!
*/
! public static Object unproxy(Object object, SessionImplementor session) throws SQLException, HibernateException {
if ( object instanceof HibernateProxy ) {
--- 12,16 ----
* Initializes the proxy if necessary!
*/
! public static Object unproxy(Object object, SessionImplementor session) throws HibernateException {
if ( object instanceof HibernateProxy ) {
Index: LazyInitializer.java
===================================================================
RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/proxy/LazyInitializer.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** LazyInitializer.java 5 Jan 2003 02:11:22 -0000 1.3
--- LazyInitializer.java 14 Jan 2003 13:42:18 -0000 1.4
***************
*** 146,150 ****
* Return the underlying persistent object, initializing if necessary
*/
! public final Object getImplementation() throws HibernateException, SQLException {
initializeWrapExceptions();
return target;
--- 146,150 ----
* Return the underlying persistent object, initializing if necessary
*/
! public final Object getImplementation() throws HibernateException {
initializeWrapExceptions();
return target;
|