openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chunlinyao <>
Subject Re: Schema generation uses auto-commit mode; breaks on XA data sources
Date Thu, 14 Oct 2010 07:27:41 GMT


You said schemaTool use autocommit, I found it set autocommit to true and
also call commit method.

According to javadoc in here.

SQLException - if a database access error occurs, this method is called
while participating in a distributed transaction, if this method is called
on a closed conection or this Connection object is in auto-commit mode

It will get SQLException when this Connection object is in auto-commit mode.

My project broke when I upgrade to a new version of jdbc recently.

View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message