Re: How to disable Transactions in Cayenne

2011-12-08 Thread Juergen Saar
Hi Andrus, sorry, but for Informix it didn't help (last tested version 3.0.1) ... but for me it is OK, because I think tansactions should be standard and for addons on old applications all is ok if there is a workaround! - Juergen - 2011/12/9 Andrus Adamchik > Checking "Container-managed tran

Re: How to disable Transactions in Cayenne

2011-12-08 Thread Andrus Adamchik
Checking "Container-managed transactions" for the DataDomain in the Modeler would prevent Connection.commit() from being executed. Not sure if this is the solution you are looking for. Juergen's approach sounds good too - DataSource (and by extension Connections, Statements, etc.) is opaque to

Re: How to disable Transactions in Cayenne

2011-12-06 Thread Dirk Wellmann
Hello Juergen, sometimes it's so simple! Thank you for your hint and the Source! Many Regards Dirk Am 06.12.2011 11:44, schrieb Juergen Saar: /* * Created on 05.08.2004 */ package com.dingens.ifx.persistence.jdbc; import java.sql.Connection; import java.sql.Driver; import java.sql.Driver

Re: How to disable Transactions in Cayenne

2011-12-06 Thread Juergen Saar
Hi, we have the same problem ... we wrote our own Driver based on the original jdbc-Driver for our database ... The 2 needed Class definitions you can find below ... We actually run about 100 Installations with this Driver ... We also ran into some trouble with the join statements ... so we ha

How to disable Transactions in Cayenne

2011-12-06 Thread Dirk Wellmann
Hello List, we've a Project in witch we want to access and write a Database in NonTransactional mode, because this "oldschool" - System doesn't support Transactions. But we've a functional JDBC-Driver. Is there a possible way to disable Transactions or register a Transactionhandler witch will