Author: gbadner
Date: 2008-09-16 19:42:56 -0400 (Tue, 16 Sep 2008)
New Revision: 15207
Modified:
core/branches/Branch_3_2_4_SP1_CP/test/org/hibernate/test/hql/BulkManipulationTest.java
Log:
JBPAPP-949 HHH-3283 : protection on vm-based timestamps where dialect does not support
params in INSERT ... SELECT
Modified:
core/branches/Branch_3_2_4_SP1_CP/test/org/hibernate/test/hql/BulkManipulationTest.java
===================================================================
---
core/branches/Branch_3_2_4_SP1_CP/test/org/hibernate/test/hql/BulkManipulationTest.java 2008-09-16
22:01:19 UTC (rev 15206)
+++
core/branches/Branch_3_2_4_SP1_CP/test/org/hibernate/test/hql/BulkManipulationTest.java 2008-09-16
23:42:56 UTC (rev 15207)
@@ -413,6 +413,15 @@
return;
}
+ // dialects which do not allow a parameter in the select portion of an INSERT ...
SELECT statement
+ // will also be problematic for this test because the timestamp here is vm-based as
opposed to
+ // db-based.
+ if ( !getDialect().supportsParametersInInsertSelect() ) {
+ reportSkip( "dialect does not support parameter in INSERT ... SELECT",
+ "test bulk inserts with generated id and generated timestamp");
+ return;
+ }
+
Session s = openSession();
Transaction t = s.beginTransaction();
Show replies by date