}
@SuppressWarnings("unchecked")
public void updateSessionTimeOut(String sessionTimeout, String lastModifiedBy){
SystemConfigVO _systemConfig = getSystemConfig();
if(_systemConfig.getSystemConfigId() != null){//do update
_systemConfig.setLastModification(BaseConstants.UPDATED);
_systemConfig.setSessionTimeout(sessionTimeout);
} else{ //do new add
_systemConfig = new SystemConfigVO();
_systemConfig.setLastModification(BaseConstants.ADDED);
}
_systemConfig.setLastModifiedDate(new Date());
_systemConfig.setLastModifiedBy(lastModifiedBy);
getHibernateTemplate().saveOrUpdate(_systemConfig);
}