Catalina Wei
2663cb3e32
OPENJPA-375 DB2 autoCommit(true) causes Result Set prematurely closed in WebContainer JEE environment.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@577014 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 18:49:05 +00:00
Michael Dick
05fb97ded7
OPENJPA-353 for 1.0.x branch
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@576948 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 15:25:14 +00:00
Kevin W. Sutter
3f5fd69c06
OPENJPA-367. Committing Albert's patch (since he doesn't have his committer karma quite yet...).
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@576564 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 19:26:51 +00:00
Patrick Linskey
da603826e0
OPENJPA-335
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@575492 13f79535-47bb-0310-9956-ffa450edef68
2007-09-13 23:19:13 +00:00
Catalina Wei
2c748d1aea
OPENJPA-360 FOR UPDATE clause incorrectly generated, remove transient variable declaration
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@575080 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 21:11:56 +00:00
Kevin W. Sutter
73513a2af5
OPENJPA-360. Remove code dependencies on DB2 libraries from unit tests.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@575008 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 16:45:59 +00:00
Catalina Wei
04b3212698
OPENJPA-360 SQL FOR UPDATE OF incorrectly generated for DB2 UDB version8.1 or earlier and DB2 ISeries V5R3 or earlier.
...
These DB2 version also require the "optimize for <n> row" clause appear before FOR UPDATE clause.
Due to this requirement, the OPTIMIZE clause will appear before FOR UPDATE clause for all DB2 versions.
Also fixed the affected testcases.
Same fix retrofit to OpenJPA 1.0.x branch.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@574653 13f79535-47bb-0310-9956-ffa450edef68
2007-09-11 17:59:38 +00:00
Kevin W. Sutter
25936c82e8
OPENJPA-361. Committing Albert's patch for the incorrect GREG_OFFSET (Gregorian Offset) for the 1.0.x branch.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@574594 13f79535-47bb-0310-9956-ffa450edef68
2007-09-11 13:28:45 +00:00
Patrick Linskey
25c94598d7
release note clarification. svn merge -c 574337 ../../trunk
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@574338 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 19:15:05 +00:00
Patrick Linskey
4e670637e1
OPENJPA-355: applying log4j mixup fix to 1.0.x branch. svn merge -c 573653 ../../trunk
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@573675 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 19:23:29 +00:00
Patrick Linskey
8265bac2b2
Minor logging correction; flow control correction. 'svn merge -c 571599 ../../trunk'
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@571608 13f79535-47bb-0310-9956-ffa450edef68
2007-08-31 21:46:59 +00:00
Kevin W. Sutter
f1c4c68d90
OPENJPA-347. Committing this performance regression update to the 1.0.x branch.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@571535 13f79535-47bb-0310-9956-ffa450edef68
2007-08-31 18:35:44 +00:00
Patrick Linskey
ea70a121d4
OPENJPA-346. 'svn merge -c 571269 ../../trunk'
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@571274 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 18:47:50 +00:00
Marc Prud'hommeaux
5678f5d365
Updated scm connection information to point to the current 1.0.x branch
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@570512 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 18:13:58 +00:00
Marc Prud'hommeaux
9cc19220d5
Changed maintenance branch version to be 1.0.1-SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@570490 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 17:16:08 +00:00
Marc Prud'hommeaux
3c61b777f5
OpenJPA branch 1.0.x for maintenance work on 1.0
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@570489 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 17:11:30 +00:00
Patrick Linskey
849f746573
Minor logging / exception handling improvements
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.0@569253 13f79535-47bb-0310-9956-ffa450edef68
2007-08-24 05:27:43 +00:00
Kevin W. Sutter
cfbc213134
OPENJPA-326. Porting the change for the 1.0.0 branch.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.0@568756 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 21:54:11 +00:00
Patrick Linskey
1b8a5488ca
OPENJPA-293. Docs changes to reflect new settings.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.0@568723 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 18:34:42 +00:00
Patrick Linskey
4b9b0fc4a3
OPENJPA-293. Allow user configuration of error vs. warning if managed classes are not enhanced.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.0@568721 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 18:21:03 +00:00
Marc Prud'hommeaux
3ae441064b
Fixed incorrect version in JTA jar name (which was preventing it from being included in the assembly after the removal of the JCA jar dependency)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.0@568385 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 02:40:59 +00:00
Patrick Linskey
6ba6ce4e7e
OpenJPA used to rely on being able to implicitly specify a value for a @GeneratedValue field when using an IDENTITY generation strategy. Now that we do not allow that behavior, OpenJPA was failing to generate IDs properly in some cases. Fixed.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.0@568363 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 01:33:40 +00:00
Patrick Linskey
ff13fe7b6a
OPENJPA-325. Unit test to come later.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.0@568338 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 00:08:32 +00:00
Patrick Linskey
ef56ba1406
OPENJPA-293. Better validation that the persistent types to subclass have properly been found.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.0@568337 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 00:06:16 +00:00
Patrick Linskey
dc3615c613
Changed oddly-named methods. Looks like the result of a bum refactoring.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.0@568327 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 23:28:33 +00:00
Marc Prud'hommeaux
a5eee82878
Specify that the surefire plugin should pass -Xmx500m to the forked tests so we have ample memory to run all our tests
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.0@568317 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 22:52:05 +00:00
Patrick Linskey
93986d5587
OPENJPA-317 -- correction to a method name to better reflect what it does.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.0@568306 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 22:13:37 +00:00
Patrick Linskey
c743a5384f
removed unneeded import
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.0@568305 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 22:13:19 +00:00
Marc Prud'hommeaux
d493f9f2e7
OPENJPA-256 fixed for 1.0.0 branch
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.0@568173 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 15:47:11 +00:00
Marc Prud'hommeaux
66f7dc69e7
Minor release notes fixes; exported HTML release notes to CHANGES.txt
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.0@568170 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 15:42:29 +00:00
Marc Prud'hommeaux
0b27d7313d
Added release notes for 1.0.0.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.0@568161 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 15:13:01 +00:00
Marc Prud'hommeaux
1f15d9f34d
Bumping release number from 1.0.0-SNAPSHOT to 1.0.0
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.0@568075 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 11:36:14 +00:00
Marc Prud'hommeaux
4d0f91ea2c
OpenJPA Release 1.0.0
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.0@568073 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 11:33:26 +00:00
Patrick Linskey
56f6b43790
OPENJPA-317. Some more API Javadoc cleanup, plus a bit of last-minute renaming and method visibility changes for clarity.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567986 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 07:03:48 +00:00
Patrick Linskey
52d7ab7975
OPENJPA-321. Avoiding JDK1.5-specific String.replace() call. Also changed the method to return a well-balanced SQL, since it looks like the only usage is in a place where well-balanced-ness is possible.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567962 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 05:26:15 +00:00
Marc Prud'hommeaux
14402214eb
Bumping release number from 1.0.0-SNAPSHOT to 1.0.0
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.0@567937 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 03:58:29 +00:00
Marc Prud'hommeaux
748a8d9cc6
OpenJPA Release 1.0.0
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.0@567935 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 03:56:32 +00:00
Kevin W. Sutter
eaeebf20c7
OPENJPA-321. Committing Teresa's patch with a few minor formatting updates. Thanks, Teresa.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567928 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 03:15:37 +00:00
Patrick Linskey
7977291bea
OPENJPA-293. Fixed bug with property access and booleans and 'is' accessors.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567911 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 02:21:44 +00:00
Patrick Linskey
3d22005bad
Fixed bug I introduced with new configuration setting earlier.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567908 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 02:16:23 +00:00
Patrick Linskey
fb1c554c4b
Fixed bug I introduced with new configuration setting earlier.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567904 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 01:46:38 +00:00
Patrick Linskey
ebcec6e55b
OPENJPA-317. Moved away from requiring Type at the end of enums, in favor of alignment with existing OpenJPA config settings.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567900 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 01:37:39 +00:00
Patrick Linskey
89ec5482cb
Static field can be final.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567898 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 01:28:44 +00:00
Patrick Linskey
b0c5cfe69a
If a getter is marked @Transient, be a bit more quiet about compliance warnings.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567897 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 01:28:12 +00:00
Patrick Linskey
8c28c6bcbd
Improved debugging to reduce verbosity when not in TRACE.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567896 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 01:20:14 +00:00
Patrick Linskey
e26e15496e
OPENJPA-317. Added ResultSetType and FetchDirection enums. Used FetchDirection instead of FetchDirectionType because FetchDirection seemed much more natural.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567893 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 01:09:20 +00:00
Patrick Linskey
ede9dcbd61
OPENJPA-293. More-eager failures.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567889 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 00:54:44 +00:00
Patrick Linskey
dda1e8ef6f
OPENJPA-293. Allow runtime redefinition to be disabled via a configuration setting. We really should sweep through the code and change ImplHelper to take a Configuration as an argument, but that won't change the behavior; it'll just make some of the validations more eager.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567886 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 00:45:23 +00:00
Patrick Linskey
8dd6857f67
OPENJPA-314, OPENJPA-315
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567875 13f79535-47bb-0310-9956-ffa450edef68
2007-08-20 23:19:05 +00:00
Patrick Linskey
0a40e8c9a4
OPENJPA-323. If it was ok to comment out, it must be ok to remove altogether.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567858 13f79535-47bb-0310-9956-ffa450edef68
2007-08-20 22:25:37 +00:00