Commit Graph

1319 Commits

Author SHA1 Message Date
Michael Dick 99332850e3 OPENJPA-1736: Setting svn:eol-style native
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@988223 13f79535-47bb-0310-9956-ffa450edef68
2010-08-23 17:32:55 +00:00
Michael Dick acef04f0f6 OPENJPA-526: setting svn eol-stle on new file
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@988221 13f79535-47bb-0310-9956-ffa450edef68
2010-08-23 17:31:42 +00:00
Michael Dick b3c9553f59 OPENJPA-526: setting svn eol-stle on new file
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@988220 13f79535-47bb-0310-9956-ffa450edef68
2010-08-23 17:30:58 +00:00
Catalina Wei 93c0bbea8f OPENJPA-1736: Mappings with foreign keys as identity fields sometimes not resolved correctly
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@987772 13f79535-47bb-0310-9956-ffa450edef68
2010-08-21 15:46:34 +00:00
Catalina Wei c000f0bf62 OPENJPA-526: Insert text more than 4K bytes to Clob column causes SQLException: Exhausted Resultset
fix table name in Lobs entity to avoid conflict with other entities in JUnit regression.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@987644 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 21:47:42 +00:00
Catalina Wei 833520766f OPENJPA-526: Insert text more than 4K bytes to Clob column causes SQLException: Exhausted Resultset
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@987598 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 18:32:21 +00:00
Fay Wang 729d6751c9 OPENJPA-735: temporarily disable TestTimeoutException for SolidDB as it seems cause SolidDB to crash
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@987356 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 00:11:56 +00:00
Richard G. Curtis 3b20d750e7 OPENJPA-1770: Fix fetching an Entity with a null embeddable from the DataCache.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@987321 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 21:38:25 +00:00
Donald Woods 560afb7df4 OPENJPA-1712 Merge in build updates from 2.0.x branch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@987238 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 17:31:55 +00:00
Fay Wang cb4ac9b891 OPENJPA-735: OpenJPA support for SolidDB
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@987204 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 15:58:05 +00:00
Fay Wang 07d599a02d OPENJPA-735: OpenJPA support for SolidDB
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@987013 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 04:19:39 +00:00
Richard G. Curtis 63a24dc7bb OPENJPA-1769: Fix Broker.getObjectId(..) to work on detached Entities with no DetachedStateManager.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@986963 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 21:52:59 +00:00
Richard G. Curtis 5a8030a802 OPENJPA-1469: Update test.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@986962 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 21:51:40 +00:00
Richard G. Curtis f31d31ff9e OPENJPA-1469: Miscellaneous test updates.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@986124 13f79535-47bb-0310-9956-ffa450edef68
2010-08-16 20:21:05 +00:00
Michael Dick 7e50c0bf6d OPENJPA-1424: adding testcase.
Submitted By: Heath Thomann, Daryl Stultz.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@984967 13f79535-47bb-0310-9956-ffa450edef68
2010-08-12 20:53:58 +00:00
Richard G. Curtis 319ba41483 OPENJPA-1765: Add locking to TableJDBCSeq to ensure thread safety.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@984943 13f79535-47bb-0310-9956-ffa450edef68
2010-08-12 20:15:41 +00:00
Richard G. Curtis 0876c93ff6 OPENJPA-1763: Auto configure RemoteCommitProvider if it isn't set when the DataCache is enabled.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@984601 13f79535-47bb-0310-9956-ffa450edef68
2010-08-11 22:00:25 +00:00
Michael Dick 0f0c6de652 Get lock clause from DBDictionary in locking tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@983762 13f79535-47bb-0310-9956-ffa450edef68
2010-08-09 18:22:24 +00:00
Donald Woods bcfadcff1b OPENJPA-1712 Fix creation of test artifacts, so they get signed during -Papache-release deploys to nexus repo
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@983040 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 16:22:21 +00:00
Jeremy Bauer 536e3a284b OPENJPA-1739 Fixed minor bug and added more test variations.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@982342 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 17:33:13 +00:00
Jeremy Bauer 733adeb47b OPENJPA-1739 Rev 1 of pluggable instrumentation for OpenJPA. Includes an test provider and portions of a JMX platform MBean based provider.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@981719 13f79535-47bb-0310-9956-ffa450edef68
2010-08-03 01:55:02 +00:00
Richard G. Curtis e65737308b OPENJPA-1757: Check CacheRetrieveMode in DataCacheStoreManager when synchronizing version.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@981664 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 19:31:45 +00:00
Richard G. Curtis 4dcca87500 OPENJPA-1727: Fix QueryCache eviction when returning an empty result and using the TIMESTAMP eviction policy.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@980963 13f79535-47bb-0310-9956-ffa450edef68
2010-07-30 21:02:04 +00:00
Michael Dick e97e42b3eb OPENJPA-1749: Throw exception when incompatible configuration options are set
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@980070 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 14:30:05 +00:00
Fay Wang ac42e2d8eb OPENJPA-1726: Postgres does not support queryTimeout. Exclude this test case from running on Postgres.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@979839 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 20:13:55 +00:00
Michael Dick b6103d270a Fix timing window with TestTimestampVerson and MySQL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@979761 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 16:04:55 +00:00
Catalina Wei a4038dadef OPENJPA-1719: Prepared SQL cache user parameter ordering problem with subqueries.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@979326 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 15:30:20 +00:00
Fay Wang 44a7674d6e OPENJPA-1740: fix Type expression when entities use Joined table strategy.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@967240 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 20:15:06 +00:00
Michael Dick 4c92537fb5 OPENJPA-1738: setting eol-style native
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@967205 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 19:06:25 +00:00
Catalina Wei 6d8b5782c9 OPENJPA-1738: Prepared query does not handle collection-valued parameter of persistence-capable objects
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@966870 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 21:54:40 +00:00
Michael Dick ebd30a7cc7 OPENJPA-1742: move cfName logic to JDBCConfiguration, add tests for nonJTADataSource
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@966600 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 11:57:45 +00:00
Fay Wang 3b3d01cb6a OPENJPA-1726: force table to be recreated with correct TIMESTAMP column type.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@966442 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 22:22:30 +00:00
Fay Wang 9166a7753a OPENJPA-1726: exclude Postgres from the test case due to the problem of storing the randomly generated UUID String to the UTF-8 database.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@965899 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 16:43:30 +00:00
Donald Woods 0a8c27709d OPENJPA-1726 Add DBCP overrides for PostgreSQL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@965838 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 13:24:51 +00:00
Fay Wang 1916e1bd86 OPENJPA-1726: fix test case problem for Postgres. Postgres returns nextval depending on whether the two consecutive calls to nextval are in the same session or not. If they are in different sessions, the nextval returned by Postgres will be the next sequence number preallocated and stored in memory for the current session. The second nextval is not necessarily the first nextval + increment.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@965663 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19 22:31:41 +00:00
Fay Wang 6820830299 OPENJPA-1726: fix test case errors for Postgres
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@964966 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 22:37:52 +00:00
Dianne E. Richards aec144cdfa OPENJPA-1722 Test case for DistinctResultList serialization fix
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@964865 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 17:29:08 +00:00
Dianne E. Richards 720b8f7e71 OPENJPA-1554 Support boolean as an id (required by spec)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@964480 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15 16:26:27 +00:00
Richard G. Curtis d899ba8107 OPENJPA-1626: Add Name property to AbstractQueryCache, contributed by Amy Yang.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@964170 13f79535-47bb-0310-9956-ffa450edef68
2010-07-14 20:15:41 +00:00
Richard G. Curtis 124d3ca7b5 OPENJPA-1378: Expose Lru cache on DataCache and QueryCache.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@964097 13f79535-47bb-0310-9956-ffa450edef68
2010-07-14 17:01:51 +00:00
Michael Dick f03b417d41 OPENJPA-1702: Allow new entities to be dirtied in BeforeCommit callback even if there are no other dirty entities. Based on patch submitted by Heath Thomann
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@963499 13f79535-47bb-0310-9956-ffa450edef68
2010-07-12 21:39:55 +00:00
Catalina Wei 5ad6624b53 OPENJPA-1719: Prepared SQL cache user parameter ordering problem with subqueries.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@963139 13f79535-47bb-0310-9956-ffa450edef68
2010-07-11 19:51:31 +00:00
Catalina Wei fc63143dfe OPENJPA-1715: OpenJPA generates wrong SQL for Oracle if a result variable that references an aggregate expression is used in ORDER BY clause
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@962708 13f79535-47bb-0310-9956-ffa450edef68
2010-07-09 22:03:35 +00:00
Richard G. Curtis 961e957be0 OPENJPA-1692: Comment out failing case in TestClearableScheduler while this change is backed out.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@961510 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07 21:21:39 +00:00
Catalina Wei 90a54ac7e7 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/trunk@961472 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07 18:37:29 +00:00
Catalina Wei ee83defe59 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/trunk@961449 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07 18:10:25 +00:00
Richard G. Curtis 020b24e008 Update TestAutoIncrement to not run on Oracle and SQLServer.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@961000 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 20:03:25 +00:00
Michael Dick 5668a18ec0 OPENJPA-1501: trim trailing whitespace for entities with String IDs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@960983 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 19:06:14 +00:00
Richard G. Curtis 2400bacd05 OPENJPA-1707: Log a warning message when a down level Entity is encountered.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@960981 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 18:53:59 +00:00
Richard G. Curtis 20f2966ea1 Update TestClearableScheduler to use a Vector for multithreaded test rather than an ArrayList
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@957938 13f79535-47bb-0310-9956-ffa450edef68
2010-06-25 13:32:06 +00:00