Forum: Ruby on Rails Interesting ActiveRecord vs Hibernate article

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ken K. (Guest)
on 2006-05-04 16:38
(Received via mailing list)
_______________________________________________
Rails mailing list
removed_email_address@domain.invalid
http://lists.rubyonrails.org/mailman/listinfo/rails
Alex Y. (Guest)
on 2006-05-04 17:27
(Received via mailing list)
Ken K. wrote:
> For those haven't seen it yet, Patrick Peak has an interesting article
> at the Server Side (www.theserverside.com
> <http://www.theserverside.com>) discussing the differences between the
> Hibernate (www.hibernate.org <http://www.hibernate.org>) peristence
> framework and ActiveRecord.  The article can be found here:
> http://www.theserverside.com/articles/article.tss?... .
> Patrick Peak is the author of _Hibernate Quickly_ (Manning), which I
> didn't find particularly readable, but he definitely knows his stuff.
>
> Just thought you might like to know,
Interesting.  One bit I'm not sure of:

> # Altered query for @minersWithSqA
> <%= miner.square_area %>

Is this ever true?  Doing that query doesn't stop me from calling
miner.gold_claim.square_area.

He also makes the claim that Rails can't not do lazy loading, which
seems to ignore the :include option to AR::Base#find.  Then again, it
does have a publication date of over a year ago, so I guess it may have
been true then.  It would be *really* nice to know which versions he was
comparing.
This topic is locked and can not be replied to.