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
Patrick Linskey
0dde3fdbfa
OPENJPA-262. Added @since tag.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@550187 13f79535-47bb-0310-9956-ffa450edef68
2007-06-24 09:19:56 +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
Pinaki Poddar
a39a2dace9
Return gracefully when no class found for enhancement. Without this check raises NPE.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@549405 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 06:18:33 +00:00
David J. Wisneski
8bf89a655a
OPENJPA-240, packaging/renaming/JAXB dependency cleanups
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@548834 13f79535-47bb-0310-9956-ffa450edef68
2007-06-19 19:44:58 +00:00
Marc Prud'hommeaux
79827a90f6
Remove use of JDK 1.5-only method String.contains().
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@548431 13f79535-47bb-0310-9956-ffa450edef68
2007-06-18 18:18:55 +00:00
Patrick Linskey
9f0a7ff545
OPENJPA-259. Applied Craig's patch (minus the ACK char; maybe Craig meant ^L instead?), and added a test case. The test uses dynamic JPQL, but the parser change should work for XML-based named queries also, and it seems fair to allow newlines in dynamic strings as well.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@547872 13f79535-47bb-0310-9956-ffa450edef68
2007-06-16 06:54:12 +00:00
David J. Wisneski
3aac689d56
OPENJPA-240 Feature:Persistent field mapping support for XML column type.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@547833 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 23:45:14 +00:00
Pinaki Poddar
90d053f4ef
Resolve Getter/Setter type inconsistency in Entity IdClass.
...
Reflects to find setter method in Application Identity class with correct parameter type.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@547073 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 01:08:25 +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
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
75e59a4e65
Test commit for new repository.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@540826 13f79535-47bb-0310-9956-ffa450edef68
2007-05-23 03:10:18 +00:00
Marc Prud'hommeaux
bc0c353ef0
OPENJPA-148 Fixed incorrect import of non-existent ClassLoaderMetaDataIterator in patched file
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@540301 13f79535-47bb-0310-9956-ffa450edef68
2007-05-21 21:17:02 +00:00
Marc Prud'hommeaux
04397f562e
OPENJPA-148 Applied follow-up patch that resolved potential NPEs
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@540283 13f79535-47bb-0310-9956-ffa450edef68
2007-05-21 20:45:09 +00:00
Marc Prud'hommeaux
81e89bcd80
Formatting fix.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@539813 13f79535-47bb-0310-9956-ffa450edef68
2007-05-20 01:25:52 +00:00
Patrick Linskey
add6a29be4
OPENJPA-230. Fixed dependency on not-yet-checked-in class.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@537227 13f79535-47bb-0310-9956-ffa450edef68
2007-05-11 16:37:15 +00:00
Patrick Linskey
15b0b59f25
OPENJPA-230. Updated patch based on an out-of-band patch from Vishal. This version avoids interrupts while still handling guaranteed delivery of messages in the queue.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@537221 13f79535-47bb-0310-9956-ffa450edef68
2007-05-11 16:12:07 +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
Patrick Linskey
d9fbb9cc11
Propagate the provided classloader further into the PCEnhancer call stack.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@536001 13f79535-47bb-0310-9956-ffa450edef68
2007-05-07 21:38:20 +00:00
Marc Prud'hommeaux
e422a7d179
OPENJPA-148 Applied the rest of the patch for this bug.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@535321 13f79535-47bb-0310-9956-ffa450edef68
2007-05-04 16:36:15 +00:00
Marc Prud'hommeaux
2f4cafdcfb
OPENJPA-148 Fix for scanning directories for persistent types.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@535139 13f79535-47bb-0310-9956-ffa450edef68
2007-05-04 09:31:17 +00:00
Patrick Linskey
43c931014a
OPENJPA-226
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@533218 13f79535-47bb-0310-9956-ffa450edef68
2007-04-27 20:46:03 +00:00
Patrick Linskey
b2beaec634
OPENJPA-229
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@532805 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 17:17:10 +00:00
Marc Prud'hommeaux
0819749391
Fixed MetaDataException to take a nested Throwable argument (which is the common case) instead of a FailedObject Object argument (which many of the existing constructions of MetaDataException are erronously using with a nested Throwable argument)
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@532524 13f79535-47bb-0310-9956-ffa450edef68
2007-04-25 23:13:12 +00:00
Patrick Linskey
f7770883a4
Usability improvements discovered while working on OPENJPA-228. When loading enumerated types in the enhancer, pass them to serp as strings rather than as classes. This permits the use case where a subclass and superclass are both compiled and enhanced, and then the superclass is recompiled, and the subclass and superclass are both listed in persistence.xml, and the enhancer is then invoked.
...
Similarly, treat NoSuchMethodErrors that contain the string '.pc' as warnings rather than errors in MetaDataRepository.classForName().
Finally, changed MetaDataRepository errors to stringify internal data sets eagerly, to avoid leaking incorrect information into error messages.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@532273 13f79535-47bb-0310-9956-ffa450edef68
2007-04-25 09:19:51 +00:00
Patrick Linskey
14ba7eed94
Added OpenJPAVersion.RELEASE_STATUS to log messages to more completely encapsulate version data.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@532151 13f79535-47bb-0310-9956-ffa450edef68
2007-04-25 00:17:23 +00:00
Patrick Linskey
0e7feca04a
OPENJPA-219. Avoid Class.getDeclaredField() / Class.getDeclaredMethod() in Reflection, since they throw exceptions as a side-effect. Also contains assorted clean-up in ClassMetaData.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@532137 13f79535-47bb-0310-9956-ffa450edef68
2007-04-24 23:34:46 +00:00
A. Abram White
9e044de7a7
Fix broken functionality in allowing users to construct a custom application
...
oid from its stringified form.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@532057 13f79535-47bb-0310-9956-ffa450edef68
2007-04-24 19:53:37 +00:00
A. Abram White
44c97873fb
Fix bytecode generation to use new FetchConfiguration.requiresFetch signature.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@532039 13f79535-47bb-0310-9956-ffa450edef68
2007-04-24 18:43:43 +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
A. Abram White
3885031a89
OPENJPA-214 : Support float and double fields as single-field identity primary
...
keys.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@527648 13f79535-47bb-0310-9956-ffa450edef68
2007-04-11 20:25:11 +00:00
A. Abram White
b4a3a77840
OPENJPA-134 : When we're performing eager fetches and we can detect that we're
...
already fetching the owning side of a bidi relation, cut off eager selecting
and loading when we come across the back-ptr to the owner again.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@527565 13f79535-47bb-0310-9956-ffa450edef68
2007-04-11 16:21:13 +00:00
Marc Prud'hommeaux
0806fd5b44
OPENJPA-208 Added NoResultException and NonUniqueResultException to kernel to allow the identification of the case where a unique result was selected by either none or too many were found
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526834 13f79535-47bb-0310-9956-ffa450edef68
2007-04-09 17:06:23 +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
A. Abram White
31c7a575e7
Remove unneeded import.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526259 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 19:27:52 +00:00
A. Abram White
60a1e54f07
OPENJPA-202 : Don't detach LRS fields.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526253 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 19:17:44 +00:00
A. Abram White
1c8f82b810
Move LockManager API back to using int timeouts, since that's the way they're
...
handled elsewhere (FetchConfiguration, Broker, etc). Only use the lock timeout
on a forUpdate query if it is greater than the configured query timeout.
Selects that are made *only* to lock a row (rather than to query data, with
locking as a side effect) still use the lock timeout exclusively, ignoring the
query timeout.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526192 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 15:08:39 +00:00
Srinivasa Segu
e541936463
OPENJPA-203.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@525950 13f79535-47bb-0310-9956-ffa450edef68
2007-04-05 20:06:24 +00:00
Marc Prud'hommeaux
10bdc61b91
OPENJPA-196 Removed the requirement that the number of positional parameters assigned to a query correspond exactly to the number of positional parameters declared in that query.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@524939 13f79535-47bb-0310-9956-ffa450edef68
2007-04-02 21:59:21 +00:00
A. Abram White
8167400e51
Bring some consistency to test case structure. Now all persistent test cases
...
extend SingleEMFTestCase or SingleEMTestCase as appropriate. These base test
cases contain utilties for initializing the EMF on setup and deleting any
inserted database records and closing the EMF on teardown.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@524228 13f79535-47bb-0310-9956-ffa450edef68
2007-03-30 18:45:15 +00:00
A. Abram White
1679c05c89
Cleanup and fixes to changes for OPENJPA-168.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@523425 13f79535-47bb-0310-9956-ffa450edef68
2007-03-28 17:43:35 +00:00
David J. Wisneski
fee930886b
fixing indentation and few changes suggested by Abe for OpenJPA patch-168
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@523071 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 20:47:21 +00:00
A. Abram White
f7aef45814
OPENJPA-181 : Fix class cast exception by passing along the StoreQuery context
...
whenever we pass around an Executor, so that the StoreQuery and Executor are
always matched.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@523046 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 19:24:54 +00:00
A. Abram White
df02d831e2
Only process registered classes that are listed as belonging to this persistence
...
unit.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@522623 13f79535-47bb-0310-9956-ffa450edef68
2007-03-26 20:52:14 +00:00
David J. Wisneski
442c1cee48
Patch for OPENJPA-168
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@522581 13f79535-47bb-0310-9956-ffa450edef68
2007-03-26 17:59:03 +00:00
Marc Prud'hommeaux
91cc432676
OPENJPA-176 Made the stringified exception prefixes scrutable.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@522097 13f79535-47bb-0310-9956-ffa450edef68
2007-03-24 19:37:32 +00:00
Marc Prud'hommeaux
68e4f9a85b
Whitespace formatting fix.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@520651 13f79535-47bb-0310-9956-ffa450edef68
2007-03-20 23:18:31 +00:00
A. Abram White
eb27482080
OPENJPA-132 : Fix bugs with using a field of type java.sql.Date/Time/Timestamp
...
as a single-field identity primary key. Replaced "generationtype" test package
with "identity" test package and moved old identity generation tests to new
package, along with new test for java.sql.Date id fields.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@520522 13f79535-47bb-0310-9956-ffa450edef68
2007-03-20 19:00:38 +00:00
A. Abram White
229f24547a
OPENJPA-174 : Remove legacy code throwing an exception when attempting to
...
construct an oid instance for an abstract persistent type. Improve error
message in ApplicationIds when attempting to create a new id instance when the
id class is abstract.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@520117 13f79535-47bb-0310-9956-ffa450edef68
2007-03-19 21:46:45 +00:00
A. Abram White
fabdf10407
Fix recently-introduced bug in handling of arrays in data cache. Add test for
...
a shared id value among sibling classes deriving from the same mapped
superclass.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@518190 13f79535-47bb-0310-9956-ffa450edef68
2007-03-14 15:44:55 +00:00
Patrick Linskey
853fb319ba
OPENJPA-35: fixed bulk update / bulk delete logic to properly clear out the data cache as well as the query cache. We could probably change the logic to remove the query cache mutations, since the data cache clear should automatically clear out the query cache as needed. Also changed the test framework a bit to allow for easier test harness creation without using SingleEMTest, which required providing access to the open brokers from AbstractBrokerFactory.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@516750 13f79535-47bb-0310-9956-ffa450edef68
2007-03-10 17:15:49 +00:00
Patrick Linskey
b5bab78e04
OPENJPA-142: read entity names specified in XML. Also added comment clarifying that ClassMetaData.setTypeAlias() is only used at enhance time.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@516682 13f79535-47bb-0310-9956-ffa450edef68
2007-03-10 11:14:44 +00:00
Marc Prud'hommeaux
9bfc9cf190
OPENJPA-166: Added new setRollbackOnly(Throwable cause) flag so the Broker can track the reason for why the transaction would be marked for rollback, and correspondingly added reporting of the cause in LocalManagedRuntime, as well as support for WLS's corresponding support in WLSManagedRuntime.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@516597 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 23:07:49 +00:00
Patrick Linskey
0b90c67a8b
OPENJPA-71: resolved inefficiency with array types and AbstractPCData
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@515987 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 09:34:52 +00:00
Patrick Linskey
69c34cd385
OPENJPA-46: TRUE and FALSE should be case-insensitive in JPQL
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@515986 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 09:34:25 +00:00
A. Abram White
ebe1b5711e
Fix a couple of errors in the code to default to the non-finalizing broker
...
in PersistenceProviderImpl.createContainerManagedEntityManagerFactory:
1) Don't add to the given Map, because it might be read-only.
2) Prefix the BrokerImpl property correctly when adding it.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@513974 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 21:57:03 +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
Patrick Linskey
661f673890
OPENJPA-160. Removed BrokerImpl test to make this work properly for subclasses. Since BrokerImpl is cloneable, all subtypes will also be cloneable, so we don't really need to test for anything.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@512934 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 19:52:24 +00:00
Patrick Linskey
560f895102
OPENJPA-160
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@512906 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 19:20:51 +00:00
A. Abram White
4bf637f074
Improve error checks for mapped-by mappings. Mark deleted instances as
...
eligible for state restore on rollback so they don't always clear. Always
cascade attach to embedded instances.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@512350 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 18:14:45 +00:00
Kevin W. Sutter
5ae6e7594f
These changes are reverting the changes integrated for revisions 510336 and 510281. From the remarks on the dev mailing list, the basic idea is sound, we just need to re-visit the implementation a bit.
...
One "problem" that I couldn't resolve with this revert process was to restore the svn history for the DB2Dictionary.java part. Somehow, the history for this part was lost when revision 510336 was integrated. I have not found a means of restoring that history. But, at least the contents are back to a known state.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@512327 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 17:23:27 +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
Srinivasa Segu
2a95f80f44
OPENJPA-151.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@511998 13f79535-47bb-0310-9956-ffa450edef68
2007-02-26 20:46:03 +00:00
Patrick Linskey
e20afb3134
OPENJPA-161
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@511043 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 18:25:55 +00:00
David J. Wisneski
2d3871b86b
DB2 Optimize for clause enhancement
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@510281 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 22:50:04 +00:00
Pinaki Poddar
018cf3278a
Use safe and standard way to print a pc.toString() using Exceptions.toString(Object) when logging messages that may cause infinite loop.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@509691 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 18:08:22 +00:00
Pinaki Poddar
e3f8a96205
Prevent access to the pc fields by implictly invoking _pc.toString() as that may cause infinite loop if toString() again tries to access unloaded field(s)
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@509688 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 17:57:24 +00:00
A. Abram White
1b446958f5
OPENJPA-146 : When copying an OID superclass field for re-mapping, revert type
...
to PC. It will re-resolve to OID on its own when the field's metadata is
resolved, and in the meantime it will ensure we use the same path for
metadata resolution as non-copied fields.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@509632 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 16:33:54 +00:00
Srinivasa Segu
09e7aab777
Capture the version fields into the memento when setting the savepoint and restore the version information into the StateManagerImpl as a part of the rollbackToSavepoint call.
...
Fix addresses OPENJPA-154.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@509411 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 02:00:50 +00:00
A. Abram White
8974a09908
Only substantive change is flipping the order of the args in an
...
ImplHelper.isAssignable call in FetchConfigurationImpl. We want to test
whether the type we're traversing to is derived from the type we're traversing
from.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@508459 13f79535-47bb-0310-9956-ffa450edef68
2007-02-16 16:02:05 +00:00
Kevin W. Sutter
dfc102beba
OPENJPA-141. A few improvements to the performance-related changes done with the previous Issue. Reference OPENJPA-141 for details. Biggest change was moving some of the common caching code to ImplHelper.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@508395 13f79535-47bb-0310-9956-ffa450edef68
2007-02-16 13:52:08 +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
Marc Prud'hommeaux
195d5ddd6c
Corrected issue with revision 505052 to ensure that isAssignable(from, to) passes if one element is null and the other element is an empty array (which indicates a compatible method signature).
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@505166 13f79535-47bb-0310-9956-ffa450edef68
2007-02-09 04:05:20 +00:00
Kevin W. Sutter
7ea424bf0b
OPENJPA-139. Need to include JavaTypes.CALENDAR in the switch statement when attempting to attach a field of type CALENDAR.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@505099 13f79535-47bb-0310-9956-ffa450edef68
2007-02-09 00:34:44 +00:00
A. Abram White
0a072b8a50
Fix possible NPE introduced in recent changes to MethodLifecycleCallbacks.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@505052 13f79535-47bb-0310-9956-ffa450edef68
2007-02-08 22:12:06 +00:00
Kevin W. Sutter
859da3f913
OPENJPA-133. Change the processing of the getMethod() method to properly recognize non-public callback methods, along with validating the parameter types.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@504970 13f79535-47bb-0310-9956-ffa450edef68
2007-02-08 17:21:19 +00:00
Pinaki Poddar
c13e2baab7
Dynamic implementation class of a subInterface is loaded with the classloader of the dynamic implementaion of the superInterface.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@504216 13f79535-47bb-0310-9956-ffa450edef68
2007-02-06 17:46:33 +00:00
Kevin W. Sutter
326df83bb2
Use single line commenting style (//) instead of the block commenting style (/*..*/).
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@503757 13f79535-47bb-0310-9956-ffa450edef68
2007-02-05 16:18:23 +00:00
Kevin W. Sutter
d826caf711
OPENJPA-119. Needed to allow the EM.clear operation to perform without doing an implicit flush. Introduced a new boolean
...
parameter to indicate whether a flush is desired or not. This allows both the new (correct) behaviour for JPA as well as the
old behaviour for other persistence personalities (JDO, etc). I also introduced a new testcase for this scenario, and updated
a couple of other tests.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@502751 13f79535-47bb-0310-9956-ffa450edef68
2007-02-02 21:12:35 +00:00
Marc Prud'hommeaux
9b78cd5441
Changed openjpac task to be called "enhance" instead..
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@502699 13f79535-47bb-0310-9956-ffa450edef68
2007-02-02 19:39:14 +00:00
Patrick Linskey
84763ce94e
OPENJPA-37: changed kodoc to openjpac
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@502394 13f79535-47bb-0310-9956-ffa450edef68
2007-02-01 23:04:22 +00:00
Kevin W. Sutter
3c58b8840c
Changes for OPENJPA-115. Removed the explicit lock/unlock invocations when obtaining an EM (broker). Changed
...
_brokers to use ConcurrentReferenceHashSet (with weak references). And, due to the weak references (probable
cause), I had to check for nulls when iterating through the _brokers during the close processing.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@502392 13f79535-47bb-0310-9956-ffa450edef68
2007-02-01 22:53:20 +00:00
Patrick Linskey
0b60936d33
OPENJPA-37
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@502374 13f79535-47bb-0310-9956-ffa450edef68
2007-02-01 22:03:31 +00:00
A. Abram White
2e0c5d576c
Avoid NPE.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@502369 13f79535-47bb-0310-9956-ffa450edef68
2007-02-01 21:58:20 +00:00
Pinaki Poddar
a11158d51a
Classloader used to generate dynamic implementaion of managed interface uses interfaces' classloader as parent
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@502326 13f79535-47bb-0310-9956-ffa450edef68
2007-02-01 19:36:21 +00:00
A. Abram White
11e3835d5f
Clear bytecode Project of ProxyManagerImpl to save memory.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@502277 13f79535-47bb-0310-9956-ffa450edef68
2007-02-01 16:40:26 +00:00
Marc Prud'hommeaux
2ac1bcccbb
OPENJPA-118: Implemented patch provided by David Ezzio for broken openjpa.AutoDetach behavior
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@502022 13f79535-47bb-0310-9956-ffa450edef68
2007-01-31 22:27:29 +00:00
A. Abram White
372e899981
Change EntityManagerImpl.assertOpen to EntityManagerImpl.assertNotCloseInvoked
...
to more accurately reflect the purpose of the method. Fix several instances
where we were relying on the method to actually check whether the underlying
broker was open.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@501468 13f79535-47bb-0310-9956-ffa450edef68
2007-01-30 16:56:13 +00:00
A. Abram White
5f76ea2eaf
Fix documentation on openjpa.LockManager property. Remove some redundant logic
...
from BrokerImpl.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@501171 13f79535-47bb-0310-9956-ffa450edef68
2007-01-29 20:11:43 +00:00
Marc Prud'hommeaux
2c5377f687
Throw an exception if the user tries to perform an bulk update with a parameter other than a primitive.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@499601 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 22:48:23 +00:00
Patrick Linskey
6e079939b5
improved error message. Yes, this message discusses concrete means for configuration that are not really in the purview of openjpa-kernel. But the benefit of directly mentioning the causes of the problem outweigh the coupling to the underlying configuration mechanisms, at least until we decide to move the error message generation to spec-dependent subtypes.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@499317 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 08:55:26 +00:00
Marc Prud'hommeaux
d1d0ef0260
When performing a bulk update in-memory, also support Literal and Constant parameters, since they might be used in their JDBC implementation when the original query was executed against the database.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@499196 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 00:39:18 +00:00
Pinaki Poddar
4a0ea7646b
TCP RemoteCommitProviders deserializes by input streams that are smart in resolving classes.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@499179 13f79535-47bb-0310-9956-ffa450edef68
2007-01-23 23:06:29 +00:00
A. Abram White
81c9a795ca
Use additional contextual classloaders when deserializing lob data.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@499137 13f79535-47bb-0310-9956-ffa450edef68
2007-01-23 21:10:21 +00:00
Srinivasa Segu
45d90fd282
Fixes to parse and use SqlResultSetMapping, SqlResultSetMappings annotations.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@498850 13f79535-47bb-0310-9956-ffa450edef68
2007-01-22 23:33:08 +00:00
Patrick Linskey
a40baca273
reformatted ugly code
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@497614 13f79535-47bb-0310-9956-ffa450edef68
2007-01-18 22:52:32 +00:00
Patrick Linskey
c7128669c7
fixes for OPENJPA-102 and OPENJPA-104
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@497185 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 21:40:37 +00:00
Patrick Linskey
d58ba3b25b
removed unneeded field
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@496922 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 03:28:57 +00:00
Patrick Linskey
3edddc6125
improved trace messages
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@496914 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 02:00:56 +00:00
A. Abram White
430d90f05f
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@495684 13f79535-47bb-0310-9956-ffa450edef68
2007-01-12 18:50:53 +00:00
A. Abram White
3dd1c43165
Allow use of reflection to access private id fields of pre-1.5 classes.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@495650 13f79535-47bb-0310-9956-ffa450edef68
2007-01-12 17:25:25 +00:00
Patrick Linskey
6055a34b42
OPENJPA-100: <jar-file> processing bugfix, and logging improvements
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@495028 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 23:06:42 +00:00
Patrick Linskey
c6121be583
import cleanup
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@495017 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 22:42:19 +00:00
Marc Prud'hommeaux
9549416b5f
Don't clear the @Version field when we clear the internal version.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@494551 13f79535-47bb-0310-9956-ffa450edef68
2007-01-09 20:08:10 +00:00
Marc Prud'hommeaux
799fc69719
Make sure we keep the entity's @Version field in sync with any changes to the internal version of the instance.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@494298 13f79535-47bb-0310-9956-ffa450edef68
2007-01-09 02:00:15 +00:00
Srinivasa Segu
0507313539
Fix to retain original FM because of the possibility of reentrant calls
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@493156 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 19:36:06 +00:00
A. Abram White
64fe22b628
Remove some incomplete comments.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@492821 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 00:00:36 +00:00
A. Abram White
61c87ac3a1
Allow refresh of new-flushed instances.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@492820 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 00:00:10 +00:00
A. Abram White
663fbe62e3
Force a version check when merging an unchanged detached entity to ensure that
...
we don't blindly use stale state.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@492790 13f79535-47bb-0310-9956-ffa450edef68
2007-01-04 22:44:19 +00:00
A. Abram White
056ecf52fd
Exception translation when a managed transaction completion even causes an
...
error.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@491994 13f79535-47bb-0310-9956-ffa450edef68
2007-01-03 00:48:59 +00:00
Srinivasa Segu
89f0148fb3
Fix - DetachedStateManager to dirty the owning metadata in case of a dirtied embedded field
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@489772 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 21:34:48 +00:00
Srinivasa Segu
fdabcf6f03
Use fetch - needed to handle autoassign value-strategy
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@489761 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 20:58:43 +00:00
Srinivasa Segu
414a5d474d
Reset the SM to the old value, instead of nulling out.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@489750 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 20:38:01 +00:00
A. Abram White
aecff50b27
Stop enhancing entity identity classes to make non-public properties public for
...
access by the various identity object manipulation methods of the enhanced
entity class. This caused problems with runtime enhancement if the identity
class was loaded before the entity class. Instead, rely on reflection to
access non-public identity class members.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@489408 13f79535-47bb-0310-9956-ffa450edef68
2006-12-21 17:08:38 +00:00
Marc Prud'hommeaux
fee371db06
Put in missing check for a NOT clause when short-circuiting an IN expression that has a single value.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@487926 13f79535-47bb-0310-9956-ffa450edef68
2006-12-17 01:10:19 +00:00
Marc Prud'hommeaux
25988d2793
Convert single values into Collections in order to support varargs "IN" expressions.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@487925 13f79535-47bb-0310-9956-ffa450edef68
2006-12-17 00:59:59 +00:00
Marc Prud'hommeaux
d98ca1d91d
Fixed error in substring range check.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@487923 13f79535-47bb-0310-9956-ffa450edef68
2006-12-17 00:31:48 +00:00
Patrick Linskey
264356a23f
created methods for interacting with product prefixes; moved configuration loading mechanisms to these new methods
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@487919 13f79535-47bb-0310-9956-ffa450edef68
2006-12-16 23:58:54 +00:00
A. Abram White
d823825a34
Allow configurable set of known unproxyable types.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@487410 13f79535-47bb-0310-9956-ffa450edef68
2006-12-15 00:55:14 +00:00
Marc Prud'hommeaux
847b33aa6e
Allow updating in-memory values with complex expressions, rather than just simple Constants and Literals.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@487403 13f79535-47bb-0310-9956-ffa450edef68
2006-12-15 00:04:53 +00:00
Marc Prud'hommeaux
53614b371f
Prevent the end range of a substring from going over the end of the string.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@487401 13f79535-47bb-0310-9956-ffa450edef68
2006-12-15 00:04:14 +00:00
A. Abram White
4e85c5eb84
Making loading of build-time generated proxies overridable by subclasses.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@487382 13f79535-47bb-0310-9956-ffa450edef68
2006-12-14 23:07:19 +00:00
A. Abram White
597930f15a
JPA says an EM should act closed when close() has been invoked even if the
...
persistence context remains open while the current managed transaction
completes.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@487339 13f79535-47bb-0310-9956-ffa450edef68
2006-12-14 20:27:16 +00:00
A. Abram White
d8be93089c
Generate proxies for all standard java.util types during jar packaging.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@486852 13f79535-47bb-0310-9956-ffa450edef68
2006-12-13 21:58:59 +00:00
A. Abram White
d6dbadaa3c
Option to create proxies for standard java.util types at build time. These
...
proxies can be serialized as proxies for use with detached state managers,
whereas runtime-generated proxies have to serialize themselves as a copied
instance of their corresponding java.util type in case they are transferred to
a different classloading environment.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@486825 13f79535-47bb-0310-9956-ffa450edef68
2006-12-13 20:14:26 +00:00
Marc Prud'hommeaux
0ffb985316
Allow the parameter to an IN(?) expression to be a Collection type, which allows variable-length IN parameters. The spec is a little vague about whether this should be allowed or not, but there's no reason not to support it.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@485967 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 00:40:22 +00:00
A. Abram White
6dff15b02f
Serialize proxies to non-proxy copies.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@485960 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 00:06:28 +00:00
A. Abram White
600d949140
Copy all calendar parameters that go towards equals() comparisons.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@485809 13f79535-47bb-0310-9956-ffa450edef68
2006-12-11 18:54:00 +00:00
A. Abram White
9dcdd3a35d
Improved error message.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@485804 13f79535-47bb-0310-9956-ffa450edef68
2006-12-11 18:41:30 +00:00
A. Abram White
d85fbdee04
Fix calendar proxy bug.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@484900 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 03:08:52 +00:00
A. Abram White
7b91f91273
Bytecode proxy fixes.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@484868 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 00:54:39 +00:00
A. Abram White
db174a9512
Better error message when attempting to proxy final class.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@484815 13f79535-47bb-0310-9956-ffa450edef68
2006-12-08 21:54:27 +00:00
A. Abram White
770abf1aa8
Don't proxy final classes.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@484812 13f79535-47bb-0310-9956-ffa450edef68
2006-12-08 21:52:41 +00:00
A. Abram White
e54b0c1908
Move to dynamically-created bytecode proxies for second class objects, rather
...
than checked-in proxy classes. This allows us to proxy custom collection,
map, and bean types.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@484693 13f79535-47bb-0310-9956-ffa450edef68
2006-12-08 18:32:07 +00:00
Pinaki Poddar
db25f08565
Terminate loop when connection attempt succeeds.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@483176 13f79535-47bb-0310-9956-ffa450edef68
2006-12-06 19:02:19 +00:00
Marc Prud'hommeaux
eb9a626945
Fixed bug where we weren't copying the nanoseconds when the Timestamp is cloned.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@482308 13f79535-47bb-0310-9956-ffa450edef68
2006-12-04 19:32:54 +00:00
Marc Prud'hommeaux
ca45e3292a
Changed syncWithManagedTransaction to return true if a transaction is already active (rather than throwing an exception), since section 5.9.2 of the JPA spec suggests that it should be legal to invoke EntityManager.joinTransaction() multiple times.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@480301 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 00:28:04 +00:00
Patrick Linskey
16f78782dd
fixed bug that caused cached JPQL queries to not properly cache the candidate class.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@479942 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 08:27:14 +00:00
Patrick Linskey
07dadf5564
removed duplicate info; added category data
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@477948 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 22:53:42 +00:00
Patrick Linskey
3fdf607c58
removed external dependency so that OpenJPAVersion can be run with just the openjpa jar in the classpath
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@477414 13f79535-47bb-0310-9956-ffa450edef68
2006-11-20 23:54:16 +00:00
Patrick Linskey
54d9735689
improved error messages; made NonPersistentMetaData serializable
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@475891 13f79535-47bb-0310-9956-ffa450edef68
2006-11-16 19:33:06 +00:00
Patrick Linskey
3a5185700f
invoke the close() callback at the beginning of ConfigurationImpl.close(); change other ConfigurationImpl subtypes to use preClose() instead of now-final close(); add test case for close callbacks.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@475115 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 04:20:30 +00:00
Patrick Linskey
a5f3ae42bf
realized immediately after committing that the id belongs at the generic Configuration level, not at the OpenJPAConfiguration level.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@475087 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 00:45:09 +00:00
Patrick Linskey
bda2015398
added openjpa.Id property, and put logic in PersistenceUnitInfoImpl to set the openjpa.Id property to the persistence unit name if no openjpa.Id property is discovered.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@475084 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 00:30:24 +00:00
Patrick Linskey
301580c069
made a number of configuration-related classes serializable to facilitate alternate means of configuration population; moved away from a couple more usages of commons collections LinkedMap; added new lifecycle callback to ProductDerivation interface
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@475059 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 23:42:42 +00:00
Marc Prud'hommeaux
3e8f9d931a
Updated to version 0.9.7-incubating-SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@474069 13f79535-47bb-0310-9956-ffa450edef68
2006-11-12 22:28:45 +00:00
Marc Prud'hommeaux
813bb89223
Updated to version 0.9.6-incubating
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@474050 13f79535-47bb-0310-9956-ffa450edef68
2006-11-12 21:36:52 +00:00
Marc Prud'hommeaux
ef56f8281b
Updated to version 0.9.7-incubating-SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@473962 13f79535-47bb-0310-9956-ffa450edef68
2006-11-12 12:59:24 +00:00
Marc Prud'hommeaux
ead07f40c0
Rolled back to 0.9.6-incubating to re-run the release process; fixed licenses in NOTICE.txt; added license headers to files where they were missing; removed sun.misc.Perf class, since we are no longer supporting JDK 1.3 (and it is only unavailable in 1.3 and lower)
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@473939 13f79535-47bb-0310-9956-ffa450edef68
2006-11-12 11:44:59 +00:00
Patrick Linskey
de3f43a5cd
moved to JDK1.4
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@473448 13f79535-47bb-0310-9956-ffa450edef68
2006-11-10 19:44:47 +00:00
A. Abram White
fb770599b0
Fix for deeply nested subqueries, and for the JPQL IN(<subquery>) construct.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@473140 13f79535-47bb-0310-9956-ffa450edef68
2006-11-09 23:55:41 +00:00
Marc Prud'hommeaux
cf56e213a9
Updated to version 0.9.7-incubating-SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472718 13f79535-47bb-0310-9956-ffa450edef68
2006-11-09 00:41:04 +00:00
Kevin W. Sutter
535d6a9f94
Simplify the usage of the WAS ExtendedJTATransaction API. We only need to check the globalId (and not the localId) for presence of a global (user) transaction. Also corrected some of the exception processing and tracing of exceptions for rollback processing.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472327 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 23:33:50 +00:00
A. Abram White
8efffbdd4b
Test for the OpenJPAQuery.setSubclasses method.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472310 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 22:38:37 +00:00
A. Abram White
3b9fa1f25a
Bugfix for when abstract base class has no discriminator value. Cleanup of
...
query compilation cache additions.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472275 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 21:20:57 +00:00
Marc Prud'hommeaux
0e02efdfbf
Updated version to 0.9.6-incubating in hopes of having a release
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472238 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 20:34:03 +00:00
Patrick Linskey
7ad13de0b7
oops; added ASL header
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472220 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 19:35:30 +00:00
Patrick Linskey
eb777be3ac
Moved Kodo query compilation cache into OpenJPA.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472218 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 19:33:43 +00:00
Patrick Linskey
05f7fac863
Michael Dick's patch for OPENJPA-76, plus a tweak to make it use resources instead of files.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472018 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 08:01:49 +00:00
A. Abram White
9a2a907261
Fix possible NPEs resulting from Patrick's last DataCacheStoreManager commit.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@471831 13f79535-47bb-0310-9956-ffa450edef68
2006-11-06 19:06:21 +00:00
A. Abram White
9623c5c6f8
Support many-one and one-one relations as primary key fields.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@471045 13f79535-47bb-0310-9956-ffa450edef68
2006-11-03 23:15:08 +00:00
Marc Prud'hommeaux
b4077bd6a6
OPENJPA-74: Fixed multiple problems with named queries: 1. They were not being parsed as part of the orm.xml file, since we were incorrectly looking for an attribute named 'query' (when it really should have been a sub-element named 'query'). 2. Looking for a named query did not force resolution of all metadatas. 3. An NPE was being thrown when a JPQL query was created with a null filter
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@470996 13f79535-47bb-0310-9956-ffa450edef68
2006-11-03 21:10:39 +00:00
Patrick Linskey
caa1ea4543
made in-mem match queries fail faster; added another test case for new DataCacheStoreManager work
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@469429 13f79535-47bb-0310-9956-ffa450edef68
2006-10-31 09:43:43 +00:00
A. Abram White
ac59115c10
Reorder and comment terminal conditions at the beginning of
...
DataCacheStoreManager.flush to make them a little more clear to slow people
like me.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@469326 13f79535-47bb-0310-9956-ffa450edef68
2006-10-31 00:11:09 +00:00
Patrick Linskey
a493e790b7
Removed some dead code and unused imports.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@469315 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 23:32:19 +00:00
Patrick Linskey
0a96982e61
Fixed OPENJPA-70. Data caching + external modifications could result in stale data getting stuck in cache.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@469313 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 23:23:11 +00:00
A. Abram White
2ed7c2db2a
Move build logic for adding an interface to WASManagedRuntime's inner class to
...
WASManagedRuntime itself. Move caching in WASManagedRuntime to
endConfiguration() callback to avoid threading issues.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@468504 13f79535-47bb-0310-9956-ffa450edef68
2006-10-27 19:17:32 +00:00
A. Abram White
ba1d289735
Fix OPENJPA-68.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@468455 13f79535-47bb-0310-9956-ffa450edef68
2006-10-27 17:04:24 +00:00
Kevin W. Sutter
228bee2043
Seems like we have some differences in how Sun and IBM (and maybe other) JDK's process the messages returned in a NoClassDefFoundError exception. To simplify this testcase and make it pass in any environment, I'm just going to test just for the Interface Name (minus the package).
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@468434 13f79535-47bb-0310-9956-ffa450edef68
2006-10-27 16:06:34 +00:00
Patrick Linskey
1af459a496
changed test case to convert . to / when doing class name searches. This test now passes in my environment.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@468284 13f79535-47bb-0310-9956-ffa450edef68
2006-10-27 05:52:34 +00:00
Patrick Linskey
ea81e82435
changed test case to include more debug info in failures. This test case does not pass on my machine.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@468283 13f79535-47bb-0310-9956-ffa450edef68
2006-10-27 05:41:03 +00:00
Kevin W. Sutter
27563987ef
First step in resolving OPENJPA-63. This change removes the usage of internal WebSphere transaction-related APIs and replaces it with the public ExtendedJTATransaction interface usage.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@468064 13f79535-47bb-0310-9956-ffa450edef68
2006-10-26 17:08:05 +00:00
Marc Prud'hommeaux
e2f38567a1
Upgraded to version '0.9.6-incubating-SNAPSHOT'
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@464753 13f79535-47bb-0310-9956-ffa450edef68
2006-10-17 00:05:01 +00:00
Marc Prud'hommeaux
fb00d685bd
Upgraded to version '0.9.5-incubating'
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@464711 13f79535-47bb-0310-9956-ffa450edef68
2006-10-16 23:00:34 +00:00
A. Abram White
fe3fac6750
Remove author tag; I think someone (Steve K?) copied a class I wrote and left
...
the author tag intact, because I don't think I wrote this class.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@464612 13f79535-47bb-0310-9956-ffa450edef68
2006-10-16 18:30:48 +00:00
A. Abram White
f27898f280
Take advantage StringUtils where appropriate.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@462617 13f79535-47bb-0310-9956-ffa450edef68
2006-10-10 22:39:15 +00:00
Marc Prud'hommeaux
0c58bedbb6
Updated version to be openjpa-0.9.5-incubating-SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@454516 13f79535-47bb-0310-9956-ffa450edef68
2006-10-09 21:16:48 +00:00
Marc Prud'hommeaux
2fbc438887
Updated to final 0.9.0-incubating release number
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@454452 13f79535-47bb-0310-9956-ffa450edef68
2006-10-09 18:40:10 +00:00
A. Abram White
0bc4acc2af
Always use a ConfigurationProvider that supplies a spec.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@454191 13f79535-47bb-0310-9956-ffa450edef68
2006-10-08 19:05:15 +00:00
A. Abram White
d490f545c4
Make the inability to instantiate an auxiliary enhancer non-fatal. Also cache
...
auxiliary enhancers statically to speed up enhancement.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@454184 13f79535-47bb-0310-9956-ffa450edef68
2006-10-08 18:17:28 +00:00
A. Abram White
dcf691a727
Get rid of warning for product derivations that use an unsupported class
...
version. Minor API changes.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@454072 13f79535-47bb-0310-9956-ffa450edef68
2006-10-08 04:03:06 +00:00
Patrick Linskey
28910a7374
Changed OpenJPAProductDerivation to have a proper lifecycle callback for BrokerFactoryValue initialization; added supporting infrastructure as needed.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@454064 13f79535-47bb-0310-9956-ffa450edef68
2006-10-08 02:05:49 +00:00
Patrick Linskey
43f5348782
Overwrite the *correct* slot. We really need to move this aliasing system to a map at some point.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@454057 13f79535-47bb-0310-9956-ffa450edef68
2006-10-08 01:03:25 +00:00
Patrick Linskey
fb42b621b3
avoid duplicate alias key-value pairs. We really need to move this aliasing system to a map at some point.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@454053 13f79535-47bb-0310-9956-ffa450edef68
2006-10-08 00:55:35 +00:00
Patrick Linskey
5e5babb38c
added openjpa to the VERSION_ID field for clarity
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453970 13f79535-47bb-0310-9956-ffa450edef68
2006-10-07 17:45:24 +00:00
Patrick Linskey
d3b3b3a212
made the revision.properties file name a bit more unique to avoid collisions with other projects using the same pattern
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453957 13f79535-47bb-0310-9956-ffa450edef68
2006-10-07 16:31:49 +00:00
Patrick Linskey
e61de9586c
added more details to error message; made OpenJPA startup banner configurable
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453932 13f79535-47bb-0310-9956-ffa450edef68
2006-10-07 15:31:16 +00:00
Patrick Linskey
34f6cb589e
backwards-compat for old invocations of getFullName().
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453878 13f79535-47bb-0310-9956-ffa450edef68
2006-10-07 09:30:33 +00:00
Patrick Linskey
fe42d24e9b
made ProductDerivations a bit more fault-tolerant -- when a failure occurs while loading ProductDerivation instances defined in services files, the system continues to start up with the ProductDerivations that did load, and a warning is printed to stderr. Note that this means that people using the uber-jar in 1.3 or 1.4 environments, or without having javax.persistence in their classpath, for example, will see warnings on stderr.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453875 13f79535-47bb-0310-9956-ffa450edef68
2006-10-07 09:22:29 +00:00
Patrick Linskey
1201726c3e
minor cleanup of duplicate code
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453799 13f79535-47bb-0310-9956-ffa450edef68
2006-10-06 22:52:20 +00:00
A. Abram White
433475f6ad
Merge fixes from Kodo 4.0 line.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453796 13f79535-47bb-0310-9956-ffa450edef68
2006-10-06 22:31:28 +00:00
Marc Prud'hommeaux
27e8bd4849
Handle exceptions in getFactoryClass() when it is just being used for inclusion in the error message of an exception.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453712 13f79535-47bb-0310-9956-ffa450edef68
2006-10-06 17:57:23 +00:00
A. Abram White
dc09b61954
Fixes from Kodo's 3.4 branch.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453685 13f79535-47bb-0310-9956-ffa450edef68
2006-10-06 17:13:21 +00:00
A. Abram White
c0c4c3c738
Fixes relating to multiple same-typed embedded fields loading eager relations,
...
and deep vertical inheritance hierarchies where the base class's primary key
is auto-assigned on insert.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453449 13f79535-47bb-0310-9956-ffa450edef68
2006-10-06 01:04:34 +00:00
A. Abram White
69d8dd3da9
Enable caching of embedded instances by datacache. Fix bugs in
...
DataCachePCDataGenerator.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453066 13f79535-47bb-0310-9956-ffa450edef68
2006-10-04 23:43:51 +00:00
A. Abram White
d0bca27ecd
When there is only one callback exception, use its error message in top-level
...
exception.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453044 13f79535-47bb-0310-9956-ffa450edef68
2006-10-04 21:52:17 +00:00
A. Abram White
5337ce10d0
Possible fix for OPENJPA-13 JIRA issue. Also fix possible NPE on delayed close
...
on transaction completion in managed environment.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453016 13f79535-47bb-0310-9956-ffa450edef68
2006-10-04 20:46:25 +00:00
A. Abram White
8785be46e7
Handle exceptions from transaction listeners appropriately. Allow user to
...
override default CallbackMode for both lifecycle and transaction listeners.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@452981 13f79535-47bb-0310-9956-ffa450edef68
2006-10-04 19:12:34 +00:00
Marc Prud'hommeaux
88acae75c1
Removed special logic for forcing an inner join for projection clauses, since that logic is duplicated elsewhere.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@452684 13f79535-47bb-0310-9956-ffa450edef68
2006-10-04 00:33:46 +00:00
A. Abram White
c1a857c915
Move the Perf class that supports some of our concurrency utils on older JVMs
...
to lib, where it belongs.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@452683 13f79535-47bb-0310-9956-ffa450edef68
2006-10-04 00:26:45 +00:00
A. Abram White
174ae93d41
MetaDataFactory.newInstance method no longer needed. Continue work on docs
...
(note: docs may temporarily be in invalid state).
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@452592 13f79535-47bb-0310-9956-ffa450edef68
2006-10-03 18:36:45 +00:00
Marc Prud'hommeaux
f18ea3dd33
Set the data cache schedule thread to be a daemon thread.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@452289 13f79535-47bb-0310-9956-ffa450edef68
2006-10-03 01:20:16 +00:00
A. Abram White
bdae6535ec
Miscellaneous cleanup and fixes. Some documentation review.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@452243 13f79535-47bb-0310-9956-ffa450edef68
2006-10-02 22:22:18 +00:00
Patrick Linskey
bc9422ea5d
improved error message
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@451707 13f79535-47bb-0310-9956-ffa450edef68
2006-10-01 01:28:25 +00:00
Stephen Kim
9fb0a9a6f5
fix deletion of PNewProvisional
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@451691 13f79535-47bb-0310-9956-ffa450edef68
2006-09-30 22:34:55 +00:00
Stephen Kim
923eb32d31
fixed duplicate preFlush and bug wrt persist vs nonprovisional in
...
singlefieldmanager
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@451543 13f79535-47bb-0310-9956-ffa450edef68
2006-09-30 05:29:10 +00:00
Marc Prud'hommeaux
5eb55ee87a
Changed REVISION_NUMBER to be a String, since Subversion revisions can be a string (e.g., "420667:451468M")
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@451470 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 22:07:21 +00:00
Stephen Kim
f104321da8
avoid duplicate event call
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@451011 13f79535-47bb-0310-9956-ffa450edef68
2006-09-28 20:18:07 +00:00
Stephen Kim
d833950424
committed wrong version of pNewProviisonal handling
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@450937 13f79535-47bb-0310-9956-ffa450edef68
2006-09-28 17:47:23 +00:00
Stephen Kim
bd340fbe15
PNewProvisional again. I think I covered the object graph reflush issue
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@450916 13f79535-47bb-0310-9956-ffa450edef68
2006-09-28 16:34:05 +00:00
Pinaki Poddar
98d1da1fba
Moved Entity Listener constraints from MetaDataDefaults in kernel to JPA facade PersistenceMetaDataDefaults
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@450731 13f79535-47bb-0310-9956-ffa450edef68
2006-09-28 07:24:11 +00:00
Marc Prud'hommeaux
3620b80ce4
Null checks.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@450619 13f79535-47bb-0310-9956-ffa450edef68
2006-09-27 22:50:08 +00:00
Stephen Kim
7522db86fd
boot provisional changes for now. I think I'm missing a huge hole with hashing
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@450350 13f79535-47bb-0310-9956-ffa450edef68
2006-09-27 06:46:15 +00:00
Stephen Kim
c6537ccba6
PNewProvisional
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@450321 13f79535-47bb-0310-9956-ffa450edef68
2006-09-27 05:24:44 +00:00
A. Abram White
46736c6018
Fix configuration warnings for misspelled property names.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@450173 13f79535-47bb-0310-9956-ffa450edef68
2006-09-26 20:11:33 +00:00
Pinaki Poddar
5b9c773c81
Correcting JavaDoc formatting error.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@450164 13f79535-47bb-0310-9956-ffa450edef68
2006-09-26 19:35:41 +00:00
Pinaki Poddar
9a52726ea2
Applying the constraints that the entity listner class
...
a) must have a no-arg constructor
b) multiple methods of the same class must not register for the same event
(JPA Spec Section 3.5)
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@450158 13f79535-47bb-0310-9956-ffa450edef68
2006-09-26 19:23:48 +00:00
A. Abram White
62bc6c997c
Change default MaxFetchDepth to -1 (unlimited). Also move the use of multiple
...
configuration prefixes to ProductDerivations for simple static access. Modify
some cases of looking for "openjpa." prefixes to properties to properly look
for all configured prefixes instead.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@450114 13f79535-47bb-0310-9956-ffa450edef68
2006-09-26 16:54:30 +00:00
A. Abram White
ed0d6b1fec
Version number fixes.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@449048 13f79535-47bb-0310-9956-ffa450edef68
2006-09-22 18:51:23 +00:00
A. Abram White
a9089d2688
PDeleted version check causing problems.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@449044 13f79535-47bb-0310-9956-ffa450edef68
2006-09-22 18:37:11 +00:00
A. Abram White
cdcfea47d4
Review/cleanup of product derivation work.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@448025 13f79535-47bb-0310-9956-ffa450edef68
2006-09-20 01:29:55 +00:00
Pinaki Poddar
2c31d9c6df
1. Refactoring ConfigurationProvider/ProductDerivation subsystem.
...
2. Extensibility of OpenJPA via ProductDerivation
Primary modifications are
a) The configuration information resources are located/parsed/loaded via dynamically discovered ProductDerivation services
(instead of ConfigurationProviders). ConfigurationProvider is not enlisted as a service any more.
b) Tools are modified to use ProductDerivations instead of Configurations
c) ProductDerivation has moved to lib from kernel.
d) ProductDerivation types that are STORE specific are no more defined in lib version.
OpenJPAProductDerivation in kernel package defines them. The type constants have holes.
e) One test is modified
f) pom.xml is modified as ProductDerivation has moved to lib from kernel
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@447664 13f79535-47bb-0310-9956-ffa450edef68
2006-09-19 00:50:57 +00:00
Stephen Kim
52e2d38ed9
forgot localization
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@446909 13f79535-47bb-0310-9956-ffa450edef68
2006-09-16 18:25:43 +00:00
Stephen Kim
05865aef89
Remove warning from enhancing impl generated classes and optimize
...
class / interface interaction
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@446904 13f79535-47bb-0310-9956-ffa450edef68
2006-09-16 17:39:57 +00:00
Marc Prud'hommeaux
944f8ad22c
Non-optimistic transactions will no longer perform a version check when committing dirty objects, unless the NonOptimisticVersionCheck compatibility property is set to true. This allows dirty instances enlisted in a non-optimistic transaction to be allowed to overwrite conflicting versions in the database.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@446799 13f79535-47bb-0310-9956-ffa450edef68
2006-09-16 00:44:55 +00:00
A. Abram White
a7cfbfc4c9
Fixes.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@446787 13f79535-47bb-0310-9956-ffa450edef68
2006-09-15 23:49:21 +00:00
Marc Prud'hommeaux
53dbcdf35c
Add a better error message when casting an instance to PersistenceCapable fails due to the PersistenceCapable interface being loaded by two separate ClassLoaders
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@446769 13f79535-47bb-0310-9956-ffa450edef68
2006-09-15 22:12:05 +00:00
Marc Prud'hommeaux
b2e0133907
Fixed error in last commit.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@443537 13f79535-47bb-0310-9956-ffa450edef68
2006-09-15 00:51:18 +00:00
Marc Prud'hommeaux
c6c683e8ac
Allow callback methods to accept the Entity subclass of the type they are listening on, rather than forcing them to all take an argument of type java.lang.Object (section 3.5.1)
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@443509 13f79535-47bb-0310-9956-ffa450edef68
2006-09-14 23:06:11 +00:00
A. Abram White
72f7b6b963
Query fixes.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@443170 13f79535-47bb-0310-9956-ffa450edef68
2006-09-14 00:05:16 +00:00
A. Abram White
913e54c93c
No need to beginOperation (and especially sync with trans) in
...
internal isTransactionEnding method.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@443164 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 23:23:22 +00:00
Stephen Kim
cfcca49521
fix for re-proxying of hashed types during commit / rollback
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@443153 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 22:45:21 +00:00
Kevin W. Sutter
9650a1a20b
Minor updates to comments and doc... While doing the removal of the LockGroup stuff, I came across an entry for
...
contacting support@solarmetric.com for some customization feature. While cleaning that up, I also cleaned up any
other references to @solarmetric.com and @bea.com.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@443123 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 21:05:42 +00:00
A. Abram White
a9eaf4683b
Formatting.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@443073 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 18:57:13 +00:00
Stephen Kim
8a9c647907
load registered class metadata when getting implementors
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@443016 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 16:31:50 +00:00
Marc Prud'hommeaux
d78bcae002
Only make an instance nontransactional if it is not in the TCleanState, which should not transitional to nontransactional upon detach. Only make an instance nontransactional if it is not in the TCleanState, which should not transitional to nontransactional upon detach.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@442774 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 00:44:14 +00:00
A. Abram White
832d913520
Delete child object(s) before parent when cascading delete. Also fix case where
...
an interface field uses targetEntity to declare itself as a concrete entity
relation, and add test case for fix.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@442718 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 21:39:01 +00:00
A. Abram White
6ac482c68f
Fix erroneous change I made yesterday.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@442691 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 20:06:29 +00:00
Stephen Kim
2dfe77f2ca
Record interface superclasses
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@442494 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 07:06:25 +00:00
Stephen Kim
1defd23037
Supports for interface query alias metadata
...
as well as refactoring persistence-aware metadata into non-persistent metadata
to support non-managed interfaces
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@442363 13f79535-47bb-0310-9956-ffa450edef68
2006-09-11 21:56:55 +00:00
A. Abram White
da1961910b
Change to allow fields to use per-class sequences.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@442269 13f79535-47bb-0310-9956-ffa450edef68
2006-09-11 17:28:44 +00:00
Marc Prud'hommeaux
25e80a994e
OPENJPA-42 Check for the existence of superclass metadata in getSuperclassField so we throw a better exception than an NPE if it doesn't exist.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@442030 13f79535-47bb-0310-9956-ffa450edef68
2006-09-10 23:24:02 +00:00
A. Abram White
37aa91d2af
Simplify determination of identity type in metadata, also correcting problems
...
with determining the identity type of hierarchies involving @MappedSuperclasses.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@441679 13f79535-47bb-0310-9956-ffa450edef68
2006-09-08 22:45:39 +00:00
A. Abram White
7e30623c7b
Refactor JDBC query expression tree to allow greater concurrency and to handle
...
parameters in result clauses of projections.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@441158 13f79535-47bb-0310-9956-ffa450edef68
2006-09-07 17:51:05 +00:00
Marc Prud'hommeaux
56d5f6469e
OPENJPA-40 Fall back to using the ConfigurationProvider's ClassLoader in the even of a loader mismatch.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@440882 13f79535-47bb-0310-9956-ffa450edef68
2006-09-06 21:42:31 +00:00
Pinaki Poddar
253407b69c
Refatoring user facing classes (FetchPlan, Generator, Extent, StoreCache) into interfaces.
...
Adding hooks for extended EntityManagerFactory and ConfigurationProvider.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@440714 13f79535-47bb-0310-9956-ffa450edef68
2006-09-06 13:52:35 +00:00
A. Abram White
c1a146714e
InheritanceComparator has been changed to public: add @nojavadoc to prevent
...
inclusion of this internal component in user javadoc.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@440400 13f79535-47bb-0310-9956-ffa450edef68
2006-09-05 16:59:11 +00:00
Stephen Kim
5240ea8612
remove executable flag on file
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@440254 13f79535-47bb-0310-9956-ffa450edef68
2006-09-05 04:34:44 +00:00
Stephen Kim
2b66092a80
fix inheritance issue again with interfaces
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@439554 13f79535-47bb-0310-9956-ffa450edef68
2006-09-02 07:27:13 +00:00
Stephen Kim
fc9b67f556
changed ordering to avoid super / subclass clashing
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@439550 13f79535-47bb-0310-9956-ffa450edef68
2006-09-02 06:36:19 +00:00
Stephen Kim
4f4b1b29fe
bug in ordering
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@439548 13f79535-47bb-0310-9956-ffa450edef68
2006-09-02 06:17:06 +00:00
Stephen Kim
fe6352fca1
whoops. forgot interface impl generator
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@439412 13f79535-47bb-0310-9956-ffa450edef68
2006-09-01 18:18:03 +00:00
Stephen Kim
423b0a418a
Support for managed interfaces
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@439383 13f79535-47bb-0310-9956-ffa450edef68
2006-09-01 17:16:50 +00:00
Marc Prud'hommeaux
c39b7141ce
Don't allow conversion from number to String if the strict flag is set to true.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@438746 13f79535-47bb-0310-9956-ffa450edef68
2006-08-31 01:51:30 +00:00
Marc Prud'hommeaux
582c83b29b
OPENJPA-15 Updated grammer to fix some inconsistencies with the spec
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@438573 13f79535-47bb-0310-9956-ffa450edef68
2006-08-30 18:16:40 +00:00
Patrick Linskey
01735b1234
changed @since tags to disambiguate the Kodo information with future releases of OpenJPA by adding a 0. to the beginning of each.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@438566 13f79535-47bb-0310-9956-ffa450edef68
2006-08-30 17:53:55 +00:00
A. Abram White
163cc2a22c
Framework for allowing ranges in query strings to be specified as parameters
...
(not needed for JPQL, but for others). Also consolidated some internal query
framework APIs.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@438338 13f79535-47bb-0310-9956-ffa450edef68
2006-08-30 03:43:16 +00:00
Marc Prud'hommeaux
dc1f0bf204
OPENJPA-30 Changed version to 0.9.0-incubating-SNAPSHOT in accordance with Apache incubator guidelines
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@437209 13f79535-47bb-0310-9956-ffa450edef68
2006-08-26 18:59:34 +00:00
Patrick Linskey
96e534a165
moved POM to use ant task instead of java invocation; changed service invocations to use the classloader of the class being looked up to avoid issues with cyclic-static blocks; improved debug info
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@436945 13f79535-47bb-0310-9956-ffa450edef68
2006-08-25 21:00:19 +00:00
Marc Prud'hommeaux
caffb77405
Prefixed pom names with 'OpenJPA' to make them more friendly when their public names are displayed
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@436911 13f79535-47bb-0310-9956-ffa450edef68
2006-08-25 19:16:23 +00:00
Patrick Linskey
dcb47f0fe4
OPENJPA-14. Use the class's classloader in environments when service lookups should be looking in the OpenJPA distribution. This imposes the restriction that OpenJPA will only find services in the same classloader as the OpenJPA jars themselves, which is a much better restriction than requiring that the classes be in the thread's context classloader.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@436694 13f79535-47bb-0310-9956-ffa450edef68
2006-08-25 07:33:50 +00:00
A. Abram White
fe71475a59
Formatted our documentation XML files.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@434517 13f79535-47bb-0310-9956-ffa450edef68
2006-08-24 20:41:12 +00:00
Marc Prud'hommeaux
bad3cba9b6
Changed version to be a SNAPSHOT so we can use the snapshotRepository
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@434196 13f79535-47bb-0310-9956-ffa450edef68
2006-08-23 21:37:05 +00:00
Marc Prud'hommeaux
4436a3d90f
Escaped the "{user.home}" string with a "'" so that MessageFormat does not try to interpret it as a token (and then fail).
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@433855 13f79535-47bb-0310-9956-ffa450edef68
2006-08-23 03:10:33 +00:00
Marc Prud'hommeaux
9af2df4d09
Added generation of a /META-INF/revision.properties file that will hold the current subversion revision that was used when creating the jars; also made org.apache.openjpa.conf.OpenJPAVersion output this information when it is found
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@433850 13f79535-47bb-0310-9956-ffa450edef68
2006-08-23 02:43:02 +00:00
Pinaki Poddar
9246ee92bc
A message for PersistenceAware class being added as PersistenceCapable also.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@433815 13f79535-47bb-0310-9956-ffa450edef68
2006-08-23 00:39:00 +00:00
Pinaki Poddar
1aec5d3dde
Added support for PersistenceAwareClass -- wraps java.lang.Class thinly with SourceTracker.
...
Modified MetaDataRepository to add a container for PersistenceAwareClasses.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@433811 13f79535-47bb-0310-9956-ffa450edef68
2006-08-23 00:11:29 +00:00
Marc Prud'hommeaux
6f0a7f67da
Added expression-level support for Map.get in queries
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@433460 13f79535-47bb-0310-9956-ffa450edef68
2006-08-22 01:50:43 +00:00
A. Abram White
d5bb522c34
No need for parser to populate separate QueryExpressions.aggregate member now
...
that we can visit the projection values to see if they're aggregates.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@433431 13f79535-47bb-0310-9956-ffa450edef68
2006-08-21 23:53:49 +00:00
A. Abram White
9de5395486
Add some query validations on compilation.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@433399 13f79535-47bb-0310-9956-ffa450edef68
2006-08-21 22:29:47 +00:00
A. Abram White
978bc40091
JIRA: OPENJPA-14
...
Applied patch (with some minor corrections).
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@433281 13f79535-47bb-0310-9956-ffa450edef68
2006-08-21 16:53:51 +00:00
A. Abram White
037a45d7e4
Add visitor pattern to query expression trees, and redo a couple of our existing
...
tree interrogation methods to use it. This will allow us to add more
validations at query compilation time (we're missing some that are required for
JDO 2, for example) without having to expand the API of every query
expression/value implementation, in addition to just being more flexible
overall.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@432778 13f79535-47bb-0310-9956-ffa450edef68
2006-08-19 01:03:35 +00:00
A. Abram White
2ccc242679
When a relation mapping uses the expected class of the related type as part of
...
its join criteria (in addition to the standard foreign key join), make sure
discriminator conditions are appended to the WHERE SQL not only when loading
the relation, but also when traversing it in queries.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@432067 13f79535-47bb-0310-9956-ffa450edef68
2006-08-16 23:27:04 +00:00
A. Abram White
aba057d644
Allow our JPA ConfigurationProviderImpl to find a default persistence unit in
...
persistence.xml when no explicit configuration is given to dev tools. Do this
in a backwards-compatible way that won't break previous behavior or other facade
behavior (JDO). This means you should no longer have to pass
"-p persistence.xml" to tools like the enhancer, nor should you have to specify
a properties argument to the PCEnhancerAgent in the premain for runtime
enhancement.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@430897 13f79535-47bb-0310-9956-ffa450edef68
2006-08-11 21:07:58 +00:00
Stephen Kim
07a13ab908
Clean up detach on serialize and ensure declared constructors are properly
...
public for externalize
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@430303 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 08:14:18 +00:00
Stephen Kim
a120874a44
Include unpinAll/pinAll by class methods
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@429797 13f79535-47bb-0310-9956-ffa450edef68
2006-08-08 20:23:35 +00:00
Patrick Linskey
6234f8d3da
Changed logging infrastructure to be aware of localization; changed localization to return log-ready Message instances instead of strings. Changed tons of code to use the new logging and localization calls.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@429535 13f79535-47bb-0310-9956-ffa450edef68
2006-08-08 01:42:34 +00:00
Pinaki Poddar
f44dd067d8
unsupported-value-strategy had a wrong {n} in the message.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@429498 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 22:36:42 +00:00
A. Abram White
b499aded0d
Anything can be converted to a string in query comparisons.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@429440 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 19:18:04 +00:00
A. Abram White
d293c449b1
Formatting.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@428929 13f79535-47bb-0310-9956-ffa450edef68
2006-08-05 00:07:12 +00:00
A. Abram White
f7f225f96d
Change names of query languages to have "openjpa" prefix rather than
...
"org.apache.openjpa" to match configuration properties. Some minor code
formatting fixes.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@428918 13f79535-47bb-0310-9956-ffa450edef68
2006-08-04 23:12:30 +00:00
Pinaki Poddar
8e66833915
changed auxiliary enhancer interface
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@428897 13f79535-47bb-0310-9956-ffa450edef68
2006-08-04 22:02:51 +00:00
Pinaki Poddar
8c2c40dfe1
Added provisions for auxiliary enhancers to omit specific methods to be enhanced
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@428886 13f79535-47bb-0310-9956-ffa450edef68
2006-08-04 21:14:48 +00:00
A. Abram White
77e7d97379
Fetch group fixes.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@428577 13f79535-47bb-0310-9956-ffa450edef68
2006-08-03 23:56:32 +00:00
A. Abram White
bc10dd2efd
Remove incorrect lifecycle callback invocation.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@428538 13f79535-47bb-0310-9956-ffa450edef68
2006-08-03 21:48:37 +00:00
A. Abram White
eb333839db
More work on type promotion and casting in queries. Also, make sure DFG is
...
in active fetch groups before testing it for post-load callbacks.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@428484 13f79535-47bb-0310-9956-ffa450edef68
2006-08-03 19:16:47 +00:00
A. Abram White
f2a266c4c2
Allow null load-fetch-group. Allow a DFG field to have a different
...
load-fetch-group.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@428177 13f79535-47bb-0310-9956-ffa450edef68
2006-08-02 22:23:32 +00:00
Pinaki Poddar
b3f8f9de48
Added load-fetch-group to FieldMetaData and StateManager loading
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@428120 13f79535-47bb-0310-9956-ffa450edef68
2006-08-02 19:53:42 +00:00
A. Abram White
df43989689
Query type promotion fix.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@428102 13f79535-47bb-0310-9956-ffa450edef68
2006-08-02 19:21:31 +00:00
A. Abram White
3f82b8aec0
Fix bug in numeric promotion in queries.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@428090 13f79535-47bb-0310-9956-ffa450edef68
2006-08-02 19:02:53 +00:00
A. Abram White
b2e1912dc7
Fix StoreFacadeTypeRegistry to work when multiple stores are available. Fix
...
problems with creating a persistence FetchPlan, and with getting max depth.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@428069 13f79535-47bb-0310-9956-ffa450edef68
2006-08-02 17:51:43 +00:00
A. Abram White
a98213071a
Use latest stable releases of commmons dependencies. Add missing localized msg.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@427784 13f79535-47bb-0310-9956-ffa450edef68
2006-08-01 23:09:17 +00:00
Patrick Linskey
e889cd2aef
cleaned up some imports; fixed a typo; changed test case to reduce output
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@427472 13f79535-47bb-0310-9956-ffa450edef68
2006-08-01 07:05:08 +00:00
A. Abram White
2fd7381e53
Throw good error message about META-INF/services if we can't find any
...
configuration providers or product derivations. This has the downside of
mandating that there must be at least one valid product derivation and one
valid configuration provider available (theoretically someone using brokers
directly together with a simpl store like the sample XML store wouldn't need
either), but otherwise the final error message to the user is often meaningless.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@427229 13f79535-47bb-0310-9956-ffa450edef68
2006-07-31 19:36:46 +00:00
A. Abram White
696cbee04b
Always pass non-null fetch conf to StoreManager.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@427206 13f79535-47bb-0310-9956-ffa450edef68
2006-07-31 18:50:19 +00:00
A. Abram White
f279a6790b
Added openjpa.MaxFetchDepth configuration property to globally control default
...
max fetch depth.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@427191 13f79535-47bb-0310-9956-ffa450edef68
2006-07-31 18:24:44 +00:00
A. Abram White
979d2340e9
Cleanup of fetch group metadata and internal runtime APIs. Now that fetch depth
...
information is immutable within a fetch instance and cloned on relation
traversal, it was safe to combine fetch state back into the fetch configuration
class and remove the fetch state class for cleaner APIs (no more having some
components use fetch state and others fetch configuration). Also changed
recursion depth logic to more accurately mirror intent (per JDO spec), though
testing is needed.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@426710 13f79535-47bb-0310-9956-ffa450edef68
2006-07-28 23:48:13 +00:00
Marc Prud'hommeaux
5698420f65
Moved Premain-Class=org.apache.openjpa.enhance.PCEnhancerAgent setting from openjpa-kernel module to openjpa-kernel-5
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@426670 13f79535-47bb-0310-9956-ffa450edef68
2006-07-28 21:25:10 +00:00
Patrick Linskey
1236605135
removed unneeded imports
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@426228 13f79535-47bb-0310-9956-ffa450edef68
2006-07-27 20:27:45 +00:00
Patrick Linskey
650ca6f27f
removed unneeded imports
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@426217 13f79535-47bb-0310-9956-ffa450edef68
2006-07-27 19:59:09 +00:00
Patrick Linskey
64db310695
corrected some configuration properties that do not allow alternate values
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@426216 13f79535-47bb-0310-9956-ffa450edef68
2006-07-27 19:57:37 +00:00
Marc Prud'hommeaux
3c702ef0d1
Added openjpa-project for assembly descriptiors and docs; upped version to 0.9.0
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@425608 13f79535-47bb-0310-9956-ffa450edef68
2006-07-26 04:24:28 +00:00
Patrick Linskey
bbb2d060b0
changed AutoDetachValue to extend StringListValue, more closely modeling its behavior in the Kodo configuration system; changed visibility of XML name conversion method
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@425499 13f79535-47bb-0310-9956-ffa450edef68
2006-07-25 19:49:48 +00:00
Marc Prud'hommeaux
e9aa22eddc
Fixed incorrect import
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@425497 13f79535-47bb-0310-9956-ffa450edef68
2006-07-25 19:42:50 +00:00
A. Abram White
3b1cb17cba
General cleanup of cruft accumulated during separation from Kodo.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@425473 13f79535-47bb-0310-9956-ffa450edef68
2006-07-25 18:14:45 +00:00
Pinaki Poddar
884ff1b863
FetchPlan with recursive scheme.
...
- modified select building and load cycles in JDBCStoreManager with FetchState traversal
- loadAll(), findAll() methods reverted to their method signature with FetchConfiguration instead of FetchState
- StateManager.postLoad checks for fetch group with postload set to true
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@425312 13f79535-47bb-0310-9956-ffa450edef68
2006-07-25 07:10:26 +00:00
Stephen Kim
a9bb3a6377
Fix fetch state and proper method sigs for multiple fetch groups
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@425136 13f79535-47bb-0310-9956-ffa450edef68
2006-07-24 18:04:50 +00:00
Marc Prud'hommeaux
7ded181586
Formatting fix
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@424837 13f79535-47bb-0310-9956-ffa450edef68
2006-07-23 22:08:11 +00:00
Marc Prud'hommeaux
aafabcf169
Cleaned up version parsing and made it more robust
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@424834 13f79535-47bb-0310-9956-ffa450edef68
2006-07-23 22:01:46 +00:00
Marc Prud'hommeaux
775c33d4fc
Fixed typo in conditional
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@424833 13f79535-47bb-0310-9956-ffa450edef68
2006-07-23 22:01:21 +00:00
Marc Prud'hommeaux
7f6a84d433
Changed to use ReentrantLock so we could get rid of our last dependency on the backport-util-concurrent library.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@424790 13f79535-47bb-0310-9956-ffa450edef68
2006-07-23 19:46:08 +00:00
Patrick Linskey
ca8633ab49
removed unneeded code; updated configuration metadata; changed visibility of XML-conversion method; moved import to imports rather than fully-qualified class name
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@424456 13f79535-47bb-0310-9956-ffa450edef68
2006-07-21 20:55:44 +00:00
Patrick Linskey
b028e31507
fixed in-mem distinct evaluation of single results
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@424364 13f79535-47bb-0310-9956-ffa450edef68
2006-07-21 15:54:56 +00:00
Patrick Linskey
fc9321f35e
removed some unused code
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@423996 13f79535-47bb-0310-9956-ffa450edef68
2006-07-20 17:24:09 +00:00
Patrick Linskey
b108a39e7e
removed executable flag from all files in trunk, as per Craig's email to OpenJPA list
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@423647 13f79535-47bb-0310-9956-ffa450edef68
2006-07-19 22:50:34 +00:00
Patrick Linskey
7d1c8fccaf
OpenJPA JDBC subsystem; reformatted some core OpenJPA code to move catch and finally blocks around.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@423615 13f79535-47bb-0310-9956-ffa450edef68
2006-07-19 21:34:44 +00:00
Patrick Linskey
f9eb746445
added forgotten new file
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@423328 13f79535-47bb-0310-9956-ffa450edef68
2006-07-19 01:37:08 +00:00
Patrick Linskey
89f6359ebc
moved store facade type registry to Configuration instead of a static in ImplHelper
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@423295 13f79535-47bb-0310-9956-ffa450edef68
2006-07-18 23:52:09 +00:00
Patrick Linskey
19b401bcc7
opened up BrokerFactoryValue bootstrapping configuration a bit; added better error bootstrapping error messages
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@423271 13f79535-47bb-0310-9956-ffa450edef68
2006-07-18 22:32:16 +00:00
Patrick Linskey
99eb918da3
basic logic for converting simple JavaNames to xml-names; added some localization information about forgotten properties; removed spurious memory status printout from base test class; added 'target' to the svn:ignore for all the top-level maven dirs
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@423162 13f79535-47bb-0310-9956-ffa450edef68
2006-07-18 18:10:59 +00:00
Patrick Linskey
2d8ee34a01
moved to raw 'openjpa.*' property prefix instead of 'org.apache.openjpa.*'; implemented system to allow multiple property prefixes for configurations without relaxing any of the current validations
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@422262 13f79535-47bb-0310-9956-ffa450edef68
2006-07-15 16:40:00 +00:00
Patrick Linskey
32baa428fe
updates to configuration. Committed on behalf of Abe
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@422003 13f79535-47bb-0310-9956-ffa450edef68
2006-07-14 19:48:07 +00:00
Patrick Linskey
6577d2f166
fixed some test failures to do with repackaging and build process changes
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@421825 13f79535-47bb-0310-9956-ffa450edef68
2006-07-14 07:43:04 +00:00
Patrick Linskey
1baedb7e8a
PCEnhancer was not running auxiliary enhancers. Note that there still remains a configuration issue with bootstrapping the PCEnhancer.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@421787 13f79535-47bb-0310-9956-ffa450edef68
2006-07-14 03:05:22 +00:00
Patrick Linskey
e27f636729
more javadoc fixes
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@421775 13f79535-47bb-0310-9956-ffa450edef68
2006-07-14 00:47:40 +00:00
Patrick Linskey
7cf69d8bcc
reformatted comments to follow Sun standards and use the standard ASL comment formatting
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@421741 13f79535-47bb-0310-9956-ffa450edef68
2006-07-13 23:44:20 +00:00
Patrick Linskey
4ddf63ea3f
removed some dead code and cleaned up some javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@421722 13f79535-47bb-0310-9956-ffa450edef68
2006-07-13 22:45:48 +00:00
Patrick Linskey
4bc5b3bd0f
some visibility fixes
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@421688 13f79535-47bb-0310-9956-ffa450edef68
2006-07-13 19:04:14 +00:00
Patrick Linskey
26ee3648c3
removed some extraneous JDO / licensing-related code
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@421375 13f79535-47bb-0310-9956-ffa450edef68
2006-07-12 19:07:34 +00:00
Patrick Linskey
3feb467900
removed serp fork; replaced with new maven-based serp access. also updated poms to use the Geronimo versions of JTA etc. until we get closure on the plan going forward with the authoritative Glassfish jars
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@421069 13f79535-47bb-0310-9956-ffa450edef68
2006-07-12 01:32:26 +00:00
Patrick Linskey
7a6d34e95f
re-applied conversion from SolarMetric code formatting.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@421062 13f79535-47bb-0310-9956-ffa450edef68
2006-07-12 01:06:30 +00:00
Patrick Linskey
b9636bb878
fixed some incorrect imports
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@420669 13f79535-47bb-0310-9956-ffa450edef68
2006-07-11 01:00:34 +00:00
Patrick Linskey
1fede626e2
core OpenJPA object management code, plus a sample flat-file XML-based back-end. This submission does not include the OpenJPA JDBC back-end, and also doesn't include any additional tests yet.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@420667 13f79535-47bb-0310-9956-ffa450edef68
2006-07-11 00:35:10 +00:00