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 6 of 10 Topic 1905 of 2028
Post > Topic >>

Re: Non-ORM layers over JDBC

by craig@[EMAIL PROTECTED] (Craig Ringer) Mar 25, 2008 at 10:01 AM

Stephen Denne wrote:

> I use and quite like Spring-JDBC. Among other things, it makes JDBC use
much less verbose.

Yes, that looks very interesting, and much closer to what I'm after than
Hibernate, Toplink, etc.

Spring looks a bit like the Boost of the Java world, and it's a good
thing to know about in general.

> 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.

Yep, I got that impression. Most of them seem to be coming from the
opposite side to me, though - "I have a Java application that needs data
persistence" as opposed to "I have a database I need to provide a user
interface to". The former tends to lead to the desire for database
****tability and a Java layer hiding the database; the latter makes
direct SQL database access with usable language interfaces more desirable.

The difference results in rather different design choices and needs,
making most of the ORM stuff fairly unattractive to me. In particular,
don't want the database specifics hidden. I'm already utterly tied to
PostgreSQL (but not to Java) and DB ****tability is just a limiting
annoyance. Perhaps if I'd started with a 3-tier design with a Java
application server it'd be different, but in the design as it stands the
database is very much the core with much of the "business logic" and
re****ting smarts in PL/PgSQL. I'm not a fan of introducing an
essentially spurious middle layer or dumbing down my database use to
database-****table levels, so the ORM tools aren't too attractive.

Unfortunately the vast majority of the information out there approaches
database with Java from the java-centric rather than database-centric
angle, making it hard to find out about the sort of tools I'm after.

Thanks so much for the tip about Spring-JDBC . It looks pretty good.

--
Craig Ringer


-- 
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 Sun Sep 7 1:42:39 CDT 2008.