@DatabaseTearDown(value = UPDATE_DATASET, type = DatabaseOperation.DELETE_ALL)
public void testSave2() throws Exception {
try {
DatabaseConnection connection = new DatabaseConnection(dataSource.getConnection());
IDataSet expectedDataSet = new FlatXmlDataSetBuilder().build(this.getClass().getResource(UPDATE_DATASET).openStream());
Item item = new Item();
Item nitem;
DSP5 dsp5 = new DSP5();
dsp5.setId(1L);
dsp5.setLicenseNumber(DSP5_LICENSE_NUMBER);
dsp5.setVersion(1);
item.setId(1L);
item.setQuantity(UPDATED_QUANTITY);
item.setDsp5(dsp5);
item.setVersion(1);
nitem = itemDAO.save(item);
assertNotNull(nitem);
assertEquals(nitem.getQuantity(), item.getQuantity());
entityManager.getTransaction().commit();
DatabaseAssertionMode.NON_STRICT.getDatabaseAssertion().assertEquals(expectedDataSet,
connection.createDataSet(expectedDataSet.getTableNames()));
connection.close();
} catch (DatabaseUnitException e) {