HHH-5208 Oracle 11g R2 RAC - Test SequenceIdentityTest fails because first value of sequence is "2"

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19445 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Strong Liu 2010-05-10 10:34:18 +00:00
parent 19c1d56cca
commit 111125eb6e
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ public class SequenceIdentityTest extends DatabaseSpecificFunctionalTestCase {
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();