Beispiel #1
0
 @Override
 public int update(Authority authority) {
   Session session = this.getSession();
   session.update(authority);
   return authority.getaId();
 }
Beispiel #2
0
 @Override
 public int insert(Authority authority) {
   Session session = this.getSession();
   session.save(authority);
   return authority.getaId();
 }