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
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