Robert Fischer

Java Concurrency Specialist and GORM Expert; Principal, Smokejumper Consulting

Robert Fischer is a multi-language open source developer currently specializing in Groovy in Grails. In the past, his specialties have been in Perl, Java, Ruby, and OCaml. In the future, his specialty will probably be F# or (preferably) a functional JVM language like Scala or Clojure.

Robert is the author of Grails Persistence in GORM and GSQL, a regular contributor to GroovyMag and JSMag, the founder of the JConch Java concurrency library, and the author/maintainer of Liquibase-DSL and the Autobase database migration plugin for Grails.


A Practical Take on GORM
Agile Practices Review: A Tactics Retrospective
Architecting Code for Concurrent Execution: Theory and Practice
Build Smarter, Not Harder
Demystifying Functional Programming: Jargon and Patterns
Grails for the Enterprise
Integrating Groovy Concurrency with Java
Let's Get Serious About Reusability
Polyglot Programming on the JVM
Release and Dependency Management with Ivy
The Concurrency Toolset: JConch, Google Collections, and java.util.concurrent


Grails Persistence with GORM and GSQL (FirstPress)

Unique to the popular Grails web framework is its architecture. While other frameworks are built from the ground up, Grails leverages existing and proven technologies that already have advanced functionality built in. One of the key technologies in this architecture is Hibernate, on top of which Grails builds its GORM (Grails Object Relational Mapping) model layer. This provides Grails a persistence solution.

Published with the developer in mind, firstPress technical briefs explore emerging technologies that have the potential to be critical for tomorrow’s industry. Apress keeps developers one step ahead by presenting key information as early as possible in a PDF of 150 pages or less. Explore the future through Apress with Grails Persistence with GORM and GSQL.

This firstPress book covers Grails persistence with GORM, from defining your first model to the nature of transactions and advanced Hibernate querying. Other APIs and tools such as GSQL (Groovy SQL) are covered as well, as needed, to empower your Grails persistence efforts.

What you’ll learn

  • Extend the Grails web framework into a broader, semi–enterprise framework by including and integrating Hibernate–based Java persistence, known as GORM.
  • Use mappings to customize default behaviors and work with legacy schemas.
  • Use constraints to define your object once and have those constraints enforced both in code and at the database level.
  • Use advanced features of GORM and Hibernate Query Language (HQL) to simplify database querying and report generation.
  • Debug and tune trips for GORM and Hibernate.
  • Fill in the gaps with GSQL.

Who this book is for

This title is for those who have committed to dedicating some time to mastering Grails and are looking to move beyond the basics, and are especially interested in Grails and Groovy persistence for some limited transaction handling and/or accessing databases.

Table of Contents

  1. Defining the Model in GORM
  2. Customizing GORM Mapping and Enforcing Data Integrity
  3. Querying with GORM and HQL
  4. GORM Usage in Grails
  5. Filling in the Gaps with Groovy SQL and Spring’s JDBC Support