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
Patrick Linskey
6de7e5f581
Imports cleanup.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567856 13f79535-47bb-0310-9956-ffa450edef68
2007-08-20 22:24:03 +00:00
Patrick Linskey
032bf10ce6
OPENJPA-317. Javadoc clarification.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567855 13f79535-47bb-0310-9956-ffa450edef68
2007-08-20 22:15:51 +00:00
Patrick Linskey
4e8936a706
OPENJPA-317. There is no additional covariant-type work to do here.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567854 13f79535-47bb-0310-9956-ffa450edef68
2007-08-20 22:11:59 +00:00
Patrick Linskey
007154980b
OPENJPA-317. Removed comment; added exception to test case method definition for extensibility
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567851 13f79535-47bb-0310-9956-ffa450edef68
2007-08-20 22:08:40 +00:00
Patrick Linskey
778ab2a393
OPENJPA-317. Changed OpenJPA published API pre-1.0. Reduced the scope of the dependencies in OpenJPAEntityManager and the other published interfaces; converted JDK1.4-style symbolic constant usage to new enums; changed some method names for clarity and consistency; removed old javax.resource dependencies; updated @published and @nojavadoc tags. The published interfaces should now only reference other published interfaces in method signatures, and it should be possible to build javadoc for just the published interfaces.
...
Removed getDelegate() calls from the published interfaces, as they expose internals. They are still available on the impl classes themselves, or the SPI ifaces when available.
Added covariant return types to JDBCFetchPlan.
Changed BrokerFactoryListener interface to not encode event types in the listener signature.
Moved some methods from OpenJPAPersistence to JPAFacadeHelper.
We will need to grow these published interfaces to provide access to some things in the internal interfaces. However, these interfaces will remain stable moving forward within the constraints of the OpenJPA deprecation policies.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567838 13f79535-47bb-0310-9956-ffa450edef68
2007-08-20 21:32:54 +00:00
Patrick Linskey
62f09afea9
something in Marc's checkin (r565955) broke how I run the examples; reverting the phase change to see if invocation in the old phase resolves the issue.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567835 13f79535-47bb-0310-9956-ffa450edef68
2007-08-20 21:29:47 +00:00
Kevin W. Sutter
6316c57e97
OPENJPA-323. Committing message updates per Teresa's patch. Thanks, Teresa!
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567748 13f79535-47bb-0310-9956-ffa450edef68
2007-08-20 16:50:20 +00:00
Marc Prud'hommeaux
9bebf551fc
Fixed TCK to only use a single jar in the top-level openjpa-all aggregate module.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567207 13f79535-47bb-0310-9956-ffa450edef68
2007-08-18 02:26:34 +00:00
Srinivasa Segu
784de8a57c
OPENJPA-322.Copying over the TimeZone to the proxy. 446787 seems to have accidentally removed this.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567170 13f79535-47bb-0310-9956-ffa450edef68
2007-08-17 23:20:43 +00:00
Marc Prud'hommeaux
f9fcb11a35
Fixed JDK 1.5-ism of Character.valueOf(char) by changing it to new Characher(char).
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567127 13f79535-47bb-0310-9956-ffa450edef68
2007-08-17 20:16:25 +00:00
Kevin W. Sutter
71f44f884e
OPENJPA-320. Updated the resevered schema prefixes for DB2.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@566855 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 21:18:35 +00:00
Michael Dick
6cd259f310
OPENJPA-143
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@566788 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 17:59:57 +00:00
Pinaki Poddar
8d1dacad82
Adding support for change of configuration properties after the configuration has been frozen.
...
Three methods have been added to Configuration:
i) Configuration.getDynamicValues() returns list of Values that are dynamically modifiable.
ii) Configuration.isDynamic(String property) affirms if the named property is dynamically modifiable.
iii) Configuration.modifyDynamic(String property, Object value) modifies the named property value even when Configuration.isReadOnly().
Currently, OpenJPAConfigurationImpl.getDynamicValues() return 3 simple IntValue properties {dataCacheTimeout, fetchBatchSize, lockTimeout)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@566494 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 05:52:17 +00:00
Kevin W. Sutter
88f293dec9
OPENJPA-312. Committing these changes for Daniel. I decided to make a common private utility method out of the common code across the proposed patch, but the intent of the original patch is still there. Thanks, Daniel, for posting the fix.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@566381 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 22:56:44 +00:00
Patrick Linskey
485527ae08
removed debugging code
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@566315 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 19:49:12 +00:00
David J. Wisneski
7ae341d308
additional check for XmlRootElement annotation
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@566297 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 18:40:47 +00:00
Marc Prud'hommeaux
4463c743f0
Changed repository urls to deploy to the local site build.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@566021 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 04:30:31 +00:00
David J. Wisneski
c014c92538
Help Catalina committing OPENJPA-313.2.patch
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@566006 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 02:24:50 +00:00
Patrick Linskey
e59b9deab9
OPENJPA-293. Updated to latest serp dependency now that it's in the maven repository. Needed for interface-ordering issues in JDK1.5 + redefinition.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@565999 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 01:48:13 +00:00