Commit Graph

185 Commits

Author SHA1 Message Date
Albert Lee fda48c35a7 OPENJPA-535 - fix comment typos.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@636088 13f79535-47bb-0310-9956-ffa450edef68
2008-03-11 20:04:54 +00:00
Michael Dick bb3eb94ce2 OPENJPA-518 Committing code changes suggested by Adam Toback
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@629490 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 15:01:59 +00:00
Patrick Linskey 383dd9e25a Updating version in branch to 1.0.3-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@628947 13f79535-47bb-0310-9956-ffa450edef68
2008-02-19 01:13:56 +00:00
Patrick Linskey d2264b92bb Port of r603666 to 1.0.x. Change Services.getImplementorClasses(Class) and Services.getImplementorClasses(Class,ClassLoader) to filter out implementations that are not assignable to the Class argument. This allows the Services call to be more fault-tolerant in environments with odd classloader configurations.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@609766 13f79535-47bb-0310-9956-ffa450edef68
2008-01-07 20:09:05 +00:00
Albert Lee 9e014f54d9 Update version from 1.0.1-SNAPSHOT to 1.0.2-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@593712 13f79535-47bb-0310-9956-ffa450edef68
2007-11-10 01:35:32 +00:00
Albert Lee 38ca258bc0 OPENJPA-415 remove AbstractResultList.finalize() method.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@588089 13f79535-47bb-0310-9956-ffa450edef68
2007-10-25 00:04:51 +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
Albert Lee 2956c90a84 OPENJPA-402 Complete .class file read in ZipFileMetaDataIterator
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@584415 13f79535-47bb-0310-9956-ffa450edef68
2007-10-13 15:47:47 +00:00
Albert Lee 4cc061e5dc OPENJPA-369, apply same changes in trunk to the 1.0.x branch.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@581356 13f79535-47bb-0310-9956-ffa450edef68
2007-10-02 19:21:50 +00:00
Kevin W. Sutter 3a802154ac OPENJPA-387. Committing the latest patch from Daniel (with slight modifications by me).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@581080 13f79535-47bb-0310-9956-ffa450edef68
2007-10-01 21:42:40 +00:00
Kevin W. Sutter ffaf1d2196 OPENJPA-385. Committing changes for both 1.0.x and 1.1.0 to properly skip and optionally log malformed .class files.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@580087 13f79535-47bb-0310-9956-ffa450edef68
2007-09-27 16:36:48 +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
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 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
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 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 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
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
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 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
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
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 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
Patrick Linskey 7a6a81d713 Attempt to resolve high-load UUIDGenerator problem. I was not able to reproduce the issue, but code inspection seems to indicate that this fix should work.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@559540 13f79535-47bb-0310-9956-ffa450edef68
2007-07-25 17:56:20 +00:00
Pinaki Poddar f12af8d977 Adding BootstrapException that ProductDerivations recognize during beforeConfigurationConstruct()/load()
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@557798 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 22:32:26 +00:00
Craig Russell b8bb8404a9 OPENJPA-235 break-nullable-patch contributed by Markus Fuchs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@557089 13f79535-47bb-0310-9956-ffa450edef68
2007-07-17 23:56:45 +00:00
Marc Prud'hommeaux 8b5a7f68a0 OPENJPA-244 Fixed some formatting inconsistencies with the patch for OPENJPA-244
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@553010 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 22:42:39 +00:00
Michael Dick 0c517d163e OPENJPA-244 committing on behalf of Albert
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@552996 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 21:55:29 +00:00
Patrick Linskey 21909df2ec Guarantee that remote commit events are fired against OpenJPA internal data structures before externally-registered listeners. This means that externally-registered listeners can rely on the OpenJPA data structures being up-to-date by the time that they are fired.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@552850 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 14:26:09 +00:00
Marc Prud'hommeaux 85b2e766ca OPENJPA-239 Patch to support the generation of annotation mappings using the reverse mapping tool
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@552358 13f79535-47bb-0310-9956-ffa450edef68
2007-07-01 19:37:04 +00:00
Patrick Linskey 39f1071085 OPENJPA-262
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@550185 13f79535-47bb-0310-9956-ffa450edef68
2007-06-24 09:16:57 +00:00
Marc Prud'hommeaux 0091bcabe3 Added a 'java14.jar' property that can be used to specify the location of the JDK 1.4 runtime jar, against which we will compile the JDK 1.4-specific modules. This can be used to ensure that JDK 1.5-specific methods and classes don't slip into the JDK 1.4 modules.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@546768 13f79535-47bb-0310-9956-ffa450edef68
2007-06-13 07:50:11 +00:00
Patrick Linskey 5463700d6c OPENJPA-235
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@544918 13f79535-47bb-0310-9956-ffa450edef68
2007-06-06 18:49:30 +00:00
Marc Prud'hommeaux 3599a48964 Moving version to 1.0.0-SNAPSHOT as a result of mailing list vote
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@541929 13f79535-47bb-0310-9956-ffa450edef68
2007-05-26 19:18:37 +00:00
Marc Prud'hommeaux 0e19b714ac Changed version from 0.9.8-incubating-SNAPSHOT to 0.9.8-SNAPSHOT to reflect move from incubation to TLP
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@540829 13f79535-47bb-0310-9956-ffa450edef68
2007-05-23 03:36:05 +00:00
Marc Prud'hommeaux e041fe0d4d OPENJPA-237 Copy aliases array so it can't get modified by reference
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@540199 13f79535-47bb-0310-9956-ffa450edef68
2007-05-21 16:35:28 +00:00
Marc Prud'hommeaux a92785fea6 OPENJPA-194 Changed openjpa-all-VERSION.jar to be just openjpa-VERSION.jar, and changes openjpa-project-VERSION.zip to be apache-openjpa-VERSION.zip
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@536693 13f79535-47bb-0310-9956-ffa450edef68
2007-05-09 22:23:54 +00:00
Marc Prud'hommeaux 640cddad04 Updated license headers to be in accordance with http://www.apache.org/legal/src-headers.html
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@528881 13f79535-47bb-0310-9956-ffa450edef68
2007-04-14 21:50:17 +00:00
Michael Dick 4ea1c3f738 adding license to java files
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@527728 13f79535-47bb-0310-9956-ffa450edef68
2007-04-11 23:52:54 +00:00
Michael Dick 7fd119e840 updating trunk version
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526476 13f79535-47bb-0310-9956-ffa450edef68
2007-04-07 19:54:18 +00:00
Patrick Linskey dc797ab923 OPENJPA-160. Non-finalizing implementation is automatically selected when createContainerEntityManagerFactory() is invoked; clarified some method signatures.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@513183 13f79535-47bb-0310-9956-ffa450edef68
2007-03-01 06:31:50 +00:00
Kevin W. Sutter 7303bcd5d5 Slight update for the changes introduced via svn revision 506230 (OPENJPA-138). Instead of just skipping the "null ClassLoader" (which indicates the SystemClassLoader), we'll use the static ClassLoader.getSystemClassLoader() method in order to populate the cache.
This change will help the non-container-managed environment (whereas the original change only benefitted the container-managed environment).

This was discussed on the dev mailing list between Patrick, Marc, and myself.

git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@512357 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 18:48:19 +00:00
Patrick Linskey 7db81e3d6c OPENJPA-158 -- reduced log level to TRACE for a variety of enhancement and metadata related messages
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@512107 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 01:59:42 +00:00
A. Abram White 65bd1f02e3 Second attempt at serializing to full properties, including defaults, rather
than just user-defined properties.  This ensures that on deserialization we
get the proper settings despite not running product derivations.  Previous
attempt caused problems on SunONE.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@510638 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 20:11:00 +00:00
Patrick Linskey 0b8bf2818c OPENJPA-156. Applied Michael Dick's patch (thanks). Updated symbolic constant to use OpenJPA norms, changed references to external symbolic constants to use constants from the map impl being used, and reduced if-else statements for readability.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@509793 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 22:51:50 +00:00
A. Abram White 4efc5d6997 Revert "full properties caching" changes made to ConfigurationImpl -- they're
causing problems on some appservers.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@508445 13f79535-47bb-0310-9956-ffa450edef68
2007-02-16 15:23:09 +00:00
A. Abram White 7a2330ce3b Compare Configuration instances on their full properties, including defaults.
Also serialize the full properties because product derivations aren't re-run
on deserialize, so we need to know the complete defaults, etc.  We still track
the user-given properties separately so they can be used in factory pooling.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@507643 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 17:53:13 +00:00
Kevin W. Sutter e14378f7f3 OPENJPA-138. Some updates to help with performance of OpenJPA in an application server environment. Details can be found in the OPENJPA-138 Issue.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@506230 13f79535-47bb-0310-9956-ffa450edef68
2007-02-12 02:33:05 +00:00