File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
I agree. Here's the link:
subject: ORM Frameworks
The Life without EJB
Updation of child table.
Detach Before Transaction Completes
Confused about ORM tool selection.
Recommend a framework.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014