* @throws Exception if a database error occurs.
*/
public void testDeleteByObjectWithoutPkChangedColumn() throws Exception
{
PkSchemaData.clearTablesInDatabase();
PkSchemaData testData = PkSchemaData.getDefaultTestData();
testData.save();
Nopk toDelete = testData.getNopkList().get(1);
toDelete.setName("nopk1Changed");
// check that three entries are in the Nopk table
List<Nopk> nopkList = getNopkList();
assertEquals(3, nopkList.size());