views:

247

answers:

3

I like Active Record but many say it's bad in performance compared to Hibernate. There should be some good article out there but google can't help me.

+1  A: 

I'm not sure what you mean? Active Record is a design pattern and Hibernate is a framework.

Do you mean comparing rails to hibernate w/java?

Keith Fitzgerald
I mean concept of Active Record compare to concept of Hibernate
Bank
+2  A: 

If what you want is to compare Active Record (Rails) and Data Mapper (Hibernate), the 'Data Source Architectural Patterns' chapter from Patterns of Enterprise Application Architecture is a good place to start.

It explains clearly the concepts behind these patterns and when to use each one, but doesn't discuss specific implementations like Rails or Hibernate.

Jorge Villuendas
A: 

I think he refers to NHibernate and Castle ActiveRecord. Castle ActiveRecord is built upon NHibernate, and should result in similar performance.

Orentet