Patrick Linskey
|
54a3f15811
|
Oops. It turns out it's good to compile *before* committing.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453876 13f79535-47bb-0310-9956-ffa450edef68
|
2006-10-07 09:24:07 +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 |
A. Abram White
|
2ada6c3292
|
Changed default lines between blocks to be 1 in our code format to mirror
openjpa conventions, and minor doc fixes.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453819 13f79535-47bb-0310-9956-ffa450edef68
|
2006-10-07 00:30:31 +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
|
ac1679d41c
|
Added mention of SupportsTimestampNanos
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453723 13f79535-47bb-0310-9956-ffa450edef68
|
2006-10-06 18:20:31 +00:00 |
Marc Prud'hommeaux
|
3ffad89624
|
Added warning about Oracle's ArrayIndexOutOfBoundsException JDBC driver bug.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453720 13f79535-47bb-0310-9956-ffa450edef68
|
2006-10-06 18:10:08 +00:00 |
Marc Prud'hommeaux
|
223b81db2b
|
Added warning about Oracle's ArrayIndexOutOfBoundsException JDBC driver bug.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453717 13f79535-47bb-0310-9956-ffa450edef68
|
2006-10-06 18:06:17 +00:00 |
Marc Prud'hommeaux
|
b25dfe66f4
|
Added supportsTimestampNanos to allow people to work around an ArrayIndexOutOfBoundsException that occurs when using multiple timestamp columns with version 9.2+ of the Oracle JDBC driver and version less than 9.2 of the Oracle server.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453715 13f79535-47bb-0310-9956-ffa450edef68
|
2006-10-06 18:03:50 +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
|
1dbb7a9044
|
Tests and fixes for entities with multiple same-typed embedded entities, which
themselves have relations to other entities.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453321 13f79535-47bb-0310-9956-ffa450edef68
|
2006-10-05 19:13:26 +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
|
361a77c451
|
Fix bug that could prevent user-assigned value from being inserted into a column
with a database default value.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453030 13f79535-47bb-0310-9956-ffa450edef68
|
2006-10-04 21:16:06 +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
|
17b27d44d0
|
Fix relative Javadoc URLs.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@452681 13f79535-47bb-0310-9956-ffa450edef68
|
2006-10-04 00:10:28 +00:00 |
A. Abram White
|
afe9acd576
|
Doc corrections.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@452672 13f79535-47bb-0310-9956-ffa450edef68
|
2006-10-03 23:00:18 +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 |
A. Abram White
|
e30632b60b
|
Trying a new approach to automatic enhancement in a container. Might have to
revert.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@452141 13f79535-47bb-0310-9956-ffa450edef68
|
2006-10-02 17:39:28 +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
|
f74ac8b6b9
|
Prevent reentrant calls to transform() in order to prevent attempts to enhance OpenJPA libraries (for cases where OpenJPA falls under the control of the enhancing class loader).
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@451517 13f79535-47bb-0310-9956-ffa450edef68
|
2006-09-30 02:00:40 +00:00 |
Marc Prud'hommeaux
|
cc25d2a536
|
Changed revision checking system to spawn the "svnversion" command rather than directly parsiong the .svn/entries file. This gives a more accurate revision number, and it also deals with the new subversion format, which is no longer XML.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@451471 13f79535-47bb-0310-9956-ffa450edef68
|
2006-09-29 22:08:28 +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 |
Patrick Linskey
|
b198cb7305
|
changing phase so that the svn artifact gets into classes dir before jars are made
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@451468 13f79535-47bb-0310-9956-ffa450edef68
|
2006-09-29 21:48:29 +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 |
Pinaki Poddar
|
24c51d9fe6
|
Adding informative messages when non-default Persistence Provider is configured.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@450674 13f79535-47bb-0310-9956-ffa450edef68
|
2006-09-28 03:00:31 +00:00 |
Marc Prud'hommeaux
|
e1e96406e8
|
Only treat methods as persistent by default if there is a setter for the method in the described class.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@450649 13f79535-47bb-0310-9956-ffa450edef68
|
2006-09-28 00:33:48 +00:00 |
Pinaki Poddar
|
7baaaf4b76
|
Fixing http://issues.apache.org/jira/browse/OPENJPA-60
Specifying the wrong persistence implementation in persistence.xml leads to misleading error message
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@450632 13f79535-47bb-0310-9956-ffa450edef68
|
2006-09-27 23:19:17 +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 |
Marc Prud'hommeaux
|
9443b9f9bc
|
Un-did last command, since INDEX already existed in the reservedWordSet.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@450214 13f79535-47bb-0310-9956-ffa450edef68
|
2006-09-26 21:23:00 +00:00 |
Marc Prud'hommeaux
|
a55664495e
|
Added "INDEX" to the reserved word list.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@450200 13f79535-47bb-0310-9956-ffa450edef68
|
2006-09-26 20:57:20 +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
|
26a3499fe5
|
Leave escape character in string if we use db wildchars as matches wildcards.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@450144 13f79535-47bb-0310-9956-ffa450edef68
|
2006-09-26 18:53:14 +00:00 |
A. Abram White
|
9a40eb69b0
|
Add David Ezzio's detachment test.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@450122 13f79535-47bb-0310-9956-ffa450edef68
|
2006-09-26 17:39:21 +00:00 |