Grails Persistence with GORM and GSQL (Paperback)

Robert Fischer

  • 出版商: Apress
  • 出版日期: 2009-04-01
  • 售價: $1,030
  • 貴賓價: 9.5$979
  • 語言: 英文
  • 頁數: 156
  • 裝訂: Paperback
  • ISBN: 1430219262
  • ISBN-13: 9781430219262
  • 相關分類: RubySQL




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 is this book 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.