示例#1
0
 public void test3() throws Exception {
   Unit u = BasicService.getService().findByPK(Unit.class, 1L);
   u.setName("xyz");
   u.save();
   u.setName("abc");
   u.save();
 }
示例#2
0
 public void test5() throws Exception {
   Unit u = new Unit();
   u.setName("適当データ");
   u.setBase(u);
   u.setRate(new ScalableNumber(1L, 0));
   u.setScale(1);
   u.save();
   u.setDescription("xyz");
   u.save();
 }
示例#3
0
 public Unit test2() throws Exception {
   Unit u = BasicService.getService().findByPK(Unit.class, 1L);
   u.setName("xyz");
   u.save();
   u.setName("abc");
   return u;
 }