A Java library for database access using Spring, JPA, and Hibernate

  • Provides generic base classes for JPA entities and DAOs, as suggested in various places.
  • Provides an efficient means of storing tree structures in a database, using a nested set representation based on Farey fractions developed by Vadim Tropashko.

Documentation

Download

Maven is by far the easiest way to make use of springjpautils. Just add these to your pom.xml:

<repositories>
	<repository>
		<id>dev.davidsoergel.com releases</id>
		<url>http://dev.davidsoergel.com/artifactory/repo</url>
		<snapshots>
			<enabled>false</enabled>
		</snapshots>
	</repository>
	<repository>
		<id>dev.davidsoergel.com snapshots</id>
		<url>http://dev.davidsoergel.com/artifactory/repo</url>
		<releases>
			<enabled>false</enabled>
		</releases>
	</repository>
</repositories>

<dependencies>
	<dependency>
		<groupId>com.davidsoergel</groupId>
		<artifactId>springjpautils</artifactId>
		<version>0.9</version>
	</dependency>
</dependencies>

If you really want just the jar, you can get it here: springjpautils-0.9.jar (x KB) May 9, 2008

Or get the latest stable build from the continuous integration server.

You can also browse the source, or get the source with svn:

svn co http://svn.davidsoergel.com/repos/springjpautils/trunk springjpautils

Support