List of usage examples for org.hibernate Session merge
Object merge(Object object);
From source file:com.hyron.poscafe.dao.ClassDiscDaoImpl.java
License:Open Source License
@Override public ClassDisc merge(ClassDisc detachedInstance, Session session) throws HibernateException { log.debug("merging ClassDisc instance"); try {//w w w . j av a 2s .c o m ClassDisc result = (ClassDisc) session.merge(detachedInstance); log.debug("merge successful"); return result; } catch (RuntimeException re) { log.error("merge failed", re); throw re; } }
From source file:com.hyron.poscafe.dao.ClassPropDaoImpl.java
License:Open Source License
@Override public ClassProp merge(ClassProp detachedInstance, Session session) throws HibernateException { log.debug("merging ClassProp instance"); try {//ww w. j ava 2 s . c om ClassProp result = (ClassProp) session.merge(detachedInstance); log.debug("merge successful"); return result; } catch (RuntimeException re) { log.error("merge failed", re); throw re; } }
From source file:com.hyron.poscafe.dao.ExchangeRateDaoImpl.java
License:Open Source License
@Override public ExchangeRate merge(ExchangeRate detachedInstance, Session session) throws HibernateException { log.debug("merging ExchangeRate instance"); try {//from ww w . j a v a 2 s . c om ExchangeRate result = (ExchangeRate) session.merge(detachedInstance); log.debug("merge successful"); return result; } catch (RuntimeException re) { log.error("merge failed", re); throw re; } }
From source file:com.hyron.poscafe.dao.ItemClassDaoImpl.java
License:Open Source License
@Override public ItemClass merge(ItemClass detachedInstance, Session session) throws HibernateException { log.debug("merging ItemClass instance"); try {//from w ww . j ava 2s. c om ItemClass result = (ItemClass) session.merge(detachedInstance); log.debug("merge successful"); return result; } catch (RuntimeException re) { log.error("merge failed", re); throw re; } }
From source file:com.hyron.poscafe.dao.ItemDaoImpl.java
License:Open Source License
@Override public Item merge(Item detachedInstance, Session session) throws HibernateException { log.debug("merging Item instance"); try {/*from ww w. j a v a 2s . c o m*/ Item result = (Item) session.merge(detachedInstance); log.debug("merge successful"); return result; } catch (RuntimeException re) { log.error("merge failed", re); throw re; } }
From source file:com.hyron.poscafe.dao.ItemDiscDaoImpl.java
License:Open Source License
@Override public ItemDisc merge(ItemDisc detachedInstance, Session session) throws HibernateException { log.debug("merging ItemDisc instance"); try {//w ww .j a v a 2s . co m ItemDisc result = (ItemDisc) session.merge(detachedInstance); log.debug("merge successful"); return result; } catch (RuntimeException re) { log.error("merge failed", re); throw re; } }
From source file:com.hyron.poscafe.dao.ItemPicDaoImpl.java
License:Open Source License
@Override public ItemPic merge(ItemPic detachedInstance, Session session) throws HibernateException { log.debug("merging ItemPic instance"); try {//from w w w .j a v a 2s .c o m ItemPic result = (ItemPic) session.merge(detachedInstance); log.debug("merge successful"); return result; } catch (RuntimeException re) { log.error("merge failed", re); throw re; } }
From source file:com.hyron.poscafe.dao.MemberCardDaoImpl.java
License:Open Source License
@Override public MemberCard merge(MemberCard detachedInstance, Session session) throws HibernateException { log.debug("merging MemberCard instance"); try {/*from w w w .j a v a 2 s . c om*/ MemberCard result = (MemberCard) session.merge(detachedInstance); log.debug("merge successful"); return result; } catch (RuntimeException re) { log.error("merge failed", re); throw re; } }
From source file:com.hyron.poscafe.dao.MixMatchDiscDaoImpl.java
License:Open Source License
@Override public MixMatchDisc merge(MixMatchDisc detachedInstance, Session session) throws HibernateException { log.debug("merging MixMatchDisc instance"); try {// w w w . j a v a 2 s. com MixMatchDisc result = (MixMatchDisc) session.merge(detachedInstance); log.debug("merge successful"); return result; } catch (RuntimeException re) { log.error("merge failed", re); throw re; } }
From source file:com.hyron.poscafe.dao.PaymentDaoImpl.java
License:Open Source License
@Override public Payment merge(Payment detachedInstance, Session session) throws HibernateException { log.debug("merging Payment instance"); try {//from ww w. java2 s. c om Payment result = (Payment) session.merge(detachedInstance); log.debug("merge successful"); return result; } catch (RuntimeException re) { log.error("merge failed", re); throw re; } }