Commit Graph

1106 Commits

Author SHA1 Message Date
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
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
Kevin W. Sutter 4e81825171 OPENJPA-313. Looks like this patch wasn't quite ready for prime time. I attempted to re-build and re-test right after applying this change and I got several testcase errors in openjpa-persistence-jdbc. I revert back ClassMapping.java and the problems go away. Needs some more work...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@565896 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 20:17:39 +00:00
David J. Wisneski 26b0e49845 Help Catalina committing OPENJPA-313.r564688.patch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@565845 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 17:38:00 +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
David J. Wisneski 8ba0483bf7 OPENJPA-168 Query Hints documentation added to jpa_overview_query.xml
Help Catalina committing the patch.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@564439 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 00:24:19 +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
Craig Russell 4c9a725869 Fix typos in caching section of doc
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@564011 13f79535-47bb-0310-9956-ffa450edef68
2007-08-08 20:25:47 +00:00
Patrick Linskey b7fe66357b Tolerate container failure better, now that we can handle non-enhanced types.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@563705 13f79535-47bb-0310-9956-ffa450edef68
2007-08-08 00:05:40 +00:00
Patrick Linskey 63c3748900 OPENJPA-165
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@563702 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 23:47:19 +00:00
Patrick Linskey 86e47000db OPENJPA-86
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@563697 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 23:12:56 +00:00
Patrick Linskey d260d34d69 Oops; fixing NPE caused by previous short-circuiting.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@563664 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 21:32:06 +00:00
Patrick Linskey fa39addf82 Prevent this class from attempting to build its schema when using a database that doesn't support XML datatypes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@563661 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 21:16:55 +00:00
Patrick Linskey 09e13c4ad8 Minor final-field change.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@563654 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 20:59:39 +00:00
David J. Wisneski 79c7b280d3 OPENJPA-240 check null before adding field meta
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@563377 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 03:03:58 +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
Patrick Linskey d5ef5d1f3d OPENJPA-308
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@563355 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 00:16:08 +00:00
Marc Prud'hommeaux dd1ea27032 OPENJPA240 added missing null check
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@563192 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 17:04:29 +00:00
Marc Prud'hommeaux e466dee5f9 OPENJPA240 added missing null check
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@563184 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 16:48:10 +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
Marc Prud'hommeaux 156a7ffdd0 OPENJPA240 applied patch by Catalina Wei to remove static dependency on JAXB classes
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@563031 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 05:53:17 +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
Kevin W. Sutter 890d16047e Just a couple of new testcases that I used to debug some problems recently. Turned out to be non-issues, but I thought the testcases still might be worthwhile to have in our bucket.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@562985 13f79535-47bb-0310-9956-ffa450edef68
2007-08-05 23:20:10 +00:00
Patrick Linskey 17fcd00211 Minor docs clarification.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@562760 13f79535-47bb-0310-9956-ffa450edef68
2007-08-04 20:25:35 +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
Pinaki Poddar 3c17af7351 Fatal Bootstarp exception raised by any ProductDerivation will abandon bootstrapping process
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@562584 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 21:17:24 +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
Craig Russell 60d4f7cd70 Draft board report for August
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@562327 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 04:45:44 +00:00
Michael Dick a8fc8dfa76 OPENJPA-295 improved testcase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@562244 13f79535-47bb-0310-9956-ffa450edef68
2007-08-02 20:33:18 +00:00
Marc Prud'hommeaux 17ecf6753a Fixed test case to first check to see if any CREATE TABLE statement was issued at all. If not, then the database might already have created the TemporalFieldTypes table, in which case the validation assertions of the temporal column types will fail.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@562206 13f79535-47bb-0310-9956-ffa450edef68
2007-08-02 17:58:37 +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 6128ddbc2d OPENJPA-266 load platform specific DBDictionary from dbdictionaryPlugin
Help committing Catalina's DBDictionaryFactory.patch

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@561413 13f79535-47bb-0310-9956-ffa450edef68
2007-07-31 18:01:19 +00:00
Michael Dick a1d28857fa OPENJPA-303 committing on behalf of Albert
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@561405 13f79535-47bb-0310-9956-ffa450edef68
2007-07-31 17:32:01 +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
Kevin W. Sutter 872d00888d OPENJPA-304. Changes to DepthFirstAnalysis and associated classes and testcases to resolve IBM JDK and Sun JDK differences.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@561363 13f79535-47bb-0310-9956-ffa450edef68
2007-07-31 15:43:39 +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 ffec0204a1 Make it possible to run the TCK in various enhancement modes via system properties.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@561022 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 15:48:14 +00:00
Patrick Linskey 61c0800712 allow username info to be passed in to deploy step
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@560665 13f79535-47bb-0310-9956-ffa450edef68
2007-07-29 03:52:05 +00:00