* @param fieldvalues_id
* @return
*/
public Long addUserSalutation(String titelname, long fieldvalues_id) {
try {
Salutation ti = new Salutation();
ti.setName(titelname);
ti.setDeleted(false);
ti.setFieldvalues_id(fieldvalues_id);
ti.setStarttime(new Date());
ti = em.merge(ti);
Long salutations_id = ti.getSalutations_id();
return salutations_id;
} catch (Exception ex2) {
log.error("[addUserSalutation]", ex2);
}
return null;