From: <one...@us...> - 2002-12-28 02:25:52
|
Update of /cvsroot/hibernate/Hibernate/cirrus/hibernate/engine In directory sc8-pr-cvs1:/tmp/cvs-serv21213/cirrus/hibernate/engine Modified Files: SessionFactoryImplementor.java Log Message: added support for <joined-subclass> to CodeGenerator added Query.getNamedParameters(), Query.setProperties() fixed a bug in Query.getReturnTypes() Index: SessionFactoryImplementor.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate/cirrus/hibernate/engine/SessionFactoryImplementor.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** SessionFactoryImplementor.java 26 Nov 2002 03:35:41 -0000 1.5 --- SessionFactoryImplementor.java 28 Dec 2002 02:25:49 -0000 1.6 *************** *** 5,8 **** --- 5,9 ---- import java.sql.PreparedStatement; import java.sql.SQLException; + import java.util.Collection; import cirrus.hibernate.HibernateException; *************** *** 19,26 **** * @see cirrus.hibernate.impl.SessionFactoryImpl */ ! public interface SessionFactoryImplementor extends Mapping { /** * Get the persister for a class ! */ public ClassPersister getPersister(Class clazz) throws MappingException; /** * Get the persister for the named class --- 20,29 ---- * @see cirrus.hibernate.impl.SessionFactoryImpl */ ! public interface SessionFactoryImplementor extends Mapping { ! /** * Get the persister for a class ! */ ! public ClassPersister getPersister(Class clazz) throws MappingException; /** * Get the persister for the named class *************** *** 54,57 **** --- 57,65 ---- public Type[] getReturnTypes(String queryString) throws HibernateException; + /** + * Get the named parameter names for a query + * @return a collection of strings + */ + public Collection getNamedParameters(String queryString) throws HibernateException; /** * Obtain a JDBC connection |