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

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

Re: DataContext in different Threads

2008-08-19 Thread Dirk Wellmann
Hi, solved this, it was a Mistake by me, I publisched the Objects before doing a commit, that was a bad Idea. Regards Dirk

DataContext in different Threads

2008-08-09 Thread Dirk Wellmann
Hi List, we've a Webapplication running in Tomcat, we bound DataContext via Spring to our Session and used the CayenneWebInterceptor. Everything is working fine, but we've a second Thread, witch will be started on Startup of the Servletengine. This Thread receives Objects via JMS and modifies

hsqldb and Relationships

2008-08-05 Thread Dirk Wellmann
Hi List, I've a HSQLDB issue on using Relationships with Delete-Rules. Some Relations have a Delete-Rule Cascade and some not, but the Generator generates always a "ADD CONSTRAINT XYZ FOREIGEN KEY (FIELDNAME) REFERENCES TABLENAME (FIELDNAME) ON DELETE CASCADE". I've checked the XML twice, th