Grails Persistence with GORM and GSQL

By Robert Fischer

Grails Persistence with GORM and GSQL Cover Image

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.

Full Description

  • ISBN13: 978-1-4302-1926-2
  • User Level: Beginner to Advanced
  • Publication Date: April 27, 2009
  • Available eBook Formats: PDF
  • Print Book Price: $29.99
  • eBook Price: $20.99
Buy eBook Buy Print Book Add to Wishlist

Related Titles

Full Description

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

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
Errata

Please Login to submit errata.

No errata are currently published