Commit Graph

941 Commits

Author SHA1 Message Date
Patrick Linskey 99029c0bda Make derived setUp() methods public so that they will get invoked by junit.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@570279 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 00:32:06 +00:00
Patrick Linskey 99730c3a5a Make SingleEMFTetsCase.setUp() public so that it'll get invoked by junit.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@570278 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 00:30:13 +00:00
Kevin W. Sutter 953df22c39 OPENJPA-338. Committing Teresa's patch for correcting CASTing with DB2.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@570240 13f79535-47bb-0310-9956-ffa450edef68
2007-08-27 20:51:49 +00:00
Patrick Linskey 0a8239e6a7 Removed unneeded import.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@570215 13f79535-47bb-0310-9956-ffa450edef68
2007-08-27 18:47:48 +00:00
Craig Russell dc576a1c4a Move board directory to top level
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@570177 13f79535-47bb-0310-9956-ffa450edef68
2007-08-27 16:29:26 +00:00
Craig Russell d45627fe6a Final draft of board report for August 2007
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@569765 13f79535-47bb-0310-9956-ffa450edef68
2007-08-26 05:15:01 +00:00
Michael Dick 92d78bc296 Pass along openjpa.loglevel to enhancer and remove hard coded trace spec from a testcase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@569713 13f79535-47bb-0310-9956-ffa450edef68
2007-08-25 17:56:59 +00:00
Craig Russell f40b551d1a Draft board report for August 2007
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@569154 13f79535-47bb-0310-9956-ffa450edef68
2007-08-23 21:34:40 +00:00
Michael Dick ee05926f19 Setting heap size for tests in trunk
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@568622 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 14:21:42 +00:00
Michael Dick 071a9abbbb OPENJPA-326 Initialize discType
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@568403 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 04:01:07 +00:00
Patrick Linskey b0cddf4e2d OPENJPA-256. Applied patch supplied by Bernd.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@568164 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 15:21:50 +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
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
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