Re:Bringing Ruby's ActiveRecord to Java
by minalecs on Monday March 28, 2011 @06:56PM
(#2380495)
from programming interface, the new Active Record Query Interface 3, is very similar to HIbernate Criteria API. I wish they could of been more specific on what issues they had with Hibernate. Other than that the comments about dynamic creation are correct. In Hibernate they try to create the idea that you're object model doesn't need to be a 1:1 model with your data model.
[ Parent
| on HN ]
Re:Bringing Ruby's ActiveRecord to Java
by famousactress on Monday March 28, 2011 @10:23PM
(#2381075)
Oh! of course.. that's definitely a really good point. Hibernate's HQL.. Frankly, I never got much use of Hibernate's Criteria stuff.. was always a second class citizen compared to HQL, other than for certain use cases that really demanded dynamic query building.
Even Django's ORM runs circles around Criteria.. in fact, the API design of the Django stuff is the one thing that I think really shines about it..