public Boolean addCfacontentFramework(CfacontentFramework c) {
   if (c != null) {
     super.getHibernateTemplate().save(c);
     return true;
   }
   return false;
 }
Example #2
0
  public void insert(String uid, Date date) {
    if (uid == null) throw new RuntimeException("uid must be set.");

    String dateStr = new SimpleDateFormat(ACCESSLOG_DATE_FORMAT).format(date);
    Accesslog entity = new Accesslog(null, uid, dateStr);

    super.getHibernateTemplate().save(entity);
  }
 public void add(TransferApp transferApp) {
   super.getHibernateTemplate().save(transferApp);
 }
 @Override
 public void save(T entity) {
   super.getHibernateTemplate().save(entity);
 }
Example #5
0
 public void insert(Admin admin) throws Exception {
   super.getSession().save(admin);
 }