Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Oct 31, 2000
Aug 31, 2010 20:34:27
Does your book mention any pitfalls or antipatterns related ORM frameworks such as Hibernate.
SCJP 1.5, SCEA, ICED (287,484,486)
Joined: Aug 02, 2010
Aug 31, 2010 21:20:22
Hi Anil, your question is related to the question Wouter asked earlier.
I have a chapter describing how some ORM users confuse "model" with "table," and this confusion impacts their application design. Martin Fowler calls this the
Anemic Domain Model
The confusion between model and table is pretty common in the Ruby, PHP, Python, and Perl developer communities, but I haven't found this to be as much of a problem in the Java community.
My advise is to decouple the model from the database access object. Treat them as two separate objects.
Bill Karwin is the author of
SQL Antipatterns: Avoiding the Pitfalls of Database Programming
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: ORM Frameworks
The Life without EJB
Confused about ORM tool selection.
Recommend a framework.
Detach Before Transaction Completes
Updation of child table.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013