Patrick Linskey
73b35874f0
Avoid potential NPE; fix error msg.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@590143 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 16:51:32 +00:00
Patrick Linskey
cd2f9e978e
Localized error message clarification, based on user feedback.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@589975 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 06:51:15 +00:00
Kevin W. Sutter
ddd0791346
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/trunk@589207 13f79535-47bb-0310-9956-ffa450edef68
2007-10-27 20:18:56 +00:00
Patrick Linskey
e487d35da6
OPENJPA-419
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@588533 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 05:39:48 +00:00
Patrick Linskey
b50c73f357
OPENJPA-413. Some more clarifications in confusing error messages.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@588373 13f79535-47bb-0310-9956-ffa450edef68
2007-10-25 22:14:55 +00:00
Michael Dick
35fb37ea38
OPENJPA-413 revised message
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@588115 13f79535-47bb-0310-9956-ffa450edef68
2007-10-25 02:19:00 +00:00
Michael Dick
8a67bc2813
OPENJPA-413 committing for Teresa
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@588004 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 20:28:07 +00:00
Michael Dick
9e5cc06fcb
OPENJPA-416
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@587943 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 18:09:01 +00:00
Michael Dick
a282456a91
reverting javacc change so we will build on Windows
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@587896 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 14:21:50 +00:00
Michael Dick
eb4c307446
Remove packages from javacc directories and upgrade to version 2.2.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@587782 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 04:50:28 +00:00
Albert Lee
92919929f8
OPENJPA-413, commit localizer.properties files for Teresa in 110 trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@587688 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 23:07:36 +00:00
Marc Prud'hommeaux
647cbf2ae7
Force javacc-maven-plugin to use version 2.1 of the plugin, since the newer version seems to cause problems.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@587685 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 22:58:32 +00:00
Marc Prud'hommeaux
61c789dbaf
OPENJPA-322 reverted change #567170 to restore previous behavior of TimeZones in Calendar fields; added test case to confirm that the Calendar fields behave as expected
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@586649 13f79535-47bb-0310-9956-ffa450edef68
2007-10-20 00:49:37 +00:00
Kevin W. Sutter
aca5f3351d
OPENJPA-409. Message update.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@585773 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 01:30:28 +00:00
Kevin W. Sutter
86f79ae640
OPENJPA-405. Dropping Teresa's patch for trunk and 1.0.x branch.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@585269 13f79535-47bb-0310-9956-ffa450edef68
2007-10-16 21:47:39 +00:00
Patrick Linskey
09c894a368
OPENJPA-403. Assuming that ignoring the new code is sufficient in cases where the fetch configuration is unavailable.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@584972 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 23:21:30 +00:00
Patrick Linskey
716b008346
OPENJPA-293. Moved localized message to correct package.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@584900 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 20:34:43 +00:00
Kevin W. Sutter
a1fb5b7f72
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/trunk@582974 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 21:06:45 +00:00
Albert Lee
704fc1b513
Minor typos and javadoc updates.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@582341 13f79535-47bb-0310-9956-ffa450edef68
2007-10-05 16:42:42 +00:00
Craig Russell
cafd3d7a62
OPENJPA-366 Trivial typo in new message
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@581619 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 15:08:04 +00:00
Albert Lee
03d19774c2
OPENJPA-366 - Add message text to InternalException.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@581608 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 14:09:43 +00:00
Marc Prud'hommeaux
abff87ef35
OPENJPA345 The last patch had the side effect that the artifact zip doesn't contain most of the required dependency jars (e.g., commons-lang), since the transitive dependencies are not followed to pick up these jars. Resolved this by explicitly listing the required jars in the openjpa-all dependencies. Also moved most of the dependency version numbers into the parent pom.xml dependencyManagement section to ensure that all dependency versions are the same.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@581536 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 09:10:54 +00:00
Kevin W. Sutter
60062e27a2
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/trunk@581039 13f79535-47bb-0310-9956-ffa450edef68
2007-10-01 19:08:19 +00:00
Michael Dick
89b030c3d1
OPENJPA-380
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@578260 13f79535-47bb-0310-9956-ffa450edef68
2007-09-21 20:38:31 +00:00
Kevin W. Sutter
7524219f6a
OPENJPA-369. Committed Albert's changes for the Java 2 Security updates for the Solaris platform.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@577029 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 19:44:06 +00:00
Pinaki Poddar
c8ca563046
OPENJPA-24: Relaxing access to connect() for extensibility.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@576582 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 20:47:52 +00:00
Kevin W. Sutter
884d6b5460
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/trunk@576552 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 18:12:46 +00:00
Patrick Linskey
44c08403ac
NPE check. Checking in on behalf of Abe.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@575752 13f79535-47bb-0310-9956-ffa450edef68
2007-09-14 16:33:09 +00:00
Patrick Linskey
809cb37003
OPENJPA-335. 'svn merge -c 575492 ../branches/1.0.x'
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@575495 13f79535-47bb-0310-9956-ffa450edef68
2007-09-13 23:24:12 +00:00
Pinaki Poddar
6d5fe3bb8a
OPENJPA-357, OPENJPA-358: Adding @since tag/comments to new additions to FetchGroup inclusion
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@574289 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 16:01:40 +00:00
Patrick Linskey
d022b18ad5
OPENJPA-130. Committing Ignacio's patch, with a few whitespace and method name tweaks.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@574143 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 06:11:29 +00:00
Pinaki Poddar
f33cb3d9eb
Fix for FetchGroup inclusion and recursion depth calculation.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@573750 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 23:08:02 +00:00
Patrick Linskey
8fc5924617
OPENJPA-344. Increase the footprint of metadata that is gathered during the MetaDataCacheMaintenance storage process.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@572758 13f79535-47bb-0310-9956-ffa450edef68
2007-09-04 17:55:39 +00:00
Patrick Linskey
a3b0778071
Improve error messages when processing metadata / JPQL queries.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@572492 13f79535-47bb-0310-9956-ffa450edef68
2007-09-04 02:05:15 +00:00
Kevin W. Sutter
8500feee82
OPENJPA-343. Modified the call to setRollbackOnly to check for a valid Transaction status first. If the Transaction is not in a valid state, then we will log a trace message indicating such failure. Processing will continue though.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@571523 13f79535-47bb-0310-9956-ffa450edef68
2007-08-31 16:55:51 +00:00
Kevin W. Sutter
4dae2231cc
OPENJPA-339. Committing Albert's Java 2 Security changes. Hopefully, this is the last batch of changes... :-)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@571522 13f79535-47bb-0310-9956-ffa450edef68
2007-08-31 16:53:43 +00:00
Kevin W. Sutter
5affd1274f
OPENJPA-347. This change brings the performance back to the expected levels. I have also updated the "BidiSQL" testcase to ensure that regressions like this get caught during normal testing.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@571461 13f79535-47bb-0310-9956-ffa450edef68
2007-08-31 13:42:29 +00:00
Patrick Linskey
a61ecf0ff0
Removed now-illegal assertNotReadOnly() calls
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@571325 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 21:48:57 +00:00
Pinaki Poddar
44db5768cd
Allow dynamic configuration property. Changes include
...
1. Add getter/setter for boolean 'dynamic' field of Value
2. Add Value.assertChangeable() that Value subclasses must invoke prior to set
new internal state
3. Changes Configuration readOnly state from a boolean to a simple 3-step state
variable INIT_STATE_LIQUID/FREEZING/FROZEN. This is done to allow lazy
instantiation of some PluginValues after the BrokerFactory freezes configuration.
4. Removes assertNotReadOnly() check from Configuration implementations' setX()
methods.
5. Removes dynamic Value related methods from Configuration API and its
implementations
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@571294 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 20:19:44 +00:00
Patrick Linskey
849e10a391
OPENJPA-344. Build is failing because of this change; changing to use initCause() on the hypothesis that the 1.4 phase of the build does not support a Throwable argument to the constructor.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@571042 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 05:09:56 +00:00
Patrick Linskey
e89b51c4c6
OPENJPA-344. Enable serialization of metadata and query compilation caches. This implementation requires that the user run a tool to build the cache, and set a configuration property to tell OpenJPA where the serialized data is stored.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@570948 13f79535-47bb-0310-9956-ffa450edef68
2007-08-29 22:07:44 +00:00
Marc Prud'hommeaux
614c53df58
Merging changes from 1.0.x branch into trunk (from branch point 567935:HEAD)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@570908 13f79535-47bb-0310-9956-ffa450edef68
2007-08-29 19:37:59 +00:00
Patrick Linskey
ba7de16762
Changed OpenJPAVersion to load version information from a resource (like how we load svn data) so that current version info (as of the last mvn compile) will be available for code built and run from source.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@570487 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 17:00:16 +00:00
Marc Prud'hommeaux
c70bee2898
Changed trunk version to be 1.1.0-SNAPSHOT (was 1.0.0-SNAPSHOT)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@570465 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 16:03:23 +00:00
Patrick Linskey
ad0bbc5105
Made field final
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@570322 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 06:18:58 +00:00
Michael Dick
62b3725596
OPENJPA-339 committing on behalf of Albert
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@570288 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 01:05:18 +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
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
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
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
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
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
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
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
0243702b35
OPENJPA-293. Fixed problem with transactional state maintenance that was preventing lifecycle tests from passing.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@560601 13f79535-47bb-0310-9956-ffa450edef68
2007-07-28 19:53:13 +00:00
Marc Prud'hommeaux
9f6b703997
Changed 'PrimitiveWrapper.valueOf()' to 'new PrimitiveWrapper', since the valueOf() method is new as of JDK 1.5.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@560364 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 19:46:58 +00:00
Patrick Linskey
8c1710ed63
OPENJPA-297
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@560304 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 16:26:52 +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
David J. Wisneski
502d6488de
OPENJPA-240 XMLMapping Query - undo move XMLFieldMetaData & XMLMetaData close to XMLClassMetaData
...
Help Catalina committing changes for renaming classes, part 4.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@559188 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 20:13:00 +00:00
David J. Wisneski
e634400c11
OPENJPA-240 XMLMapping Query - move XMLFieldMetaData & XMLMetaData close to XMLClassMetaData
...
Help Catalina committing changes for renaming classes, part 3.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@559187 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 20:09:32 +00:00
David J. Wisneski
c70b70b30f
OPENJPA-240 XMLMapping Query - rename XMLMapping interface to XMLMetaData
...
Help Catalina committing changes for renaming classes, part 2.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@559179 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 19:51:19 +00:00
David J. Wisneski
9316b8157d
OPENJPA-240 XMLMapping Query - rename XMLMetaData to XMLFieldMetaData
...
Help Catalina committing changes for renaming classes, part 1.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@559172 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 19:40:09 +00:00
David J. Wisneski
a5ed9f701d
OPENJPA-240 XMLMapping Query support, fix eol delimiters to unix style
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@558221 13f79535-47bb-0310-9956-ffa450edef68
2007-07-21 01:25:48 +00:00
David J. Wisneski
168c0076c8
OPENJPA-263 : Introducing getAll(List) method for data cache to be called by loadAll()
...
will allow data cache plug-ins to leverage the advantage of any third-party cache that
provides a way to get multiple object in one call by providing a list of keys (oids).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@558125 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 20:37:08 +00:00
Michael Dick
1c9f0ae0ae
OPENJPA-287
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@557768 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 20:55:30 +00:00
David J. Wisneski
a275b7aefb
OPENJPA-240 XMLMapping Query support for persistent field maps to XML column.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@557437 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 00:45:51 +00:00
Kevin W. Sutter
62ae83f3b5
Minor updates to help with translation and formatting of messages. Items like removing contractions like "can't" and "doesn't". Also, ensuring there are two single quotes for possive like "Provider's".
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@556926 13f79535-47bb-0310-9956-ffa450edef68
2007-07-17 13:43:40 +00:00
Patrick Linskey
7d6c0afa45
Minor reformatting
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@556371 13f79535-47bb-0310-9956-ffa450edef68
2007-07-15 08:03:34 +00:00
Patrick Linskey
124f615eb5
OPENJPA-280. Correcting my mistaken commit.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@554111 13f79535-47bb-0310-9956-ffa450edef68
2007-07-07 01:47:21 +00:00
Patrick Linskey
2f5d52b7e7
OPENJPA-280. Committing for David Ezzio.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@554083 13f79535-47bb-0310-9956-ffa450edef68
2007-07-06 23:21:06 +00:00
Patrick Linskey
d99571342f
fixed typo
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@553911 13f79535-47bb-0310-9956-ffa450edef68
2007-07-06 14:48:02 +00:00
Patrick Linskey
e286a915d5
OPENJPA-278
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@553629 13f79535-47bb-0310-9956-ffa450edef68
2007-07-05 20:51:01 +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
Patrick Linskey
1bded00298
OPENJPA-199. Passed all local tests; I have not run against the CTS though. It *should* work against the CTS, as it was a bug on our side, and not the spec's side.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@552363 13f79535-47bb-0310-9956-ffa450edef68
2007-07-01 21:13:16 +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
5c4a8c7e73
OPENJPA-70. Added new RemoteCommitEvent payload type and logic to fire RemoteCommitEvents when stale records are detected. This logic still gets fired via afterCommit(), even though these checks can happen either after a commit or a flush is issued. Additionally, these events are only fired against local listeners, so actually represent local analysis that is detecting remote events, rather than remote events themselves.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@552059 13f79535-47bb-0310-9956-ffa450edef68
2007-06-29 23:08:41 +00:00
Patrick Linskey
1b9d1e2d12
OPENJPA-262. Added test case for lifecycle and tx registries in BrokerFactories. Also discovered that BEFORE_PERSIST listeners (and possibly a couple of others) were not being invoked; fixed-by-inspection and simplified the registration of types in the lifecycle event handler.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@551885 13f79535-47bb-0310-9956-ffa450edef68
2007-06-29 13:18:26 +00:00
Patrick Linskey
ffdbc5ae9c
OPENJPA-262. Added transaction callback registry to BrokerFactory as well, to parallel lifecycle callback structure
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@551849 13f79535-47bb-0310-9956-ffa450edef68
2007-06-29 11:04:51 +00:00
Patrick Linskey
5a23d0455d
Improved error messages
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@551845 13f79535-47bb-0310-9956-ffa450edef68
2007-06-29 10:53:05 +00:00
Kevin W. Sutter
e65f53b43d
OPENJPA-61. Marc's patch tests out okay with WebSphere. I made a couple of minor cosmetic changes to the
...
patch. We need to get this into the stream for additional testing and verification by other application servers.
So, let's go for it...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@550898 13f79535-47bb-0310-9956-ffa450edef68
2007-06-26 18:22:06 +00:00