LockResult res1 = cl.acquireLock(ores, ident, "abc");
assertTrue(res1.isSuccess());
DBFactory.getInstance().closeSession();
// reacquire same identity (get from db)
LockResult res11 = cl.acquireLock(ores, ident, "abc");
long lock1Ac = res11.getLockAquiredTime();
assertTrue(res11.isSuccess());
DBFactory.getInstance().closeSession();
// acquire by another identity must fail