Oliver Drotbohm

Oliver Drotbohm

Oliver Drotbohm has been a member of the Spring open source engineering team for 15 years. His work focused on software architecture, DDD, REST, and persistence technologies.

Recent Blog posts by Oliver Drotbohm

Spring Data MongoDB 1.0.1 GA released

Releases | February 15, 2012 | ...

On the way to Spring IO conference I'd like to announce the availability of Spring Data MongoDB 1.0.1. It's mainly a bug fix release covering a few glitches found in the first major release. We've fixed some issues in entity mapping, query execution and added a converter for UUIDs out of the box.

Downloads | JavaDocs | Reference Documentation | Changelog

The release is available from our Maven repository and from Maven Central as well. To learn more about the project, visit the Spring Data MongoDB Page. Looking forward to your feedback on the forum or in the issue tracker.

Spring Data JPA 1.1.0 RC1 and 1.0.3 GA released

Releases | February 09, 2012 | ...

Dear Spring Community,

I am happy to announce the release of Spring Data JPA 1.1.0 RC1 as well as 1.0.3 GA. The release candidate includes a ton of new features and a variety of bug fixes. Here's a brief list of the most important ones:

  • Support for locking
  • Support for @IdClass in entities
  • Support for LessThanEqual and GreaterThanEquals, True/False keywords in query methods
  • Added CDI integration for repositories
  • Improved parameter binding for derived queries for null values

The CDI integration was contributed by Dirk Mahler of Buschmais to a large degree. For a full list of changes see the changelog. Quite a few of the bugs fixed were back ported so we definitely recommend to upgrade to 1.0.3 as well as playing with the release candidate to help improving the final release. The 1.0.3 GA release can be obtained from Maven central while the release candidate is available via our milestone repository at http://repo.springsource.org/libs-milestone

Spring Data MongoDB 1.0 GA released

Releases | December 22, 2011 | ...

Dear Spring Community,

to go on with SpringSource Christmas presents I'd like to announce the availability of Spring Data Mongo 1.0 GA. The release marks the end of a long road to the first step of developing sophisticated data access using a MongoDB datastore. The overall feature set includes:

  • MongoTemplate to simplify performing common Mongo operations, including map-reduce and geo spatial queries
  • Spring namespace to configure MongoDB instances, replica sets and JMX monitoring
  • MongoConverter for domain class mapping and persistence
  • Spring Data repositories support
  • MongoDB Log4j appender
  • Cross-store persistance - support for JPA Entities with fields transparently persisted/retrieved using MongoDB
  • Java based Query, Criteria, and Update DSLs
  • QueryDSL integration

Part of that release is the release of Spring Data Commons 1.2 GA which contains most of the core functionality of the high-level functionality such as entity mapping and repository abstraction. Note that we will remove the Spring Data Document repository from GitHub as we moved it to the Spring Data…

Spring Data JPA 1.0.2 released

Releases | December 06, 2011 | ...

Dear Spring Community,

I'd like to announce the release of Spring Data JPA 1.0.2.RELEASE. The release includes the following improvements and fixes:

  • Fixed query creation for Comparable values (DATAJPA-99)
  • Fixed alias detection when entity name contained number (DATAJPA-110)
  • SimpleJpaRepository's deleteAll() does not call em.clear() anymore (DATAJPA-111)
  • Upgraded to Querydsl 2.2.5 (DATAJPA-102, DATAJPA-115)
  • Fixed auditor mappings in AbstractAuditable (DATAJPA-120)
  • Consolidate Expression creation for property references and sort orders (DATAJPA-103)
  • Fixed dependency injection in QueryDslRepositorySupport (DATAJPA-113)

Downloads | JavaDocs | Reference Documentation | Changelog

To learn more about the project, visit the Spring Data JPA Page. Looking forward to your feedback on the forum or in the issue tracker.

Spring Data JPA 1.0.1 and 1.1.0.M1 released

News | September 06, 2011 | ...

Dear Spring Community,

On the heels of the Spring Data MongoDB 1.0.0.M4 release I'd like to announce the availability of Spring Data JPA 1.0.1 and 1.1.0.M1. The point release contains a variety of bugfixes listed in the changelog. The first milestone of the 1.1 train contains these bug fixes as well of course, adds IgnoreCase as keyword for the query parser and allows users to use that version alongside Spring Data MongoDB 1.0.0.M4 as they both refer to the same version of Spring Data Commons.

Beyond that we ship a ton of bug fixes and improvements mostly around the mapping subsystem and performance. For a detailed list of tickets fixed have a look at the changelog

Spring Data MongoDB 1.0.0 M4 released

News | September 02, 2011 | ...

Dear Spring Community,

I am pleased to announce the availability of Spring Data MongoDB 1.0.0 M4. Here are the most important features added:

  • Support for map-reduce operations in MongoTemplate
  • Provided means to use externalized queries to be executed by repositories
  • Support for geoNear queries on MongoTemplate and the repositories
  • New DocumentCallbackHandler interface on MongoTemplate
  • A DB wide WriteConcern can now be configured on the SimpleDbFactory
  • A WriteConcern configurable on MongoFactoryBean
  • Added a QuerydslRepositorySupport base class to ease implementing Querydsl based repositories
  • Configurable TypeMapper interface to control how type information is written and retrieved to and from Mongo documents

Beyond that we ship a ton of bug fixes and improvements mostly around the mapping subsystem and performance. For a detailed list of tickets fixed have a look at the changelog.

Downloads | JavaDocs | Reference Documentation | Changelog

To learn more about the project, visit the Spring Data MongoDB Page. Looking forward to your feedback on the forum or in the issue tracker.

Fine-tuning Spring Data repositories

Engineering | July 27, 2011 | ...

It's only been a few days only since we've released Spring Data JPA 1.0 GA which is the first major version of a Spring Data project shipping with an implementation of the repository abstraction inside our Spring Data Commons module. The repository abstraction consists of three major parts: defining a repository interface, exposing CRUD methods and adding query methods. Adding query methods was discussed in detail in the first Spring Data JPA blog post. But defining a repository interface and exposing CRUD methods triggered quite some questions in earlier blog posts. That's why will have a…

Spring Data JPA 1.0 GA released

Releases | July 21, 2011 | ...

Dear Spring Community,

we are pleased to announce that the first final release of the Spring Data JPA project is now available! Thank you to all of the early adopters who have helped shaping and strengthening the codebase. To easily get started feel free to dig through the sample code or read up the reference documentation.

<dependency>
    <groupId>org.springframework.data</groupId>
    <artifactId>spring-data-jpa</artifactId>
    <version>1.0.0.RELEASE</version>
</dependency>

<repository>
    <id>org.springframework.maven.release</id>
    <name>Spring Maven Release Repository</name>
    <url>http://maven.springframework.org/release</url>
</repository>

The release will also be available in Maven Central as well.

Download | JavaDocs | Reference documentation (HTML) | Reference documentation (PDF) | Changelog

Looking forward to your feedback in the forums or the issuetracker.

Advanced Spring Data JPA - Specifications and Querydsl

Engineering | April 26, 2011 | ...

In my last blog post I introduced the basic feature set of Spring Data JPA. In this post I'd like to dive into some more features and how they can help you simplify data access layer implementation even further. The Spring Data repository abstraction consists of an interface based programming model, some factory classes and a Spring namespace to easily configure the infrastructure. A typical repository interface looks something like this:

public interface CustomerRepository extends JpaRepository<Customer, Long> {

  Customer findByEmailAddress(String emailAddress);

  List<Customer…

Spring Data JPA 1.0.0.M2 released

Releases | March 24, 2011 | ...

Dear Spring Community,

we are pleased to announce that the second milestone release of the Spring Data JPA project is now available! The release includes:

  • Support for Querydsl predicates and thus type-safe JPA queries
  • Validation of @Query annotated queries at bootstrap time
  • Support for XML based entity mapping
  • Support for Distinct, In and NotIn keywords in query methods
  • Ported Hades extensions into Spring Data Commons core
  • Various bugfixes.
<dependency>
    <groupId>org.springframework.data</groupId>
    <artifactId>spring-data-jpa</artifactId>
    <version>1.0.0.M2</version>
</dependency>

<repository>
    <id>org.springframework.maven.milestone</id>
    <name>Spring Maven Milestone Repository</name>
    <url>http://maven.springframework.org/milestone</url>
</repository>

Download | JavaDocs | Reference documentation (HTML) | Reference documentation (PDF) | Changelog

Looking forward to your feedback in the forums or the issuetracker.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all