[
https://issues.apache.org/jira/browse/OPENJPA-448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Patrick Linskey resolved OPENJPA-448.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.1.0
Updated the default. It turns out that the deprecation issue was actually
already fixed in trunk.
> Documentation fixes (1. openjpa.NontransactionalWrite, 2. setRollbackOnly)
> --------------------------------------------------------------------------
>
> Key: OPENJPA-448
> URL: https://issues.apache.org/jira/browse/OPENJPA-448
> Project: OpenJPA
> Issue Type: Improvement
> Components: docs
> Affects Versions: 1.0.1
> Reporter: Jonas Petersen
> Fix For: 1.1.0
>
>
> I found two things in the documentation that should be fixed I think.
> 1.)
> 3.2.5.47. openjpa.NontransactionalWrite
> It says "Default: false".
> But the default is 'true'.
> See: org.apache.openjpa.persistence.PersistenceProductDerivation:111
> afterSpecificationSet()
> conf.nontransactionalWrite.setDefault("true");
> conf.nontransactionalWrite.set(true);
> 2.)
> 3.11.1.1. Detach Behavior
> It says "You can stop OpenJPA from assuming the transaction will commit by
> invoking OpenJPAEntityManager.setRollbackOnly prior to detaching your
> objects."
> But OpenJPAEntityManager.setRollbackOnly is deprecated. It should be
> OpenJPAEntityTransaction.setRollbackOnly.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.