From: <one...@us...> - 2002-12-27 11:54:51
|
Update of /cvsroot/hibernate/Hibernate/cirrus/hibernate/test In directory sc8-pr-cvs1:/tmp/cvs-serv2878/cirrus/hibernate/test Modified Files: SQLFunctionsTest.java MultiTableTest.java FooBarTest.java FooBar.hbm.xml Log Message: added validation settings to DBCP + C3P0 connection providers added Query.setTimeout() got tests working Index: SQLFunctionsTest.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate/cirrus/hibernate/test/SQLFunctionsTest.java,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** SQLFunctionsTest.java 24 Dec 2002 13:45:38 -0000 1.34 --- SQLFunctionsTest.java 27 Dec 2002 11:54:47 -0000 1.35 *************** *** 9,13 **** import cirrus.hibernate.sql.InterbaseDialect; import cirrus.hibernate.sql.MySQLDialect; - import cirrus.hibernate.sql.SAPDBDialect; import cirrus.hibernate.sql.SybaseDialect; --- 9,12 ---- Index: MultiTableTest.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate/cirrus/hibernate/test/MultiTableTest.java,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** MultiTableTest.java 25 Dec 2002 06:47:11 -0000 1.20 --- MultiTableTest.java 27 Dec 2002 11:54:47 -0000 1.21 *************** *** 244,247 **** --- 244,248 ---- s.flush(); s.connection().commit(); + s.close(); s = sessions.openSession(); s.load(LessSimple.class, id); Index: FooBarTest.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate/cirrus/hibernate/test/FooBarTest.java,v retrieving revision 1.235 retrieving revision 1.236 diff -C2 -d -r1.235 -r1.236 *** FooBarTest.java 26 Dec 2002 03:35:08 -0000 1.235 --- FooBarTest.java 27 Dec 2002 11:54:47 -0000 1.236 *************** *** 449,453 **** s.close(); } ! public void testUpdate() throws Exception { Session s = sessions.openSession(); Foo foo = new Foo(); --- 449,454 ---- s.close(); } ! ! public void testUpdate() throws Exception { Session s = sessions.openSession(); Foo foo = new Foo(); Index: FooBar.hbm.xml =================================================================== RCS file: /cvsroot/hibernate/Hibernate/cirrus/hibernate/test/FooBar.hbm.xml,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** FooBar.hbm.xml 26 Dec 2002 03:35:08 -0000 1.18 --- FooBar.hbm.xml 27 Dec 2002 11:54:47 -0000 1.19 *************** *** 44,54 **** </many-to-one> <property name="long"> ! <column name="long_" index="fbmtoidx" unique-key="abc"/> </property> <property name="integer"> ! <column name="integer_" unique-key="abc"/> </property> <property name="float"> ! <column name="float_" unique-key="abc"/> </property> <property name="double" column="double_"/> --- 44,54 ---- </many-to-one> <property name="long"> ! <column name="long_" index="fbmtoidx" unique-key="abc" not-null="true"/> </property> <property name="integer"> ! <column name="integer_" unique-key="abc" not-null="true"/> </property> <property name="float"> ! <column name="float_" unique-key="abc" not-null="true"/> </property> <property name="double" column="double_"/> |