Hades

Overview

Hades is a utility library to work with Data Access Objects implemented with Spring and JPA. The main goal is to ease the development and operation of a data access layer in applications.

To get a first impression of what the library can do for you, you should read the Quickstart or the Rationale. A good next step might be reading through the hades-reference.pdf.

Features

  • Implementation of CRUD methods for JPA Entities
  • Transparent triggering of JPA queries by finder methods
  • Dynamic query generation from finder method names
  • Implementation domain base classes providing basic properties
  • Support for transparent auditing (created, last changed)
  • Possibility to integrate custom DAO code
  • Easy Spring integration with custom namespace
  • Eclipse plugin to integrate with Spring IDE
  • OSGi ready bundles and sample application

Downloads

Maven integration

After that integrating Hades is just a matter of declaring the dependency (for 2.x use 2.0.0.RC2 as version):

1 <dependency>
2     <groupId>org.synyx.hades</groupId>
3     <artifactId>org.synyx.hades</artifactId>
4     <version>1.5.1</version>
5 </dependency>

Make sure you add the persistence provider of your choice, too.

Whereas the release versions of Hades are available via Maven central, you might want to add our snapshot repository in case you want to try out new features.

To use Hades in your Maven project you need to add Synyx Maven repository to your list of repositories:

1 <repository>
2     <id>sonatype-snapshots</id>
3     <name>Sonatype snapshot repository</name>
4     <url>http://oss.sonatype.org/content/repositories/snapshots</url>
5 </repository>

Further documents

hades-reference.pdf - Reference documentation (242.3 KB) Oliver Gierke, 06/22/2010 08:06 pm

Also available in: HTML TXT