kliver / hibernate-generic-dao

Automatically exported from code.google.com/p/hibernate-generic-dao
0 stars 0 forks source link

New methods in IGenericDao #47

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
It would be nice to allow the load/get with LockMode.

For example, in BaseDaoImpl, to load and lock an entity : 

protected <T> T _load(Class<T> type, Serializable id, LockMode lock) {
   return (T) getSession().load(type, id, lock);
}

Thanks !

Original issue reported on code.google.com by mathieu....@gmail.com on 26 Aug 2009 at 12:36

GoogleCodeExporter commented 8 years ago
Will definitely add this to the BaseDaoImpl, and potentially add it to the 
General
and Generic Daos.

Original comment by dwolvert on 3 Oct 2009 at 3:41

GoogleCodeExporter commented 8 years ago

Original comment by dwolvert on 3 Oct 2009 at 3:42

GoogleCodeExporter commented 8 years ago
This was added to the base DAOs in 0.5.1. We still need to consider whether to 
expose 
it publicly on all DAOs.

Original comment by dwolvert on 12 Mar 2010 at 4:36

GoogleCodeExporter commented 8 years ago

Original comment by dwolvert on 25 Feb 2011 at 2:02

GoogleCodeExporter commented 8 years ago

Original comment by dwolvert on 2 Oct 2011 at 12:03

GoogleCodeExporter commented 8 years ago

Original comment by dwolvert on 15 Feb 2013 at 1:56