sidaof - Simple DAO Framework

Release History

VersionDateDescription
1.3.42011-01-09Adjust log messages, DataSourceInspector, TransactionBoundaryDao.
1.3.32010-11-28Add base classes helping with services.
1.3.22010-10-17Fix log messages. Use new parent version.
1.3.12010-09-03Add countAll().
1.3.02010-04-04Use new parent POM, sign jar, JpaDao interface, Hibernate DAO, refactor package, test adapters.
1.2.12010-04-03Add runQueryWithSingleResult().
1.2.02010-01-10Fix log of array, POM deps, externalize getEntityManager().
1.1.02009-11-04Change package, add locking and pagination support.
1.0.02009-11-01First release with simple JPA support

Release 1.3.4 - 2011-01-09

TypeChangesBy
updateUpdate to new parent POM version.jeffjensen
addAdd TransactionBoundaryDao class, particularly useful in functional/integration tests. Uses Spring @Transactional annotation.jeffjensen
addAdd DataSourceInspector class, useful as a data object for displaying database config info. NOTE: uses DataSourceMetadata class in sidaof-domain module.jeffjensen
updateAdjust log logic and message levels for handleQueryException method in AbstractJpaDao and AbstractHibernateDao classes so verbose exception stacktrace not logged when potentially expecting entity not found.jeffjensen

Release 1.3.3 - 2010-11-28

TypeChangesBy
addAdded AbstractDaoService, AbstractJpaDaoService, AbstractHibernateDaoService classes.jeffjensen

Release 1.3.2 - 2010-10-17

TypeChangesBy
updateUpdate to new parent POM version.jeffjensen
fixFix logging of exceptions in two log statements.jeffjensen

Release 1.3.1 - 2010-09-03

TypeChangesBy
addAdd countAll() methods to JPA and Hibernate DAOs.jeffjensen

Release 1.3.0 - 2010-04-04

TypeChangesBy
addAdd JPA and Hibernate interface adapters to ease DAO test stubs creation.jeffjensen
addMove JPA classes to their own package. Breaks backwards compatibility. Fix - update imports.jeffjensen
addAdd initial implementation of Hibernate DAO support.jeffjensen
addAdd an interface for JPA DAO. Note, this renames concrete class JpaDao to JpaDaoImpl and makes JpaDao the interface. Breaks backwards compatibility for classes extending JpaDao. Easy fix - just change the extend from JpaDao to JpaDaoImpl.jeffjensen
updateRemove (rarely used) get* methods that throw exception when entity not found, folding functionality into find* methods with a parameter. Hibernate's get method returns null and does not throw an exception when entity not found (its load method does this). This is confusing to Hibernate users, so made the change.jeffjensen
addAdd constructor with parameter that directly sets entity to work on (in addition to no-arg constructor that automatically determines it).jeffjensen
addSign jar on release.jeffjensen
addUse new parent POM.jeffjensen

Release 1.2.1 - 2010-04-03

TypeChangesBy
addAdd runQueryWithSingleResult() convenience methods for running a single-result query.jeffjensen

Release 1.2.0 - 2010-01-10

TypeChangesBy
addExtract class from JpaDao into AbstractJpaDao to externalize getEntityManager(), enabling easy multiple persistence units.jeffjensen
fixUpdate POM to not export unnecessary dependencies.jeffjensen
fixAdd workaround hack for SLF4J to log array correctly.jeffjensen

Release 1.1.0 - 2009-11-04

TypeChangesBy
updateChange Java package from org. to net.sf to match SourceForge hosting for Maven Central sync.jeffjensen
addAdd locking ability to DAO get/findById methods.jeffjensen
addAdd findAll method to use with pagination.jeffjensen
addAdd persist method of Collection of entities.jeffjensen

Release 1.0.0 - 2009-11-01

TypeChangesBy
addInitial functionality for JPA, docs, hosting, and site setup.jeffjensen