aspose file tools*
The moose likes Groovy and the fly likes GORM Vs Hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Languages » Groovy
Bookmark "GORM Vs Hibernate" Watch "GORM Vs Hibernate" New topic
Author

GORM Vs Hibernate

Mourouganandame Arunachalam
Ranch Hand

Joined: Oct 29, 2008
Posts: 396
Hi Jon,

I believe Grails internally using hibernate 3 for GORM. I read from Grails site that, its also possible to direct integration with hibernate.

What is the actual difference between these two approaches?

Which is one more beneficial?


Mourougan
Open Source leads to Open Mind
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15292
    
    6

I think what you probably actually read was that you have the ability to gain direct access to the hibernate API if you need to. It's not that you'd normally choose one over the other. You use GORM for 95% of everything you do. For that 5% where GORM just isn't cutting it you can gain access to the hibernate session, write your own queries, whatever. But only if you need to.


GenRocket - Experts at Building Test Data
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: GORM Vs Hibernate
 
Similar Threads
How spring 3 compared to Grails - not in complicated terms, I am asking as a beginner
How to integrate flex with grails?
Standalone GORM
Question on GORM
groovy vs grails