Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Databases > Re: Class desig...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 7 of 7 Topic 3595 of 3876
Post > Topic >>

Re: Class design for DB code

by Andrey <andrey_ryabov@[EMAIL PROTECTED] > Nov 30, 2007 at 07:40 AM

> wouldn't an object-relational mapping approach, such as hibernate,
toplink,
> etc., provide for an even greater degree of transparency, a lot less
code, and
> practically no SQL (because the SQL is auto-generated)?  in addition, to
> minimize db management code even further, i would think using aspects
(e.g.,
> aspectj) to treat persistence as a cross-cutting concern would further
> reduce the amount of code to be written, simplify that which does have
to be
> written, and centralize all the persistence code so that it's easier to
manage
> and guaranteed to be applied consistently.

ORMs such as toplink and hibernate suffice only for simple projects.
Complicated issues such as security, caching, clustering, partitioning
and others make them inconvenient for complex projects. The more
control you have on your data the better. As for SQL, sometimes to
write SQL is simpler then HQL.
 




 7 Posts in Topic:
Class design for DB code
"Durango2008" &  2007-11-18 05:27:23 
Re: Class design for DB code
Andrey Ryabov <andrey_  2007-11-17 23:42:18 
Re: Class design for DB code
David Harper <devnull@  2007-11-18 07:54:55 
Re: Class design for DB code
Andrey Ryabov <andrey_  2007-11-17 23:55:20 
Re: Class design for DB code
Andrey Ryabov <andrey_  2007-11-18 00:14:07 
Re: Class design for DB code
Doug Morse <morse@[EMA  2007-11-20 13:24:29 
Re: Class design for DB code
Andrey <andrey_ryabov@  2007-11-30 07:40:05 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 21:57:57 CST 2008.