Albert Lee
89744de0b9
OPENJPA-366 - Add message text to InternalException.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@581609 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 14:11:27 +00:00
Kevin W. Sutter
6692d0e490
OPENJPA-370. Committing Teresa's patch with a few minor updates (per my JIRA Issue remarks).
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@580995 13f79535-47bb-0310-9956-ffa450edef68
2007-10-01 15:47:09 +00:00
Michael Dick
62e56cd910
OPENJPA-380
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@578271 13f79535-47bb-0310-9956-ffa450edef68
2007-09-21 20:56:55 +00:00
Michael Dick
134fcf10cc
OPENJPA-369
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@577877 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 18:57:05 +00:00
Michael Dick
b6af06b64f
OPENJPA-339
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@577863 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 18:39:00 +00:00
Michael Dick
2a6887d4c0
OPENJPA-357 OPENJPA-358
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@577846 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 18:12:18 +00:00
Michael Dick
aece331d8a
OPENJPA-343 merging to 1.0.x. Original changes under rev 571523
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@577077 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 21:47:53 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Marc Prud'hommeaux
ecc36a0f37
Build system work in preparation for 1.0.0 release; fixed some missing license headers; added maven ARAT plugin
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@565955 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 22:39:55 +00:00
Michael Dick
99ecf9564b
OPENJPA-311
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@564688 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 17:33:08 +00:00
Kevin W. Sutter
5c9642d5f4
OPENJPA-244. Committing Albert's changes for Java 2 Security (minus the white space).
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@564408 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 22:27:17 +00:00
Patrick Linskey
60f59740f5
OPENJPA-293. Corrected PCEnhancer to use FieldMetaData.getDeclaredType() instead of getType() in some situations.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@564093 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 05:56:02 +00:00
Patrick Linskey
0b1b37dbba
feedback from Bill Pugh of FindBugs fame
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@563357 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 00:19:53 +00:00
Marc Prud'hommeaux
a5010b4a78
OPENJPA240 fixed to use JavaVersions.isEnumeration rather than Class.isEnum (which is not available in JDK 1.4)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@563175 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 15:52:55 +00:00
Kevin W. Sutter
9382677eb1
OPENJPA-272. Committing the changes to allow @GeneratedValue to detect and report if initial values and/or setters were called on fields marked with @GeneratedValue. New testcases were also provided.
...
Also had to update an existing testcase (TestSharedMappedSuperclassIdValue) and associated Entities because it was breaking the contract put in place.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@562987 13f79535-47bb-0310-9956-ffa450edef68
2007-08-05 23:34:06 +00:00
Kevin W. Sutter
c34fb4e80e
OPENJPA-281. Committing the patch that I posted earlier this week. These changes do the proper eager loading of @Basic types. Along with a new testcase and updated AllFieldTypes.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@562986 13f79535-47bb-0310-9956-ffa450edef68
2007-08-05 23:30:08 +00:00
Marc Prud'hommeaux
a361f6a148
Changed exception message to show the version id (e.g., 1.0.0-SNAPSHOT-r12345), rather than redundant version status string that had been output (e.g., 1.0.0-SNAPSHOT-SNAPSHOT).
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@562615 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 23:38:34 +00:00
Michael Dick
4150e7f566
OPENJPA-295
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@562530 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 17:35:54 +00:00
Marc Prud'hommeaux
97b94f6aa9
OPENJPA256 this class differs from most plugins in that the plugin type is the standard java interface Map.class (rather than an openjpa-specific interface), which means that the ClassLoader used to load the implementation will be the system class loader; this presents a problem if OpenJPA is not in the system classpath, so work around the problem by catching the IllegalArgumentException (which is what we wrap the ClassNotFoundException in) and try again, this time using this class' ClassLoader.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@562011 13f79535-47bb-0310-9956-ffa450edef68
2007-08-02 03:51:38 +00:00
Kevin W. Sutter
f61968f302
OPENJPA-285. I am going ahead with the integration of Kevan's patches for the two memory leaks found in OpenJPA while testing Geronimo. I will post more details in the Issue.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@561970 13f79535-47bb-0310-9956-ffa450edef68
2007-08-01 21:55:44 +00:00
David J. Wisneski
7ca46cf69d
OPENJPA-240 XMLMapping Query - refactoring JAXB XML annotaion parser
...
Help Catalina committing OPENJPA-240.r560665.patch for refactoring JAXB XML annotation parser.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@561376 13f79535-47bb-0310-9956-ffa450edef68
2007-07-31 16:19:24 +00:00
Patrick Linskey
2bc4c4a552
Code cleanup.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@561176 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 22:54:54 +00:00
Patrick Linskey
0243702b35
OPENJPA-293. Fixed problem with transactional state maintenance that was preventing lifecycle tests from passing.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@560601 13f79535-47bb-0310-9956-ffa450edef68
2007-07-28 19:53:13 +00:00
Marc Prud'hommeaux
9f6b703997
Changed 'PrimitiveWrapper.valueOf()' to 'new PrimitiveWrapper', since the valueOf() method is new as of JDK 1.5.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@560364 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 19:46:58 +00:00
Patrick Linskey
8c1710ed63
OPENJPA-297
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@560304 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 16:26:52 +00:00
Patrick Linskey
747226b1d6
OPENJPA-293. All tests pass, but only because we don't currently test Java 5 + redefinition (only Java 5 + no redef). We need a new version of serp (1.13.1) to support that configuration; the new version has not yet made it into ibiblio.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@560016 13f79535-47bb-0310-9956-ffa450edef68
2007-07-26 22:08:37 +00:00
David J. Wisneski
502d6488de
OPENJPA-240 XMLMapping Query - undo move XMLFieldMetaData & XMLMetaData close to XMLClassMetaData
...
Help Catalina committing changes for renaming classes, part 4.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@559188 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 20:13:00 +00:00
David J. Wisneski
e634400c11
OPENJPA-240 XMLMapping Query - move XMLFieldMetaData & XMLMetaData close to XMLClassMetaData
...
Help Catalina committing changes for renaming classes, part 3.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@559187 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 20:09:32 +00:00