Search Postgresql Archives

Re: hibernate + postgresql ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



i has exactly the same discussion with a bunch of java developers over the use of Hibernate with Postgres, and most of them feel that it gives them the ability to write code and not worry about which backend will be plugged in Oracle or postgres or Mysql and any other, if you are using it with something like spring you just need to change a bunch of xml files and you are good to go . i guess its the java school of thought they like to be *platform independent*

On Nov 29, 2007 8:52 PM, Joshua D. Drake <jd@xxxxxxxxxxxxxxxxx> wrote:
Oleg Bartunov wrote:
> Hello,
>
> any exprerience with Hibernate + PostgreSQL ? How does this combination
> is flexible and smart ? Is't possible to tune selected queries ?

In short, it sucks :).

Long description: Hibernate is a mature ORM for Java. It is in use with
PostgreSQL in quite a few installations and even a bunch that we are
responsible for. It does work as well as any ORM can work.

The problem is, its an ORM and ORMs are dumb in there actual ability to
work with any real relational database.

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.


Sincerely,

Joshua D. Drake


>
>     Regards,
>         Oleg
> _____________________________________________________________
> Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
> Sternberg Astronomical Institute, Moscow University, Russia
> Internet: oleg@xxxxxxxxxx, http://www.sai.msu.su/~megera/
> phone: +007(495)939-16-83, +007(495)939-23-83
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
>


---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

              http://archives.postgresql.org/



--
Usama Munir Dar http://linked.com/in/usamadar
Consultant Architect
Cell:+92 321 5020666
Skype: usamadar

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux