HHH-9169 : SQLServer2012Dialect creates sequences starting from Long.MIN_VALUE
This commit is contained in:
parent
ed7144c025
commit
231fb1b195
|
@ -37,6 +37,13 @@ public class SQLServer2012SequenceGeneratorTest extends BaseCoreFunctionalTestCa
|
|||
s.close();
|
||||
|
||||
assertTrue(person.getId() == 10);
|
||||
|
||||
s = openSession();
|
||||
tx = s.beginTransaction();
|
||||
s.createQuery( "delete from Person" ).executeUpdate();
|
||||
tx.commit();
|
||||
s.close();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue