Michael Dick
316ced44c4
fix line wrapping
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@649244 13f79535-47bb-0310-9956-ffa450edef68
2008-04-17 19:30:14 +00:00
Michael Dick
fe45f77f03
OPENJPA-542
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@649221 13f79535-47bb-0310-9956-ffa450edef68
2008-04-17 18:41:25 +00:00
Albert Lee
31c47a6c04
OPENJPA-570 - Model after the AnnotationPersistenceMetaDataParser.parsePackageAnnotations(), an extra test is performed in parseClassAnnotations() method for the Named*Quer* annotations to see if the MODE_QUERY has been performed before by examining the meta.getSourceMode() before the actualNamed*Queries() method is invoked.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@648275 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 15:12:11 +00:00
Catalina Wei
07cd1728a1
OPENJPA-547 add test strings for FETCH JOINs
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@647026 13f79535-47bb-0310-9956-ffa450edef68
2008-04-11 01:08:29 +00:00
Albert Lee
810e401dbe
OPENJPA-565 - Add test case.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@646594 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 23:27:47 +00:00
Catalina Wei
50b81e6d77
OPENJPA-547 INNER JOIN FETCH query incorrectly generates LEFT join SQL
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@646455 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 18:09:42 +00:00
Albert Lee
5196ae0bc2
OPENJPA-565 - Ignore duplicate NamedQuery definition and continue to parse the remaining entries in NamedQueries definition.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@646378 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 14:31:33 +00:00
Patrick Linskey
8803104f41
moved release number to 1.2.0-SNAPSHOT now that we've made a 1.1.x branch
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@646049 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 19:40:02 +00:00
A. Abram White
ea8b942364
Be a little more flexible on the exceptions thrown when persisting instances
...
with auto-generated keys already assigned values.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@645610 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 16:52:31 +00:00
A. Abram White
9c19356c7c
Fix for OPENJPA-554.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@645589 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 16:18:26 +00:00
Albert Lee
1b5aac791d
OPENJPA-559 : Add SerialVersionUID.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@644852 13f79535-47bb-0310-9956-ffa450edef68
2008-04-04 19:43:36 +00:00
Patrick Linskey
690cb80eb9
Change OpenJPAEntityManagerFactory.getStoreCache(String) to create the cache on-demand if it doesn't exist. This turns an error condition into functional behavior, so there should be no backward-compat issue.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@644635 13f79535-47bb-0310-9956-ffa450edef68
2008-04-04 07:34:53 +00:00
Patrick Linskey
dd7014a527
OPENJPA-556. This implementation does some extra copying to accomodate DataCache.getAll(), which takes a List instead of a Collection.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@644627 13f79535-47bb-0310-9956-ffa450edef68
2008-04-04 06:55:13 +00:00
Catalina Wei
36c68c49f5
OPENJPA-555 MappingTool got NullPointerException in DB2Dictionary.isDB2ZOSV8xOrLater()
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@644177 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 05:52:38 +00:00
Albert Lee
ee8155bb60
OPENJPA-552 Remove dis-allowing Connection* properties in
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@644129 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 01:18:39 +00:00
Patrick Linskey
999ce2e670
OPENJPA-536. Committing on behalf of Amy Yang.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@644115 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 00:01:47 +00:00
Michael Dick
79b23557d3
OPENJPA-529. Clone issue with the configuration was accidentally re-introduced
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@644006 13f79535-47bb-0310-9956-ffa450edef68
2008-04-02 18:35:50 +00:00
A. Abram White
6aa8fd3c35
Always consider the inclusion of subclasses as part of the query compilation
...
key, even when the candidate class is encoded in the query string instead of
set programmatically.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@643586 13f79535-47bb-0310-9956-ffa450edef68
2008-04-01 21:29:26 +00:00
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