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


Data Bases > Pgsql Interfaces Jdbc > Re: Non-ORM lay...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 10 Topic 1905 of 2089
Post > Topic >>

Re: Non-ORM layers over JDBC

by Stephen.Denne@[EMAIL PROTECTED] ("Stephen Denne") Mar 25, 2008 at 09:57 AM

Craig Ringer wrote
> I'm fairly new to Java (sorry!) and struggling with the=20
> database access=20
> area. My PostgreSQL database is fairy complex and significant=20
> parts of=20
> its user interface are through stored procedures etc. I've=20
> been looking=20
> into Hibernate / Hibernate EntityManager and other EJB3-compatible=20
> tools, but they all seem to be oriented toward=20
> database-independence and=20
> using the DB as a dumb storage engine. They even implement their own=20
> outer joins (!) and other core DB functionality. Currently=20
> I'm trying to=20
> figure out why a "SELECT c FROM customer c;" (Hibernate-style) is=20
> introducing a WHERE clause for on the customer's bank_id when=20
> executed=20
> ... so I'm not impressed so far.

A lot of ORMs are designed for ease of persisting objects, not ease of
real=
ising databases.

Though I haven't used it, so can't guess whether it would be a good match
f=
or your needs or not... one tool I think may make the database to object
ma=
pping easier is ActiveObjects.

> However, I've also looked at raw JDBC code, and it seems to be very=20
> verbose with a lot of manual data conversion and little language=20
> integration.

I use and quite like Spring-JDBC. Among other things, it makes JDBC use
muc=
h less verbose.

In Java, a lot of projects use some form of data-binding between their GUI
=
and Objects, then an ORM to persist those Objects to a DB.

Regards,
Stephen Denne.

Disclaimer:
At the Datamail Group we value team commitment, respect, achievement,
custo=
mer focus, and courage. This email with any attachments is confidential
and=
 may be subject to legal privilege.  If it is not intended for you please
a=
dvise by reply immediately, destroy it and do not copy, disclose or use it
=
in any way.
__________________________________________________________________
  This email has been scanned by the DMZGlobal Business Quality
              Electronic Messaging Suite.
Please see http://www.dmzglobal.com/dmzmessaging.htm
for details.
__________________________________________________________________



-
Sent via pgsql-jdbc mailing list (pgsql-jdbc@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
 




 10 Posts in Topic:
Non-ORM layers over JDBC
craig@[EMAIL PROTECTED]   2008-03-24 14:45:05 
Re: Non-ORM layers over JDBC
davidclark@[EMAIL PROTECT  2008-03-24 09:53:11 
Re: Non-ORM layers over JDBC
craig@[EMAIL PROTECTED]   2008-03-25 02:40:55 
Re: Non-ORM layers over JDBC
pg@[EMAIL PROTECTED] (Da  2008-03-24 22:18:59 
Re: Non-ORM layers over JDBC
Stephen.Denne@[EMAIL PROT  2008-03-25 09:57:24 
Re: Non-ORM layers over JDBC
craig@[EMAIL PROTECTED]   2008-03-25 10:01:26 
Re: Non-ORM layers over JDBC
petite.abeille@[EMAIL PRO  2008-03-26 20:28:12 
Re: Non-ORM layers over JDBC
halset@[EMAIL PROTECTED]   2008-03-26 11:21:45 
Re: Non-ORM layers over JDBC
petite.abeille@[EMAIL PRO  2008-03-26 20:48:10 
Re: Non-ORM layers over JDBC
mark.lewis@[EMAIL PROTECT  2008-03-26 08:15:54 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Sat Nov 22 6:15:57 CST 2008.