Class GenericHibernateAccessor

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> void delete​(T entity)  
      <T> void deleteAll​(java.lang.Class<T> clazz)  
      <T> void deleteAll​(java.util.Collection<T> entities)  
      <T> java.util.List<T> executeNativeQuery​(java.lang.String sql, java.util.Map<java.lang.String,​java.lang.Object> parameterMap)
      Executes a native SQL query.
      <T> java.util.List<T> find​(java.lang.String query)  
      <T> java.util.List<T> find​(java.lang.String query, java.lang.Object... values)  
      <T> java.util.List<T> findAll​(java.lang.Class<T> entityClass)  
      java.util.List findMatching​(Criteria criteria)  
      <T> java.util.List<T> findUsingNamedParameters​(java.lang.String query, java.lang.String[] paramNames, java.lang.Object[] values)  
      <T> java.util.List<T> findUsingNamedParameters​(java.lang.String query, java.lang.String[] paramNames, java.lang.Object[] values, java.lang.Integer offset, java.lang.Integer limit)  
      <T> T get​(java.lang.Class<T> entityType, java.io.Serializable entityId)  
      <T> T save​(T entity)  
      <T> void saveAll​(java.util.Collection<T> entities)  
      <T> void update​(T entity)  
      • Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport

        checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
      • Methods inherited from class org.springframework.dao.support.DaoSupport

        afterPropertiesSet, initDao
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait