On Jan 3, 2008, at 10:00 AM, Dain Sundstrom wrote:

On Jan 3, 2008, at 9:10 AM, Jacek Laskowski wrote:

On Jan 3, 2008 3:48 PM, Joe Bohn <[EMAIL PROTECTED]> wrote:
I was just trying to build trunk this morning with a fresh checkout
(rev. 608496) and I'm seeing test failures.

The failures look like this:

ERROR - The bean instances business method encountered a system
exception: Auto-commit can not be set while enrolled in a transaction
<openjpa-1.0.1-r420667:592145 fatal general error>
org.apache.openjpa.persistence.PersistenceException: Auto-commit can not
be set while enrolled in a transaction
        at
org .apache .openjpa .jdbc .schema .DataSourceFactory.installDBDictionary(DataSourceFactory.java:234)

I'm running into it too. Haven't looked into it yet. Is anyone working on it?

David and I ran into this yesterday. We think the problem is the automatic JPA datasource assignment rules. The logic doesn't select an unmanaged datasource for the JPA unmanaged field which results in the auto-commit exception above. David is working on a fix.

All fixed.

-David

Reply via email to