Example usage for org.hibernate Session persist

List of usage examples for org.hibernate Session persist

Introduction

In this page you can find the example usage for org.hibernate Session persist.

Prototype

void persist(Object object);

Source Link

Document

Make a transient instance persistent.

Usage

From source file:net.purnama.pureff.dao.ItemInvoiceSalesDao.java

public void addItemInvoiceSales(ItemInvoiceSalesEntity iteminvoicesales) {
    Session session = this.sessionFactory.getCurrentSession();
    session.persist(iteminvoicesales);
}

From source file:net.purnama.pureff.dao.ItemInvoiceSalesDraftDao.java

public void addItemInvoiceSalesDraft(ItemInvoiceSalesDraftEntity iteminvoicesalesdraft) {
    Session session = this.sessionFactory.getCurrentSession();
    session.persist(iteminvoicesalesdraft);
}

From source file:net.purnama.pureff.dao.ItemInvoiceWarehouseInDao.java

public void addItemInvoiceWarehouseIn(ItemInvoiceWarehouseInEntity iteminvoicewarehousein) {
    Session session = this.sessionFactory.getCurrentSession();
    session.persist(iteminvoicewarehousein);
}

From source file:net.purnama.pureff.dao.ItemInvoiceWarehouseInDraftDao.java

public void addItemInvoiceWarehouseInDraft(ItemInvoiceWarehouseInDraftEntity iteminvoicewarehouseindraft) {
    Session session = this.sessionFactory.getCurrentSession();
    session.persist(iteminvoicewarehouseindraft);
}

From source file:net.purnama.pureff.dao.ItemInvoiceWarehouseOutDao.java

public void addItemInvoiceWarehouseOut(ItemInvoiceWarehouseOutEntity iteminvoicewarehouseout) {
    Session session = this.sessionFactory.getCurrentSession();
    session.persist(iteminvoicewarehouseout);
}

From source file:net.purnama.pureff.dao.ItemInvoiceWarehouseOutDraftDao.java

public void addItemInvoiceWarehouseOutDraft(ItemInvoiceWarehouseOutDraftEntity iteminvoicewarehouseoutdraft) {
    Session session = this.sessionFactory.getCurrentSession();
    session.persist(iteminvoicewarehouseoutdraft);
}

From source file:net.purnama.pureff.dao.ItemReturnPurchaseDao.java

public void addItemReturnPurchase(ItemReturnPurchaseEntity itemreturnpurchase) {
    Session session = this.sessionFactory.getCurrentSession();
    session.persist(itemreturnpurchase);
}

From source file:net.purnama.pureff.dao.ItemReturnPurchaseDraftDao.java

public void addItemReturnPurchaseDraft(ItemReturnPurchaseDraftEntity itemreturnpurchasedraft) {
    Session session = this.sessionFactory.getCurrentSession();
    session.persist(itemreturnpurchasedraft);
}

From source file:net.purnama.pureff.dao.ItemReturnSalesDao.java

public void addItemReturnSales(ItemReturnSalesEntity itemreturnsales) {
    Session session = this.sessionFactory.getCurrentSession();
    session.persist(itemreturnsales);
}

From source file:net.purnama.pureff.dao.ItemReturnSalesDraftDao.java

public void addItemReturnSalesDraft(ItemReturnSalesDraftEntity itemreturnsalesdraft) {
    Session session = this.sessionFactory.getCurrentSession();
    session.persist(itemreturnsalesdraft);
}