Re: OpenJPA love

2007-03-13 Thread Matthieu Riou

The primary reason was the license, Hibernate is LGPL and it's not
compatible with the Apache license. But we've found some other benefits
during the migration.

For us an important one is the good control OpenJPA gives you on the flush.
Theoretically you can do the same thing with Hibernate but practically when
you're in a JTA environment it just flushes whenever it wants (depending on
the queries you execute). If you don't flush exclusively at the end of the
transaction you can very quickly run into very hard to solve deadlocks with
some non MVCC databases (thinking mostly of SQL Server 2000 here).

Cheers,
Matthieu

On 3/12/07, Hans J. Prueller <[EMAIL PROTECTED]> wrote:


Any special reason why you have been migrating from Hibernate to OpenJPA
(in addition to that it is an Apache project)?

regards,
hans

> -Ursprüngliche Nachricht-
> Von: Matthieu Riou [mailto:[EMAIL PROTECTED]
> Gesendet: Dienstag, 13. März 2007 03:33
> An: open-jpa-dev@incubator.apache.org
> Betreff: OpenJPA love
>
> Hi guys,
>
> Just a quick note to let you know we've completed the migration of
Apache
> ODE from Hibernate to OpenJPA. Everything seem to work pretty well now.
I
> expect a few glitches here and there as we run in heavily parallelized
> environments but the transition has been pretty smooth.
>
> Thanks a lot for your help and all the good work!
>
> The ODE team.




AW: OpenJPA love

2007-03-12 Thread Hans J. Prueller
Any special reason why you have been migrating from Hibernate to OpenJPA
(in addition to that it is an Apache project)?

regards,
hans

> -Ursprüngliche Nachricht-
> Von: Matthieu Riou [mailto:[EMAIL PROTECTED]
> Gesendet: Dienstag, 13. März 2007 03:33
> An: open-jpa-dev@incubator.apache.org
> Betreff: OpenJPA love
> 
> Hi guys,
> 
> Just a quick note to let you know we've completed the migration of Apache
> ODE from Hibernate to OpenJPA. Everything seem to work pretty well now. I
> expect a few glitches here and there as we run in heavily parallelized
> environments but the transition has been pretty smooth.
> 
> Thanks a lot for your help and all the good work!
> 
> The ODE team.



OpenJPA love

2007-03-12 Thread Matthieu Riou

Hi guys,

Just a quick note to let you know we've completed the migration of Apache
ODE from Hibernate to OpenJPA. Everything seem to work pretty well now. I
expect a few glitches here and there as we run in heavily parallelized
environments but the transition has been pretty smooth.

Thanks a lot for your help and all the good work!

The ODE team.