Announcing Grails GORM 5 Suite

Announcing Grails GORM 5 Suite

Grails Cofounder, Graeme Rocher, has announced the availability of the first release candidate of GORM 5 Suite.

GORM 5 is a ground-up rewrite of GORM for Grails, based on Groovy Traits and AST transformations. In addition there are exciting new features in GORM 5. The new feature details are as follows:

Hibernate 5

GORM for Hibernate now supports Hibernate 3, 4 and (the latest release) 5.

The internal implementation has been rewritten based on Groovy traits and is further decoupled from Grails, enabling better use outside of Grails or standalone.

Neo4j

GORM for Neo4j has been completely rewritten and supports the latest Neo4j 2.3.x release as a baseline.

Leveraging Cypher and supporting all of the key features of GORM, Grails users can now trivially map their domain models to a Neo4j graph.

GORM and Groovy are a perfect fit for Neo4j’s schemaless design and graph model.

MongoDB

GORM for MongoDB has been rewritten on top of the MongoDB 3.x driver. Most current object mapping tools (including previous versions of GORM) convert MongoDB Document objects to and from Java objects, which is hugely inefficient.

With GORM for MongoDB 5, GORM leverages the driver’s CodecRegistry concept to natively read Java objects, avoiding this conversion and dramatically improving query performance.

Cassandra

GORM for Cassandra has been made Grails 3.x compatible and supports the latest Cassandra driver’s from Datastax.

GORM for Cassandra can now also be used standalone or in a Spring Boot application.

Grails 2, Grails 3, & Spring Boot

GORM 5 comes with releases for Grails 2 (minus Hibernate 5 support), Grails 3.x and Spring Boot, as well as supporting standalone usage. This means whatever environment you choose to develop in, GORM support is available.

New Website & Documentation

To help you get started, there is a new website available with links to documentation on how to use GORM.

The Future

GORM is a critical part of the Grails framework and has matured into a general purpose data technology supporting a broad range of relational and non-relational data.

GORM 5 GA will ship with Grails 3.1 GA, and we plan to add exciting new features to GORM in the coming year, including:

  • GORM Async - Asynchronous support for the drivers that support it
  • GORM REST - Rewritten REST client based on GORM Async
  • GORM HBase - GORM for Hadoop HBase

If you would like to hear more about this and other G&G topics and news, join Graeme Rocher and several other members of the growing Grails team at OCI at Grails Exchange. Hope to see you there!


Read Graeme's original post here.