From: <one...@us...> - 2003-03-13 02:52:22
|
Update of /cvsroot/hibernate/Hibernate/cirrus/hibernate In directory sc8-pr-cvs1:/tmp/cvs-serv18853/hibernate Modified Files: Query.java Log Message: better handling of proxies in QueryImpl Index: Query.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate/cirrus/hibernate/Query.java,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** Query.java 12 Mar 2003 12:40:52 -0000 1.21 --- Query.java 13 Mar 2003 02:52:19 -0000 1.22 *************** *** 154,158 **** * @throws cirrus.hibernate.HibernateException if no type could be determined */ ! public void setParameter(int position, Object val) throws HibernateException, SQLException; /** * Bind a value to a named query parameter, guessing the Hibernate --- 154,158 ---- * @throws cirrus.hibernate.HibernateException if no type could be determined */ ! public void setParameter(int position, Object val) throws HibernateException; /** * Bind a value to a named query parameter, guessing the Hibernate *************** *** 162,166 **** * @throws cirrus.hibernate.HibernateException if no type could be determined */ ! public void setParameter(String name, Object val) throws HibernateException, SQLException; /** --- 162,166 ---- * @throws cirrus.hibernate.HibernateException if no type could be determined */ ! public void setParameter(String name, Object val) throws HibernateException; /** *************** *** 238,242 **** * @param val a non-null instance of a persistent class */ ! public void setEntity(int position, Object val) throws HibernateException, SQLException; // use setParameter for null values /** * Bind an instance of a persistent enumeration class to a JDBC-style query parameter. --- 238,242 ---- * @param val a non-null instance of a persistent class */ ! public void setEntity(int position, Object val); // use setParameter for null values /** * Bind an instance of a persistent enumeration class to a JDBC-style query parameter. *************** *** 252,256 **** * @param val a non-null instance of a persistent class */ ! public void setEntity(String name, Object val) throws HibernateException, SQLException; // use setParameter for null values /** * Bind an instance of a mapped persistent enumeration class to a named query parameter. --- 252,256 ---- * @param val a non-null instance of a persistent class */ ! public void setEntity(String name, Object val); // use setParameter for null values /** * Bind an instance of a mapped persistent enumeration class to a named query parameter. |