Commit Graph

420 Commits

Author SHA1 Message Date
Kevin W. Sutter da5d28cb1a OPENJPA-422. The reproxy() method needed the Calendar object type in it's switch statement.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@589207 13f79535-47bb-0310-9956-ffa450edef68
2007-10-27 20:18:56 +00:00
Michael Dick b291cd7223 OPENJPA-413 revised message
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@588114 13f79535-47bb-0310-9956-ffa450edef68
2007-10-25 02:18:42 +00:00
Michael Dick 18502c72ca Port 570487 to 1.0.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@588032 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 21:18:28 +00:00
Michael Dick d4c2a2f77c OPENJPA-413 committing for Teresa
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@588002 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 20:22:40 +00:00
Michael Dick c450bb60da OPENJPA-416
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@587942 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 18:08:23 +00:00
Michael Dick b4e48abb3a specify version for javacc plugin
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@587937 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 17:42:19 +00:00
Albert Lee 546c34abd1 OPENJPA-413, commit localizer.properties files for Teresa.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@587683 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 22:48:48 +00:00
Kevin W. Sutter ebea29dc04 OPENJPA-403. Committing Teresa's patch for the 1.0.1 version of Patrick's fix.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@586007 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 15:31:56 +00:00
Kevin W. Sutter 261cb3b549 OPENJPA-409. Message update.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@585773 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 01:30:28 +00:00
Kevin W. Sutter fa8097cf55 OPENJPA-405. Dropping Teresa's patch for trunk and 1.0.x branch.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@585269 13f79535-47bb-0310-9956-ffa450edef68
2007-10-16 21:47:39 +00:00
Kevin W. Sutter bc8dfab419 OPENJPA-396. Going ahead with the commit of the patch. Per the discussion in the Issue and the dev mailing list, I have added a few more comments to the clone() generation. Thanks.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@582974 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 21:06:45 +00:00
Albert Lee 77ce13d6fc Minor typos and javadoc updates.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@582337 13f79535-47bb-0310-9956-ffa450edef68
2007-10-05 16:29:09 +00:00
Albert Lee cf0c81a09a OPENJPA-366 Trivial typo in new message
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@581658 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 17:00:53 +00:00
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