Changes between Version 3 and Version 4 of ebXMLPersistenceLayerTestSuite
- Timestamp:
- 08/09/08 08:49:39 (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ebXMLPersistenceLayerTestSuite
v3 v4 53 53 54 54 // create transient object 55 Transaction tx = hibernateSession.beginTransaction();56 55 RegistryObject transientRegistryObject = RegistryObjectFactory.createRegistryObject(); 57 56 URN businessKey = transientRegistryObject.getId(); 57 58 58 // make transient object persistent 59 Transaction tx = hibernateSession.beginTransaction(); 59 60 hibernateSession.saveOrUpdate(transientRegistryObject); 60 tx.commit(); 61 tx.commit(); 61 62 62 63 // verify database state