Issue Details (XML | Word | Printable)

Key: OPENJPA-118
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: David Ezzio
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenJPA

AutoDetach property has no effect

Created: 31/Jan/07 04:05 PM   Updated: 01/Mar/07 02:13 AM
Return to search
Component/s: lib
Affects Version/s: None
Fix Version/s: 0.9.7

Time Tracking:
Not Specified

File Attachments:
  Size
Zip Archive Licensed for inclusion in ASF works TestFixesForOpenJPA-118.zip 2007-01-31 04:10 PM David Ezzio 18 kB
Environment: Java SE

Resolution Date: 31/Jan/07 10:27 PM


 Description  « Hide
Setting the openjpa.AutoDetach property to the string "commit, close, nontx-read" has no effect.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
David Ezzio added a comment - 31/Jan/07 04:10 PM
Tests and fixes for the bug. Not sure if the tests are in the right module. Perhaps they should be in openjpa-persistence instead of openjpa-persistence-jdbc. The fixes also clean up the error message when the property has invalid values to conform to the documented settings.

Patrick Linskey added a comment - 31/Jan/07 05:40 PM
Sadly, due to some maven environment issues, all tests that need to communicate with a database need to be in openjpa-persistence-jdbc.

Marc Prud'hommeaux added a comment - 31/Jan/07 10:27 PM
I've corrected a couple minior problems with the patch (no ASF license header, files in DOS format, non-standard indentation & linebreaks) and committed. Tests pass, closing issue.