Version | Date | Description |
---|---|---|
1.3.4 | 2011-01-09 | Adjust log messages, DataSourceInspector, TransactionBoundaryDao. |
1.3.3 | 2010-11-28 | Add base classes helping with services. |
1.3.2 | 2010-10-17 | Fix log messages. Use new parent version. |
1.3.1 | 2010-09-03 | Add countAll(). |
1.3.0 | 2010-04-04 | Use new parent POM, sign jar, JpaDao interface, Hibernate DAO, refactor package, test adapters. |
1.2.1 | 2010-04-03 | Add runQueryWithSingleResult(). |
1.2.0 | 2010-01-10 | Fix log of array, POM deps, externalize getEntityManager(). |
1.1.0 | 2009-11-04 | Change package, add locking and pagination support. |
1.0.0 | 2009-11-01 | First release with simple JPA support |
Type | Changes | By |
---|---|---|
Update to new parent POM version. | jeffjensen | |
Add TransactionBoundaryDao class, particularly useful in functional/integration tests. Uses Spring @Transactional annotation. | jeffjensen | |
Add DataSourceInspector class, useful as a data object for displaying database config info. NOTE: uses DataSourceMetadata class in sidaof-domain module. | jeffjensen | |
Adjust 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 |
Type | Changes | By |
---|---|---|
Added AbstractDaoService, AbstractJpaDaoService, AbstractHibernateDaoService classes. | jeffjensen |
Type | Changes | By |
---|---|---|
Update to new parent POM version. | jeffjensen | |
Fix logging of exceptions in two log statements. | jeffjensen |
Type | Changes | By |
---|---|---|
Add JPA and Hibernate interface adapters to ease DAO test stubs creation. | jeffjensen | |
Move JPA classes to their own package. Breaks backwards compatibility. Fix - update imports. | jeffjensen | |
Add initial implementation of Hibernate DAO support. | jeffjensen | |
Add 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 | |
Remove (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 | |
Add constructor with parameter that directly sets entity to work on (in addition to no-arg constructor that automatically determines it). | jeffjensen | |
Sign jar on release. | jeffjensen | |
Use new parent POM. | jeffjensen |
Type | Changes | By |
---|---|---|
Add runQueryWithSingleResult() convenience methods for running a single-result query. | jeffjensen |
Type | Changes | By |
---|---|---|
Extract class from JpaDao into AbstractJpaDao to externalize getEntityManager(), enabling easy multiple persistence units. | jeffjensen | |
Update POM to not export unnecessary dependencies. | jeffjensen | |
Add workaround hack for SLF4J to log array correctly. | jeffjensen |
Type | Changes | By |
---|---|---|
Change Java package from org. to net.sf to match SourceForge hosting for Maven Central sync. | jeffjensen | |
Add locking ability to DAO get/findById methods. | jeffjensen | |
Add findAll method to use with pagination. | jeffjensen | |
Add persist method of Collection of entities. | jeffjensen |
Type | Changes | By |
---|---|---|
Initial functionality for JPA, docs, hosting, and site setup. | jeffjensen |