Grails without Hibernate
by Kenneth Kousen
The Grails framework is a set of Groovy domain specific languages (DSLs) on top of two classic Java frameworks Hibernate and the Spring Framework. Grails makes it easy to work with Spring and Hibernate together, using Spring to manage back-end services and Hibernate to handle object-relational mapping (ORM). Sometimes, though, you want to do database operations in Grails that don't come naturally to Hibernate, like calling stored procedures or executing your own SQL. This article discusses ways to work directly with a datasource inside Grails without going through the Hibernate abstraction layer.
About Kenneth Kousen
Author of "Making Java Groovy"
Ken Kousen is the President of Kousen IT, Inc., through which he does technical training, mentoring, and consulting in all areas of Java and XML. He is the author of the O'Reilly screencast "Up and Running Groovy", and the upcoming Manning book about Java/Groovy integration, entitled "Making Java Groovy".
He has been a tech reviewer for several books on software development. Over the past decade he's taught thousands of developers in business and industry. He is also an adjunct professor at the Rensselaer Polytechnic Institute site in Hartford, CT. His academic background includes two BS degrees from M.I.T., an MS and a Ph.D. from Princeton, and an MS in Computer Science from R.P.I.