Commit Graph

3538 Commits

Author SHA1 Message Date
Fay Wang bdb09074a7 OPENJPA-1726: exclude the test case from running on Postgres as Postgres does not support setQueryTimeout.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@980101 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 15:35:13 +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
Donald Woods d27ca8ef8a moving to tools subproject
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@979851 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 20:27:15 +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
Donald Woods d28788fc83 OPENJPA-1745 Remove tabs and add Apache required project parent to inherit common plugins and release profile
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@979791 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 18:19:47 +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
Pinaki Poddar 459aae4b28 OPENJPA-1745: Test cases + modified pom.xml with reduced dependency and parent-less build
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@979447 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 21:20:39 +00:00
Michael Dick 037f99e480 remove @override annotations on methods which aren't overidden
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@979443 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 21:09:24 +00:00
Donald Woods 795362f5ce OPENJPA-1745 Setup initial maven build
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@979428 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 20:21:52 +00:00
Pinaki Poddar a18edf3f92 OPENJPA-1746: Allow null values for configuration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@979427 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 20:19:52 +00:00
Pinaki Poddar 40e05de742 OPENJPA-1746: Allow null values for persistent unit configuration.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@979426 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 20:18:22 +00:00
Pinaki Poddar 892755a822 OPENJPA-1745: Missing from earlier commit
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@979425 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 20:11:49 +00:00
Michael Dick 2f880eaacb OPENJPA-1690: Add serialUID
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@979419 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 19:50:46 +00:00
Pinaki Poddar 4ff6c05a3e OPENJPA-1745: Initial take on MigrationTool
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@979414 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 19:23:48 +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
Donald Woods 459dddcd59 OPENJPA-1743: anchors in mappingtool config invocation. Patch from Patrick Linskey.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@966759 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 17:15:51 +00:00
Michael Dick 30ccdd8dab OPENJPA-1742: setting eol-style native
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@966729 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 16:21:42 +00:00
Michael Dick e65477c9fa OPENJPA-1742: add documentation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@966701 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 15:05:43 +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 bfad6bc65f OPENJPA-1726: Per Postgres document, "The types abstime and reltime are lower precision types which are used internally. You are discouraged from using these types in applications; these internal types might disappear in a future release." (http://www.postgresql.org/docs/8.4/interactive/datatype-datetime.html)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@966423 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 21:15:36 +00:00
Donald Woods 84d5a659b4 OPENJPA-1737 Fix the openjpa bundle creation so MANIFEST.MF is the first artifact entry
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@966353 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 18:32:43 +00:00
Donald Woods 28f7b7e744 OPENJPA-1735 Add missing commons-logging artifact to binary assembly (it is in openjpa-all.jar)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@966030 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 21:55:12 +00:00
Donald Woods 982b643868 OPENJPA-1735 Mark commons-logging as provided in the build to remove transient maven dependency
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@966020 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 21:40:05 +00:00
Donald Woods de0e36d39b OPENJPA-1732 LogFactory adapter for SLF4J
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@965965 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 19:17:57 +00:00
Fay Wang 42b0b38815 OPENJPA-1726: fix intermittent failure in TestTimestampVersion. The next bulkUpdate timestamp version should be consistently generated as nextVersion method.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@965928 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 17:49:25 +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
Richard G. Curtis c3a7417e24 OPENJPA-1734: Refactor JavaVendors into an Enum and fix exception reported in JIRA.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@965864 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 14:40:23 +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
Richard G. Curtis 9225c60a74 OPENJPA-1734: Add support for the DynamicEnhancer on IBM jvm.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@965633 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19 21:02:36 +00:00
Fay Wang f8c32d45d2 OPENJPA-1726: fix Criteria Trim expression when running on Postgres.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@965575 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19 18:26:13 +00:00
Albert Lee b4782910c5 OPENJPA-1733 - use exception toString() if exception message returns null.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@965573 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19 18:12:43 +00:00
Fay Wang 7a7e243665 OPENJPA-1726: fix Postgres sql error state code so that EntityExistException can be properly thrown.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@965562 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19 17:15:47 +00:00
Fay Wang a0b6b2a85d OPENJPA-1726: fix boolean literal for Postgres
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@964989 13f79535-47bb-0310-9956-ffa450edef68
2010-07-17 00:16:39 +00:00
Fay Wang 90373cb93f OPENJPA-1726: fix the locate and substring for Postgres as it only accepts integer as the start index.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@964967 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 22:39:06 +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
Donald Woods 64181e58ad OPENJPA-1724 Allow MappingTool to generate SQL files in a different encoding than the local JVM
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@964921 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 19:38:27 +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
Richard G. Curtis 84812bb211 OPENJPA-1378: Refactor cache init code.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@964617 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15 21:40:02 +00:00
Dianne E. Richards c45cba1f29 OPENJPA-1554 Add license header to BooleanId
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@964484 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15 16:39:00 +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
Fay Wang 99eef9d018 OPENJPA-1726: fix test case failures (TestInputStreamLob) for PostgreSQL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@964265 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15 00:06:57 +00:00
Fay Wang 0b80f23e70 OPENJPA-1726: fix test case failures (TestInputStreamLob) for PostgreSQL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@964257 13f79535-47bb-0310-9956-ffa450edef68
2010-07-14 23:09:41 +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
Dianne E. Richards 512122c4ba OPENJPA-1722 Add writeReplace() method to DistinctResultList to avoid serialization exception when EntityManager is closed.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@963764 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13 15:42:31 +00:00