Author: stliu
Date: 2010-05-08 17:20:33 -0400 (Sat, 08 May 2010)
New Revision: 19428
Modified:
core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/generatedkeys/seqidentity/SequenceIdentityTest.java
Log:
JBPAPP-3913 Oracle 11g R2 RAC - Test SequenceIdentityTest fails because first value of
sequence is "2"
Modified:
core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/generatedkeys/seqidentity/SequenceIdentityTest.java
===================================================================
---
core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/generatedkeys/seqidentity/SequenceIdentityTest.java 2010-05-08
21:18:02 UTC (rev 19427)
+++
core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/generatedkeys/seqidentity/SequenceIdentityTest.java 2010-05-08
21:20:33 UTC (rev 19428)
@@ -43,7 +43,7 @@
session.save( e );
// this insert should happen immediately!
- assertEquals( "id not generated through forced insertion", new Long(1),
e.getId() );
+ assertNotNull( "id not generated through forced insertion", e.getId() );
session.delete( e );
session.getTransaction().commit();
Show replies by date