Commit Graph

1244 Commits

Author SHA1 Message Date
Michael Dick d39c580688 OPENJPA-1742: move cfName logic to JDBCConfiguration, add tests for nonJTADataSource
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@966602 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 11:58:16 +00:00
Michael Dick 1d667e8d67 OPENJPA-1719: Prepared SQL cache user parameter ordering problem with subqueries.
Originally fixed in trunk by Catalina Wei

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@966307 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 16:42:02 +00:00
Michael Dick e34e85396e OPENJPA-1501: trim trailing whitespace for entities with String IDs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@966225 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 13:42:53 +00:00
Michael Dick a2d0e05649 OPENJPA-1704: Fix PCEnhancer to generate proper readExternal method. Merged to 2.0.x - submitted by Rick Curtis
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@965610 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19 20:02:23 +00:00
Catalina Wei 5f2d51e23e OPENJPA-1715: OpenJPA generates wrong SQL if a result variable that references an aggregate expression is used in ORDER BY clause
fix testcase.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@961472 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07 18:37:29 +00:00
Catalina Wei d7a9cdf3de OPENJPA-1715: OpenJPA generates wrong SQL if a result variable that references an aggregate expression is used in ORDER BY clause
add testcase.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@961449 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07 18:10:25 +00:00
Michael Dick 939b1b5a95 OPENJPA-1678: add printParameters property to prevent SQL parameter values from being logged in exceptions or trace
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@955073 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 22:26:47 +00:00
Donald Woods 14b6a637de [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@935684 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 17:33:42 +00:00
Donald Woods e52c11be3b [maven-release-plugin] prepare release 2.0.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@935682 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 17:33:22 +00:00
Pinaki Poddar 9c3e403308 OPENJPA-703: Merge Query Statistics related changes
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@935078 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 20:49:09 +00:00
Donald Woods a0f8422e87 [maven-release-plugin] rollback the release of 2.0.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@934094 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 18:30:19 +00:00
Donald Woods de472e50c3 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@932977 13f79535-47bb-0310-9956-ffa450edef68
2010-04-11 19:30:54 +00:00
Donald Woods 561022df8e [maven-release-plugin] prepare release 2.0.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@932975 13f79535-47bb-0310-9956-ffa450edef68
2010-04-11 19:30:38 +00:00
Donald Woods 8f30b053b0 OPENJPA-1179 openjpa.jdbc.QuerySQLCache plugin no longer accepts value=all, so doc it in the Migration section. Testcase contributed by Tim McConnell.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@932934 13f79535-47bb-0310-9956-ffa450edef68
2010-04-11 16:37:46 +00:00
Donald Woods f43015857b OPENJPA-1611: fix EMBEDDED attr type. Merged in from trunk r930721 commit by Fay.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@932663 13f79535-47bb-0310-9956-ffa450edef68
2010-04-10 02:32:07 +00:00
Donald Woods 1dc803b9d7 OPENJPA-1620 Fix TestJDBCEscapeDate test for HSQLDB. Merged in from trunk r932191.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@932662 13f79535-47bb-0310-9956-ffa450edef68
2010-04-10 02:31:05 +00:00
Donald Woods 255b9e3837 OPENJPA-1623 Add tests for qualified paths in JPQL. Merged in from trunk r932487. Contributed by Dianne.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@932661 13f79535-47bb-0310-9956-ffa450edef68
2010-04-10 02:29:49 +00:00
Donald Woods b31c1a53c8 OPENJPA-1624 Fix intermittent datacache timeout failures in TestSJVMCache and CacheTest
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@932553 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 19:16:42 +00:00
Donald Woods 729460be78 OPENJPA-1621 Fix TestGeneratedValues for DB2
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@932522 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 17:26:19 +00:00
Donald Woods 9b445c7bc2 OPENJPA-1616 Fix TestTimeoutException tests for Oracle and re-enable for DB2
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@932195 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 00:35:34 +00:00
Donald Woods b7010472cc OPENJPA-1620 Fix TestJDBCEscapeDate test for MSSQL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@932111 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 20:54:59 +00:00
Donald Woods a0e342833b OPENJPA-1616 Exclude TestTimeoutException tests on HSQLDB as it uses supportsSelectForUpdate=false
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@932085 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 20:05:54 +00:00
Donald Woods 05a73cdf95 OPENJPA-1619 Fix intermittent TestTimestampVersion failures on various DBs when running on Windows
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@932081 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 19:52:03 +00:00
Donald Woods bb8ef003ac OPENJPA-1616 Fix TestTimeoutException test failures on MSSQL. Merged in from trunk r931693.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@931982 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 15:54:05 +00:00
Donald Woods 0cbc402296 OPENJPA-1615 Disable the 3 failing TestTypesafeCriteria tests when run against MSSQL for now
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@931654 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 19:47:37 +00:00
Donald Woods 127d2b7d63 OPENJPA-1614 Testcase failures in TextException on MSSQL due to missing <object-exists> value in sql-error-state-codes.xml
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@931562 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 14:14:48 +00:00
Donald Woods dd2790cfc5 OPENJPA-1550 Fix TestBatchLimitException tests for Oracle, which fails all statements in the batch, instead of just the duplicate entity.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@931406 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 02:18:26 +00:00
Dianne E. Richards 3117ebf7a0 OPENJPA-1606 Add JPQL tests for element collections
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@929623 13f79535-47bb-0310-9956-ffa450edef68
2010-03-31 17:11:48 +00:00
Donald Woods a0c79a3cca OPENJPA-1597 merge in test update from trunk to make column name unique
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@929561 13f79535-47bb-0310-9956-ffa450edef68
2010-03-31 14:52:11 +00:00
Richard G. Curtis e973d26a72 OPENAJPA-1603: Decouple the QueryCache from the DataCache. Code contributed by Mike Dick and Rick Curtis.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@928968 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 03:43:20 +00:00
Donald Woods 071e698899 OPENJPA-1597 Revert code added to DetachManager to unproxy objects when detached in-place. Updated tests to verify old behavior of detached entites still having references, but that they are removed during serialization.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@928271 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 20:53:53 +00:00
Donald Woods 5655a9b462 OPENJPA-1597 Fix a test failure on MSSQL. Merged in test code update from trunk r928241.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@928249 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 19:28:28 +00:00
Donald Woods 7382ba2f84 OPENJPA-1597 Make entity table names unique
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@927521 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 17:40:55 +00:00
Albert Lee 1c2f4470a2 OPENJPA-1599 - Push Cache*Mode value(s) in fetch configuration set from property making the property value(s) only valid during the em method call.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@927442 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 15:09:00 +00:00
Donald Woods fb60f8136f OPENJPA-1597 New tests to verify expected behavior for proposed Compatibility fix.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@927434 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 14:58:56 +00:00
Michael Dick 8987041469 OPENJPA-1550:
Set failedObject on RollbackException.
Submitted By: Heath Thomann

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@927266 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 03:55:39 +00:00
Donald Woods 19fd6476fb OPENJPA-1580: fix test case problem for DB2. Merged in patch from Fay Wang in trunk r926816.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@927111 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 16:24:24 +00:00
Donald Woods deeb5d59ff [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@926798 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 21:39:32 +00:00
Donald Woods 78020af127 [maven-release-plugin] prepare release 2.0.0-beta3
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@926796 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 21:39:15 +00:00
Donald Woods 676a2f74f6 [maven-release-plugin] prepare branch 2.0.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926434 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 02:27:29 +00:00
Richard G. Curtis 1c0abb5207 OPENJPA-1591: Refactor/rename DataCacheScheduler to allow for greater extensibility.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926249 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 18:29:15 +00:00
Albert Lee 201d680a0d OPENJPA-1586 - Commit test case contribution by Dianne Richards.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926181 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 16:52:39 +00:00
Albert Lee e6fc6fab0a OPENJPA-1583 - fix intermittent failures in timestamp version assertion.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@925438 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 21:31:17 +00:00
Pinaki Poddar 9f326c0f8b Correct expected value for paging query and disable (temporariliy) subquery + constant literals case
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@925335 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 17:08:13 +00:00
Fay Wang 13e3c48cae OPENJPA-1580: disable query cache when pagination is involved.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@925048 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 23:52:33 +00:00
Pinaki Poddar 15c64cb8f4 OPENJPA-1584: Reparameterization when main and subquery using share query parameters in same or different declaration order
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@925036 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 23:01:30 +00:00
Jeremy Bauer c864f5dfc0 OPENJPA-1583 Fix table name collision caused by having multiple TimestampedEntity entities.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@925009 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 21:39:29 +00:00
Pinaki Poddar 8c1175054f OPENJPA-1583: Timestamp version field in bulk update
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924938 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 18:32:19 +00:00
Michael Dick bd9b59c90f OPENJPA-1581:
make assertOpen public and call assertOpen before returning JPA cache

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924868 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 15:44:25 +00:00
Pinaki Poddar 081baaa856 Disable timeout tests on Oracle and DB2 till we know the reason
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924867 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 15:42:54 +00:00