Esempio n. 1
0
 public static BRADYSET getBRADYSETByORMID(PersistentSession session, int ID) {
   try {
     return (BRADYSET) session.get(tr.com.srdc.icardea.hibernate.BRADYSET.class, new Integer(ID));
   } catch (Exception e) {
     _logger.error("getBRADYSETByORMID(PersistentSession session, int ID)", e);
     return null;
   }
 }
Esempio n. 2
0
 public static Medication getMedicationByORMID(PersistentSession session, int ID) {
   try {
     return (Medication)
         session.get(tr.com.srdc.icardea.hibernate.Medication.class, new Integer(ID));
   } catch (Exception e) {
     _logger.error("getMedicationByORMID(PersistentSession session, int ID)", e);
     return null;
   }
 }