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 |