List of usage examples for org.hibernate Session persist
void persist(Object object);
From source file:net.purnama.pureff.dao.ItemAdjustmentDao.java
public void addItemAdjustment(ItemAdjustmentEntity itemadjustment) { Session session = this.sessionFactory.getCurrentSession(); session.persist(itemadjustment); }
From source file:net.purnama.pureff.dao.ItemAdjustmentDraftDao.java
public void addItemAdjustmentDraft(ItemAdjustmentDraftEntity itemadjustmentdraft) { Session session = this.sessionFactory.getCurrentSession(); session.persist(itemadjustmentdraft); }
From source file:net.purnama.pureff.dao.ItemDao.java
public ItemEntity addItem(ItemEntity item) { Session session = this.sessionFactory.getCurrentSession(); session.persist(item); return item;/*from ww w.j av a 2s.co m*/ }
From source file:net.purnama.pureff.dao.ItemDeliveryDao.java
public void addItemDelivery(ItemDeliveryEntity itemdelivery) { Session session = this.sessionFactory.getCurrentSession(); session.persist(itemdelivery); }
From source file:net.purnama.pureff.dao.ItemDeliveryDraftDao.java
public ItemDeliveryDraftEntity addItemDeliveryDraft(ItemDeliveryDraftEntity itemdeliverydraft) { Session session = this.sessionFactory.getCurrentSession(); session.persist(itemdeliverydraft); return itemdeliverydraft; }
From source file:net.purnama.pureff.dao.ItemExpensesDao.java
public void addItemExpenses(ItemExpensesEntity itemexpenses) { Session session = this.sessionFactory.getCurrentSession(); session.persist(itemexpenses); }
From source file:net.purnama.pureff.dao.ItemExpensesDraftDao.java
public void addItemExpensesDraft(ItemExpensesDraftEntity itemexpensesdraft) { Session session = this.sessionFactory.getCurrentSession(); session.persist(itemexpensesdraft); }
From source file:net.purnama.pureff.dao.ItemGroupDao.java
public ItemGroupEntity addItemGroup(ItemGroupEntity itemgroup) { Session session = this.sessionFactory.getCurrentSession(); session.persist(itemgroup); return itemgroup; }
From source file:net.purnama.pureff.dao.ItemInvoicePurchaseDao.java
public void addItemInvoicePurchase(ItemInvoicePurchaseEntity iteminvoicepurchase) { Session session = this.sessionFactory.getCurrentSession(); session.persist(iteminvoicepurchase); }
From source file:net.purnama.pureff.dao.ItemInvoicePurchaseDraftDao.java
public void addItemInvoicePurchaseDraft(ItemInvoicePurchaseDraftEntity iteminvoicepurchasedraft) { Session session = this.sessionFactory.getCurrentSession(); session.persist(iteminvoicepurchasedraft); }