RE: Cayenne Transactions

2011-09-14 Thread Durchholz, Joachim
On 14/09/11 9:15 PM, Durchholz, Joachim wrote: >> dropping down to native SQL, > > Moving to SQL will not be one of the changes you'll need to make. Ah, I see I was being unclear. I meant the places where the program drops down to raw SQL. E.g. for importing data from other databases where the a

Re: Cayenne Transactions

2011-09-14 Thread Aristedes Maniatis
On 14/09/11 9:15 PM, Durchholz, Joachim wrote: But getting rid of HQL, dropping down to native SQL, and changing all the Hibernate types to Cayenne types could require a lot of rewriting that don't improve the project in themselves; also, I do have some trepidation that I'll need to rework par

RE: Cayenne Transactions

2011-09-14 Thread Durchholz, Joachim
> I think you misunderstood - there are 1..1 relationships in Cayenne of > course. Phew. > There's no one to one correspondence between Cayenne and Hibernate features > :-) Phew :-))) (Some of Hibernate's features are massive misfeatures IMNSHO.) Re my own status, I was forced to shelve the

Re: Cayenne Transactions

2011-09-14 Thread Andrus Adamchik
On Sep 14, 2011, at 12:18 PM, Durchholz, Joachim wrote: >> if you are looking for 1..1 correspondence, there won't be one > > Oh. That's one difference I missed. > > We do have a one-to-one relationship, with one end optional. > How does one deal with that in Cayenne? I think you misunderstood

RE: Cayenne Transactions

2011-09-14 Thread Durchholz, Joachim
> if you are looking for 1..1 correspondence, there won't be one Oh. That's one difference I missed. We do have a one-to-one relationship, with one end optional. How does one deal with that in Cayenne? > See other replies in this thread. I can only add that Cayenne is as mature as > Hibernate,

Re: Re : Cayenne Transactions

2011-09-13 Thread Andrus Adamchik
gration even though they may have been worded as "no Spring required" :)) > * persistent entities have to inherit from a cayenne object I'd say this is a nice alternative to runtime proxies. > * transactions are made manually and doe not use the standard ones > (javax.tr

Re : Cayenne Transactions

2011-09-13 Thread stéphane Lestoclet
r, and perform >transactions explicitly in code rather than using an AOP approach. I understand that Cayenne works but do you mean that it does not integrate with Spring ? If so, why the Cayenne documentation states the opposite ? Do you also mean that Cayenne Transactions don't work wit

Re: Cayenne Transactions

2011-09-13 Thread Andrus Adamchik
Hi there, See other replies in this thread. I can only add that Cayenne is as mature as Hibernate, and has its own approaches to a set of persistence problems (so if you are looking for 1..1 correspondence, there won't be one). Cayenne most certainly can be and has been integrated with all kind

Re: Cayenne Transactions

2011-09-13 Thread Mike Kienenberger
At one point, there was a Spring with Cayenne example by Andrus. Not sure how dated it is now. https://cwiki.apache.org/CAY/spring-integration-examples.html On Sun, Sep 11, 2011 at 10:41 AM, stéphane Lestoclet wrote: > Hi, > > > The Cayenne documentation states the following : > > Chapter: Und

Re: Cayenne Transactions

2011-09-12 Thread Malcolm Edgar
Please take a look at the example at the bottom of the page: http://cayenne.apache.org/doc20/understanding-transactions.html I use Cayenne in a fairly straight forward manner, and perform transactions explicitly in code rather than using an AOP approach. With regard to Spring integration, Cayenn

Cayenne Transactions

2011-09-11 Thread stéphane Lestoclet
Hi, The Cayenne documentation states the following : Chapter: Understanding Transactions >It works either as a standalone mechanism, or in conjunction with another >transaction framework, such as JTA or Spring.. Could you provide examples for both please ? Actually, I am new to Apache Cayenne

Re: Cayenne Transactions vs MySQL Transactions

2010-10-28 Thread Michael Gentry
about if cayenne implemented these two mechanisms (transactions and locking) > or > just called the proper methods from the DB. > > Thanx a lot > > Bruno > > -Mensagem original- > De: Michael Gentry [mailto:mgen...@masslight.net] > Enviada: quinta-feira,

RE: Cayenne Transactions vs MySQL Transactions

2010-10-28 Thread Bruno René Santos
Oh and yes I'm using INNODB :) Thanx again Bruno -Mensagem original- De: Michael Gentry [mailto:mgen...@masslight.net] Enviada: quinta-feira, 28 de Outubro de 2010 15:16 Para: user@cayenne.apache.org Assunto: Re: Cayenne Transactions vs MySQL Transactions 1) Cayenne does a

RE: Cayenne Transactions vs MySQL Transactions

2010-10-28 Thread Bruno René Santos
ms (transactions and locking) or just called the proper methods from the DB. Thanx a lot Bruno -Mensagem original- De: Michael Gentry [mailto:mgen...@masslight.net] Enviada: quinta-feira, 28 de Outubro de 2010 15:16 Para: user@cayenne.apache.org Assunto: Re: Cayenne Transactions vs MySQL Tran

Re: Cayenne Transactions vs MySQL Transactions

2010-10-28 Thread Michael Gentry
lo all, > > > > First, sorry about so many doubts in so little time, but I’m trying to decide > how to do some things on my application concerning cayenne. So adding to my > previous doubts, here goes some more doubts: > > > > 1.       Do cayenne transactions guarantee cons

Cayenne Transactions vs MySQL Transactions

2010-10-28 Thread Bruno René Santos
Hello all, First, sorry about so many doubts in so little time, but I’m trying to decide how to do some things on my application concerning cayenne. So adding to my previous doubts, here goes some more doubts: 1. Do cayenne transactions guarantee consistency as MySQL transactions

Re: Cayenne Transactions

2008-03-06 Thread Malcolm Edgar
ns" in the Modeler. > > Andrus > > > > On Mar 6, 2008, at 1:43 PM, Malcolm Edgar wrote: > > > Can Cayenne Transactions be stored in a HttpSession? > > > > regards Malcolm Edgar > > > >

Re: Cayenne Transactions

2008-03-06 Thread Andrus Adamchik
ns" in the Modeler. Andrus On Mar 6, 2008, at 1:43 PM, Malcolm Edgar wrote: Can Cayenne Transactions be stored in a HttpSession? regards Malcolm Edgar

Cayenne Transactions

2008-03-06 Thread Malcolm Edgar
Can Cayenne Transactions be stored in a HttpSession? regards Malcolm Edgar