public void testCommitUnchangedInsert() throws Exception {
// see CAY-1444 - reproducible on DB's that support auto incremented PK
NullTestEntity newObject = context.newObject(NullTestEntity.class);
assertTrue(context.hasChanges());
context.commitChanges();
assertFalse(context.hasChanges());
assertEquals(PersistenceState.COMMITTED, newObject.getPersistenceState());
}