From: <one...@us...> - 2003-04-06 10:11:42
|
Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/engine In directory sc8-pr-cvs1:/tmp/cvs-serv26833/engine Modified Files: SessionImplementor.java Log Message: * reworked CompositeUserType * improved some exception handling Index: SessionImplementor.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/engine/SessionImplementor.java,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** SessionImplementor.java 2 Apr 2003 01:12:20 -0000 1.10 --- SessionImplementor.java 6 Apr 2003 10:11:09 -0000 1.11 *************** *** 2,6 **** package net.sf.hibernate.engine; - import java.sql.SQLException; import java.util.Iterator; import java.util.List; --- 2,5 ---- *************** *** 23,28 **** * Defines the internal contract between the <tt>Session</tt> and other parts of * Hibernate such as implementors of <tt>Type</tt> or <tt>ClassPersister</tt>. ! * @see net.sf.hibernate.Session ! * @see net.sf.hibernate.impl.SessionImpl */ public interface SessionImplementor extends Session { --- 22,28 ---- * Defines the internal contract between the <tt>Session</tt> and other parts of * Hibernate such as implementors of <tt>Type</tt> or <tt>ClassPersister</tt>. ! * ! * @see net.sf.hibernate.Session the interface to the application ! * @see net.sf.hibernate.impl.SessionImpl the actual implementation */ public interface SessionImplementor extends Session { *************** *** 61,65 **** * Initialize the collection (if not already initialized) */ ! public void initialize(PersistentCollection collection, boolean writing) throws HibernateException, SQLException; /** * Is this the "inverse" end of a bidirectional association? --- 61,65 ---- * Initialize the collection (if not already initialized) */ ! public void initialize(PersistentCollection collection, boolean writing) throws HibernateException; /** * Is this the "inverse" end of a bidirectional association? *************** *** 71,80 **** * This method may create a new proxy or return an existing proxy. */ ! public Object internalLoad(Class persistentClass, Serializable id) throws SQLException, HibernateException; /** * Load an instance without checking if it was deleted. If it does not exist, return <tt>null</tt>. * Do not create a proxy (but do return any existing proxy). */ ! public Object internalLoadOneToOne(Class persistentClass, Serializable id) throws SQLException, HibernateException; /** * Load an instance immediately. Do not return a proxy. --- 71,80 ---- * This method may create a new proxy or return an existing proxy. */ ! public Object internalLoad(Class persistentClass, Serializable id) throws HibernateException; /** * Load an instance without checking if it was deleted. If it does not exist, return <tt>null</tt>. * Do not create a proxy (but do return any existing proxy). */ ! public Object internalLoadOneToOne(Class persistentClass, Serializable id) throws HibernateException; /** * Load an instance immediately. Do not return a proxy. *************** *** 144,148 **** * Perform the second step of 2-phase load (ie. fully initialize the entity instance) */ ! public void initializeEntity(Object object) throws HibernateException, SQLException; /** --- 144,148 ---- * Perform the second step of 2-phase load (ie. fully initialize the entity instance) */ ! public void initializeEntity(Object object) throws HibernateException; /** |