// TestCascadeDAO.testManyDelete();
// TestCascadeDAO.testManyManyInsert();
// TestCascadeDAO.testManyManySelect();
// TestCascadeDAO.testManyManyDelete();
// TestCascadeDAO.testManyManyUpdate();
Master master = new Master().findById(1012);
System.out.println("=============== " + master);
//master.cascade().merge("pets");
System.out.println("===after=="+master);
master.cascade().refresh(6, "pets");
//master.setId(1001);
//master.cascade().persist("pets");
// Pet pet = new Pet().find().first();
// pet.setId(0L);