Hello, I am currently using cayenne 4.2 and am running into some issues
when committing my changes. We have an application that uses a single
object context to do all the necessary changes we want to save to the
database and then when the user clicks the save button we call the
objectContext.commit
Also forgot to mention but the runtime is configured with external
transactions enabled.
On Fri, Nov 8, 2024 at 4:14 PM Christian Gonzalez <
christian.gonza...@smartscrubs.com> wrote:
> Hello, I am currently using cayenne 4.2 and am running into some issues
> when committing my changes. We have a
I do manual transaction handling like this:
TransactionFactory txFactory =
CayenneRuntime.getThreadInjector().getInstance(TransactionFactory.class);
Transaction tx = txFactory.createTransaction();
tx.begin();
try {
// do work
context.commitChanges();
tx.commit();
} catch (Exceptio