Re: hibernate + postgresql ?

From: David Fetter <david(at)fetter(dot)org>
To: Luca Ferrari <fluca1978(at)infinito(dot)it>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: hibernate + postgresql ?
Date: 2007-12-01 15:17:20
Message-ID: 20071201151719.GX27157@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Nov 30, 2007 at 08:10:11AM +0100, Luca Ferrari wrote:
> On Thursday 29 November 2007 Joshua D. Drake's cat, walking on the keyboard,
> wrote:
> > If you are not lazy you can push outside the standard hibernate
> > methods and produce very usable code but then you have to wonder
> > why you have hibernate there at all.
>
> What do you mean with this? I think ORM could save developers' time
> especially when there are a lot of relationships among objects, that
> should be manually mapped thru SQL statements.

You'd only think so if you hadn't actually seen these things in
action. They save no time because of the silly, unreasonable
assumptions underlying them, which in turn cause people to do silly,
unreasonable things in order to make them "work."

> Now what do you mean with "push outside hibernate methods"? You
> write the each SQL statement or simply skip some Hibernate
> facilities?

You'll wind up writing each SQL statement anyway, so just start out
with that rather than imagining that a piece of software can pick the
appropriate level of abstraction and then finding out that it can't. :)

Cheers,
David.
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rainer Bauer 2007-12-01 16:09:43 Re: Cluster using tablespaces?
Previous Message Pascal Cohen 2007-12-01 14:02:33 Re: HA and Replication - how to choose among all the available solutions