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, Cayenne does not actually need
Spring to fill in the gaps like HIbernate does.

regards Malcolm Edgar

On Mon, Sep 12, 2011 at 12:41 AM, stéphane Lestoclet
<[email protected]> wrote:
> 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 and I am trying to find a serious 
> alternative to Hibernate.
> Unfortunately, Spring does not provide a CayenneTransactionManager as for 
> Hibernate, iBatis and JPA. This makes it difficult to show that
> Cayenne integrates well with the famous integration framework which is Spring.
>
> It would also be a very good idea to ship examples with Cayenne (JUnit Tests 
> would be great) in order to show that Cayenne
> can be actually used/integrated with other technologies.
>
> Thanks in advance,
>

Reply via email to