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
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
> 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
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
> 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,
Hi,
not sure if you subscribed to the list and receiving the traffic from the list
or only the emails cc'd to your address, as there were other replies in this
thread. I am cc'ing now, but you may want to check the archive for the ongoing
discussion.
On Sep 13, 2011, at 10:16 PM, stéphane Les
>http://cayenne.apache.org/doc20/understanding-transactions.html
Thanks for the link. In fact, I already
read almost all the Cayenne documentation
http://cayenne.apache.org/doc/understanding-transactions.html (which I think
more recent)
>I use Cayenne in a fairly straight
forward manner, and pe
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
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
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
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,
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
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
1) Cayenne does a begin transaction and end transaction when it
commits (assuming you aren't using container-managed transactions, in
which Cayenne is deferring that operation to the container). Are you
at least using InnoDB with MySQL? MySQL hasn't had the best track
record for handling transact
Ok thanks for the info Andrus. Have been just writing a
TransactionFilter for Click, and just wanted to know whether this was
possible. Not something I would actually use.
regards Malcolm Edgar
On Fri, Mar 7, 2008 at 5:45 AM, Andrus Adamchik <[EMAIL PROTECTED]> wrote:
> If the goal is to reuse t
If the goal is to reuse the same transaction between requests, I'd
suggest using some other transaction manager (Spring? J2EE? I never
tried cross-request transactions, not sure what solution is the best).
For Cayenne to play nicely with it, check "Container Managed
Transactions" in the Mod
16 matches
Mail list logo