Patrick Linskey
6b5e0c6967
OPENJPA-544. Take advantage of tiger dependency.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@643248 13f79535-47bb-0310-9956-ffa450edef68
2008-04-01 03:21:23 +00:00
Albert Lee
1b8ccc6245
OPENJPA-417 - Change isStoreMapCollectionInEntityAsBlob() to getStoreMapCollectionInEntityAsBlob()
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@641891 13f79535-47bb-0310-9956-ffa450edef68
2008-03-27 16:56:05 +00:00
Albert Lee
315a348848
OPENJPA-417 - add openjpa.Compability(StoreMapCollectionInEntityAsBlob=true) option to enable map/collection stores as Blob in the database. This allows existing application continues to work.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@641842 13f79535-47bb-0310-9956-ffa450edef68
2008-03-27 15:08:07 +00:00
Catalina Wei
dbb722f5ec
OPENJPA-541 backout changes.
...
Customer reported that SQL92 joins are bit slower compare to oracle joins
(+) and there are known bugs with SQL92 joins.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@641408 13f79535-47bb-0310-9956-ffa450edef68
2008-03-26 17:06:46 +00:00
Kevin W. Sutter
608a906aaf
OPENJPA-544. Maybe this is a Windows-ism, or an IBM JDK-ism, but I still need the explicit <version>2.4</version> element for the surefire plugin...
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@640887 13f79535-47bb-0310-9956-ffa450edef68
2008-03-25 16:22:35 +00:00
Patrick Linskey
b2c1e8f16f
OPENJPA-544. Get rid of JDK1.4 support, fold the jdk1.5 modules into their siblings, get rid of some ugly reflection that was there for 1.5 support, and move to the java.util.concurrent collections classes. This includes a wrapper around ConcurrentHashMap that allows nulls, since the old OpenJPA concurrent map allowed nulls and we rely on that behavior. The implication is that putIfAbsent() and some of the other special JDK1.5 methods don't obey the same contracts as in the java.util.concurrent package.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@640685 13f79535-47bb-0310-9956-ffa450edef68
2008-03-25 03:37:56 +00:00
Kevin W. Sutter
6af619cd89
OPENJPA-540. Committing a simpler version of the patch. Got rid of the ClassResolver classloader and am now just relying on the Class.forName() classloading. This is similar to the processing used for the other *ManagedRuntime classes.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@640666 13f79535-47bb-0310-9956-ffa450edef68
2008-03-25 01:35:28 +00:00
Michael Dick
9dadffffc1
OPENJPA-543
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@640511 13f79535-47bb-0310-9956-ffa450edef68
2008-03-24 18:41:12 +00:00
Michael Dick
2d0a3c9157
OPENJPA-542
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@640494 13f79535-47bb-0310-9956-ffa450edef68
2008-03-24 18:17:35 +00:00
Catalina Wei
438b877006
OPENJPA-541 Generate SQL92 JOIN syntax for Oracle 9 or later releases
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@639874 13f79535-47bb-0310-9956-ffa450edef68
2008-03-21 21:46:55 +00:00
Catalina Wei
57ca9afbdd
OPENJPA-539 Can't create a table with a field of java type "Map" in Derby
...
commit patch for Fay Wang.
testcases have been modified.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@639746 13f79535-47bb-0310-9956-ffa450edef68
2008-03-21 18:23:19 +00:00
Michael Dick
831bd55051
OPENJPA-528 committing patch provided by Jeremy Bauer
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@639681 13f79535-47bb-0310-9956-ffa450edef68
2008-03-21 15:48:30 +00:00
Michael Dick
635ee199fe
OPENJPA-537
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@639647 13f79535-47bb-0310-9956-ffa450edef68
2008-03-21 13:58:16 +00:00
Kevin W. Sutter
b949f7adc5
OPENJPA-529. Revert the clone() operation on the Configuration object. This is causing problems with the subclassing enhancement.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@639431 13f79535-47bb-0310-9956-ffa450edef68
2008-03-20 19:57:30 +00:00
Patrick Linskey
5f0094893e
Fixed JavaDoc
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@638667 13f79535-47bb-0310-9956-ffa450edef68
2008-03-19 01:01:43 +00:00
Patrick Linskey
aff3abd8ed
Fixed JavaDoc
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@637439 13f79535-47bb-0310-9956-ffa450edef68
2008-03-15 16:57:32 +00:00
Patrick Linskey
4bed57d778
Added license header.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@636531 13f79535-47bb-0310-9956-ffa450edef68
2008-03-12 22:01:23 +00:00
Albert Lee
d93ac261ad
OPENJPA-535 - fix comment typos.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@636090 13f79535-47bb-0310-9956-ffa450edef68
2008-03-11 20:05:00 +00:00
Patrick Linskey
282c8e0c5b
Improve product derivation debugging; add test case.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@636052 13f79535-47bb-0310-9956-ffa450edef68
2008-03-11 18:29:19 +00:00
Albert Lee
ba5d11b43b
OPENJPA-532 This patch enables command runnable to process once when no persistence unit is found by the tool commands. This allows command option(s) which does not require pu definition to function properly.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@634150 13f79535-47bb-0310-9956-ffa450edef68
2008-03-06 04:12:11 +00:00
Patrick Linskey
85c7a33365
OPENJPA-521. License headers.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@633950 13f79535-47bb-0310-9956-ffa450edef68
2008-03-05 17:59:15 +00:00
Albert Lee
b4d72d5843
After OPENJPA-9, -help option in scripts is not working anymore. This is caused by Configurations.runAgainstAllAnchors returns true if no error is encountered (including no operation) during function execution. Since the check of the -help option is in the command's run method and if no anchor is found, the help check is skipped.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@633921 13f79535-47bb-0310-9956-ffa450edef68
2008-03-05 16:38:46 +00:00
Patrick Linskey
126358f0e4
Fix NPE reported on newsgroup.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@633739 13f79535-47bb-0310-9956-ffa450edef68
2008-03-05 01:21:58 +00:00
Patrick Linskey
f3dd4c0397
OPENJPA-521. Committing on behalf of Qin Feng.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@633738 13f79535-47bb-0310-9956-ffa450edef68
2008-03-05 01:12:19 +00:00
Patrick Linskey
777818d283
OPENJPA-520. Committing on behalf of Qin Feng.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@633723 13f79535-47bb-0310-9956-ffa450edef68
2008-03-05 00:24:45 +00:00
Patrick Linskey
86e17fc210
Improve the error message when failing to find a field in a given identification variable's type.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@633668 13f79535-47bb-0310-9956-ffa450edef68
2008-03-04 22:05:51 +00:00
Albert Lee
f67ace749a
OPENJPA-530 Update manual and code to match for the update manager values and default.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@633363 13f79535-47bb-0310-9956-ffa450edef68
2008-03-04 04:51:20 +00:00
Patrick Linskey
1b76c6df24
Possible fix for http://www.nabble.com/InstantiationException-in-latest-OpenJPA-build-tp15799949p15799949.html , which seems to be caused by an attempt to reflectively instantiate a ClassResolverImpl. I've done zero research into how this regression made its way into the codebase, and have not created a test case.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@633326 13f79535-47bb-0310-9956-ffa450edef68
2008-03-03 23:41:17 +00:00
Albert Lee
64402ea7da
OPENJPA-530 - Change BatchingPreparedStatementManagerImpl to correctly batch dispatched statements in the same order requested by the update managers.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@633317 13f79535-47bb-0310-9956-ffa450edef68
2008-03-03 22:59:07 +00:00
Albert Lee
c3ad06e8ff
Change _state and JDBCConfigurationState from private to protect enabling JDBCFechConfigurationImpl subclass to propagate correct state information in subclass's newInstance() method call.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@633310 13f79535-47bb-0310-9956-ffa450edef68
2008-03-03 22:40:13 +00:00
Patrick Linskey
7487d73507
OPENJPA-430. Reverting mapping defaults change; I'm not convinced that the code is correct, but internal Kodo tests fail with the new behavior. Changing for now; more investigation to follow.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@633245 13f79535-47bb-0310-9956-ffa450edef68
2008-03-03 19:38:47 +00:00
Michael Dick
ca9828726d
OPENJPA-528 reverting behavior. Original fix caused problems with the TCK.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@633075 13f79535-47bb-0310-9956-ffa450edef68
2008-03-03 12:54:56 +00:00
Michael Dick
a4600fbe98
OPENJPA-528 Handle foreignKey column names similarly to joins in PeristenceMetaDataDefaults.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@632486 13f79535-47bb-0310-9956-ffa450edef68
2008-02-29 23:06:06 +00:00
Michael Dick
527b09ce6e
OPENJPA-529 cloning configuration before running enhancer
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@632462 13f79535-47bb-0310-9956-ffa450edef68
2008-02-29 22:16:30 +00:00
Patrick Linskey
9ece24ade3
Better error message.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@632412 13f79535-47bb-0310-9956-ffa450edef68
2008-02-29 19:16:27 +00:00
Patrick Linskey
66d6230a41
Additional test case for enums in queries
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@632404 13f79535-47bb-0310-9956-ffa450edef68
2008-02-29 18:41:16 +00:00
Albert Lee
177111b559
Potential NPE where custom can be null, Boolean.TRUE or Boolean.FALSE. Follow the pattern in update() and deleet()
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@631663 13f79535-47bb-0310-9956-ffa450edef68
2008-02-27 17:46:00 +00:00
Patrick Linskey
e097063b0a
Trivial whitespace change.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@631329 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 18:40:13 +00:00
Albert Lee
c4af04617e
OPENJPA-359 Improve Timestamp resolution for use by versioning.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@631028 13f79535-47bb-0310-9956-ffa450edef68
2008-02-25 22:59:29 +00:00
Albert Lee
c3e2f01204
Fix TestVersion's "InvalidStateException: The context has been closed." problem: em1 and em2 are using the same em from currentEntityManager(). This test is very similar to (if not the same as) *.persistence.jdbc.annotation.TestVersion.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@630516 13f79535-47bb-0310-9956-ffa450edef68
2008-02-23 19:38:00 +00:00
Patrick Linskey
699f043cd2
Lazy many-to-one tests.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@630340 13f79535-47bb-0310-9956-ffa450edef68
2008-02-22 22:40:08 +00:00
Patrick Linskey
c5309299b5
OPENJPA-521. This is a partial fix; we should be able to avoid the looping in clearInverseRelationCache with a bit of extra data structures in FieldMetaData, probably populated during FieldMetaData.getOrder() or MetaDataRepository.newOrder().
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@630063 13f79535-47bb-0310-9956-ffa450edef68
2008-02-22 01:09:05 +00:00
Kevin W. Sutter
4c70963f1a
OPENJPA-513. Temporarily exclude the "no xsd" test until we get a workaround figured out. I haven't figured out an easy way and I need to make progress with the IBM JDK...
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@629990 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 21:03:10 +00:00
Kevin W. Sutter
1d57a1fdaa
OPENJPA-519. Need to hardcode the 2.4 version until the problem is resolved in the maven surefire plugin (supposedly in 2.4.2).
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@629874 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 17:10:53 +00:00
Patrick Linskey
6bb87e6203
OPENJPA-484. Also added 'h2' as an alias for H2Dictionary in the DBDictionary property.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@629627 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 21:58:01 +00:00
Michael Dick
ec7bd83e1a
OPENJPA-518 Committing code changes suggested by Adam Toback
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@629492 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 15:02:30 +00:00
Patrick Linskey
a7648a78c5
Enable more new tests.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@628840 13f79535-47bb-0310-9956-ffa450edef68
2008-02-18 18:25:55 +00:00
Michael Dick
161527339a
OPENJPA-517
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@628811 13f79535-47bb-0310-9956-ffa450edef68
2008-02-18 16:53:15 +00:00
Pinaki Poddar
c457053f94
OPENJPA-515 Remove XA transaction across slices + test configuration for Derby + activate tests
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@628387 13f79535-47bb-0310-9956-ffa450edef68
2008-02-16 22:03:25 +00:00
Patrick Linskey
de8a4760c8
Enable some of the new tests.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@628375 13f79535-47bb-0310-9956-ffa450edef68
2008-02-16 19:30:20 +00:00