Example usage for org.hibernate LockMode NONE

List of usage examples for org.hibernate LockMode NONE

Introduction

In this page you can find the example usage for org.hibernate LockMode NONE.

Prototype

LockMode NONE

To view the source code for org.hibernate LockMode NONE.

Click Source Link

Document

No lock required.

Usage

From source file:com.bitranger.parknshop.admin.data.PsAdministratorDAO.java

License:Open Source License

public void attachClean(PsAdministrator instance) {
    log.debug("attaching clean PsAdministrator instance");
    try {//from w ww . j  a  va 2 s. co m
        getHibernateTemplate().lock(instance, LockMode.NONE);
        log.debug("attach successful");
    } catch (RuntimeException re) {
        log.error("attach failed", re);
        throw re;
    }
}

From source file:com.bitranger.parknshop.admin.data.PsNoticeAdminDAO.java

License:Open Source License

public void attachClean(PsNoticeAdmin instance) {
    log.debug("attaching clean PsNoticeAdmin instance");
    try {//w w  w  .j  a v a 2 s. c  o  m
        getHibernateTemplate().lock(instance, LockMode.NONE);
        log.debug("attach successful");
    } catch (RuntimeException re) {
        log.error("attach failed", re);
        throw re;
    }
}

From source file:com.bitranger.parknshop.buyer.dao.CustomerFavouriteItemDAO.java

License:Open Source License

public void attachClean(CustomerFavouriteItem instance) {
    log.debug("attaching clean CustomerFavouriteItem instance");
    try {//from  w ww. jav  a 2s  .  c o m
        getHibernateTemplate().lock(instance, LockMode.NONE);
        log.debug("attach successful");
    } catch (RuntimeException re) {
        log.error("attach failed", re);
        throw re;
    }
}

From source file:com.bitranger.parknshop.buyer.dao.CustomerFavouriteShopDAO.java

License:Open Source License

public void attachClean(CustomerFavouriteShop instance) {
    log.debug("attaching clean CustomerFavouriteShop instance");
    try {//w  w w  .ja va2  s.co  m
        getHibernateTemplate().lock(instance, LockMode.NONE);
        log.debug("attach successful");
    } catch (RuntimeException re) {
        log.error("attach failed", re);
        throw re;
    }
}

From source file:com.bitranger.parknshop.buyer.dao.impl.PsRecipientDAO.java

License:Open Source License

public void attachClean(PsRecipient instance) {
    log.debug("attaching clean PsRecipient instance");
    try {//from www  .  j  a  va  2 s .  c  o m
        getHibernateTemplate().lock(instance, LockMode.NONE);
        log.debug("attach successful");
    } catch (RuntimeException re) {
        log.error("attach failed", re);
        throw re;
    }
}

From source file:com.bitranger.parknshop.buyer.dao.PsNoticeCustomerDAO.java

License:Open Source License

public void attachClean(PsNoticeCustomer instance) {
    log.debug("attaching clean PsNoticeCustomer instance");
    try {//from w  w  w . ja  va 2 s. c  o  m
        getHibernateTemplate().lock(instance, LockMode.NONE);
        log.debug("attach successful");
    } catch (RuntimeException re) {
        log.error("attach failed", re);
        throw re;
    }
}

From source file:com.bitranger.parknshop.common.ads.PsAdItemDAO.java

License:Open Source License

public void attachClean(PsAdItem instance) {
    log.debug("attaching clean PsAdItem instance");
    try {/*from w w  w  .j  ava  2s.c o  m*/
        getHibernateTemplate().lock(instance, LockMode.NONE);
        log.debug("attach successful");
    } catch (RuntimeException re) {
        log.error("attach failed", re);
        throw re;
    }
}

From source file:com.bitranger.parknshop.common.ads.PsItemPromotInfoDAO.java

License:Open Source License

public void attachClean(PsItemPromotInfo instance) {
    log.debug("attaching clean PsItemPromotInfo instance");
    try {/*from  w  w  w .j a v a 2s  . c  om*/
        getHibernateTemplate().lock(instance, LockMode.NONE);
        log.debug("attach successful");
    } catch (RuntimeException re) {
        log.error("attach failed", re);
        throw re;
    }
}

From source file:com.bitranger.parknshop.common.ads.PsPromotItemDAO.java

License:Open Source License

public void attachClean(PsPromotItem instance) {
    log.debug("attaching clean PsPromotItem instance");
    try {/*from w w  w. j  a  v a2  s .com*/
        getHibernateTemplate().lock(instance, LockMode.NONE);
        log.debug("attach successful");
    } catch (RuntimeException re) {
        log.error("attach failed", re);
        throw re;
    }
}

From source file:com.bitranger.parknshop.common.dao.impl.PsCategoryDAO.java

License:Open Source License

public void attachClean(PsCategory instance) {
    log.debug("attaching clean PsCategory instance");
    try {//from  w ww.j a v  a 2  s  . c  o m
        getHibernateTemplate().lock(instance, LockMode.NONE);
        log.debug("attach successful");
    } catch (RuntimeException re) {
        log.error("attach failed", re);
        throw re;
    }
}