session.save(userTrackerHBM);
session.flush();
}
else {
try {
UserTrackerHBM userTrackerHBM = (UserTrackerHBM)session.load(UserTrackerHBM.class,
userTracker.getPrimaryKey());
userTrackerHBM.setCompanyId(userTracker.getCompanyId());
userTrackerHBM.setUserId(userTracker.getUserId());
userTrackerHBM.setModifiedDate(userTracker.getModifiedDate());
userTrackerHBM.setRemoteAddr(userTracker.getRemoteAddr());