Commit Graph

985 Commits

Author SHA1 Message Date
Milosz Tylenda 5a98879567 OPENJPA-1691: Support XML strings longer than 4000 bytes on Oracle.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1004043 13f79535-47bb-0310-9956-ffa450edef68
2010-10-03 20:46:38 +00:00
Fay Wang a4080f46f5 OPENJPA-1819: if there is a group-by clause, orderby_item must be in the group-by list
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1003317 13f79535-47bb-0310-9956-ffa450edef68
2010-09-30 22:07:11 +00:00
Donald Woods c7a08227a3 OPENJPA-1764 Need to explicitly close dbcp.BasicDataSource instances, moved commons-dbcp test depend to parent pom and added closing of EMF in ContainerTest during test tearDown.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1002860 13f79535-47bb-0310-9956-ffa450edef68
2010-09-29 21:43:11 +00:00
Donald Woods 4aa5b43825 OPENJPA-1764 Fix bug in DBCPDriverDataSource.mergeConnectionProperties, move common surefire-plugin systemProperties to parent pom and move the connection user/password to equivalent openjpa.Connection settings
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1002745 13f79535-47bb-0310-9956-ffa450edef68
2010-09-29 17:12:49 +00:00
Donald Woods ed85f020fd OPENJPA-1764 Automatically enable connection pooling in unmanaged environments when Commons DBCP is available
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1002321 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 18:56:51 +00:00
Jeremy Bauer 9b105a2f00 OPENJPA-1809 Modified syncVersion exception path to pass the lock level into the exception producer. This eventually allows the exception translator to correctly decide whether the exception was the result of a lock timeout.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@999559 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 19:27:08 +00:00
Michael Dick c1b941f3d1 OPENJPA-1800: revert trailing whitespace variable
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@997890 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16 19:44:37 +00:00
Michael Dick a093e9daa6 OPENJPA-1800: prevent duplicate column in SybaseDictionary.getCreateTableSQL()
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@997889 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16 19:37:20 +00:00
Catalina Wei c110e0d28a OPENJPA-1798: Improve messages in localizer.properties
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@997373 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 15:52:34 +00:00
Michael Dick 208347e88d OPENJPA-1788: use DBIdentifier.isNull for firebird dictionary
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@996000 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 22:11:19 +00:00
Fay Wang 35205c46ac OPENJPA-1784: clean up fix
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@995596 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 22:35:19 +00:00
Fay Wang 9c25bd1633 OPENJPA-1784: improve dirty-checking for persistent maps when the get method is called to retrieve an embeddable value.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@995333 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 06:47:46 +00:00
Milosz Tylenda da688116d5 OPENJPA-735: Fix spelling in method name and comments.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@990085 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 10:22:45 +00:00
Fay Wang f0f3a4c588 OPENJPA-735: OpenJPA support for SolidDB
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@988164 13f79535-47bb-0310-9956-ffa450edef68
2010-08-23 16:01:45 +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
Jeremy Bauer 696786e93e Added missing continuation character to message
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@987556 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 15:49:54 +00:00
Fay Wang 3a62393e06 OPENJPA-735: OpenJPA support for SolidDB
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@987289 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 20:09:45 +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 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
Pinaki Poddar a7bd0831cc Designate user parameter for Matches expression
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@986744 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 15:36:01 +00:00
Fay Wang dbb0a5fe41 OPENJPA-735: OpenJPA support for SolidDB
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@986725 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 15:08:25 +00:00
Fay Wang efd6ee93b5 OPENJPA-735: OpenJPA support for SolidDB
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@986525 13f79535-47bb-0310-9956-ffa450edef68
2010-08-17 23:39:23 +00:00
Jeremy Bauer 0b3f1b2d2a OPENJPA-735 Updated DBIdentifier to allow case insensitive compares for databases that do not support mixed case identifiers.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@986166 13f79535-47bb-0310-9956-ffa450edef68
2010-08-17 01:57:22 +00:00
Fay Wang b3b274d545 OPENJPA-735: OpenJPA support for SolidDB
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@986120 13f79535-47bb-0310-9956-ffa450edef68
2010-08-16 20:06:59 +00:00
Fay Wang 9d3305bcc4 OPENJPA-735: OpenJPA support for SolidDB
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@985003 13f79535-47bb-0310-9956-ffa450edef68
2010-08-12 21:58:14 +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
Jeremy Bauer a36ace562b OPENJPA-1739 Added additional metrics to cache statistics and updated instrumentation.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@984896 13f79535-47bb-0310-9956-ffa450edef68
2010-08-12 18:18:43 +00:00
Michael Dick a6cfb6c848 OPENJPA-1668: allow non-default sequence sql strings for z/os and iseries
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@984413 13f79535-47bb-0310-9956-ffa450edef68
2010-08-11 14:06:10 +00:00
Fay Wang 4fd4c17c76 OPENJPA-735: OpenJPA support for SolidDB
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@984235 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 22:11:42 +00:00
Fay Wang 8cb9f588ff OPENJPA-735: OpenJPA support for SolidDB
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@984222 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 21:46:29 +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
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
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 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
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 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
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
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 6210611374 OPENJPA-1723: Improve the scalability of PreparedQueryCacheImpl.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@963498 13f79535-47bb-0310-9956-ffa450edef68
2010-07-12 21:39:47 +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 1738c1f33b OPENJPA-1717: Disable FinderCache statistics by default.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@961017 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 21:31:12 +00:00
Milosz Tylenda 2f10cd4520 OPENJPA-6: Implement JDBC 3 methods in delegates.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@958120 13f79535-47bb-0310-9956-ffa450edef68
2010-06-25 21:34:46 +00:00
Albert Lee b27485bd8b OPENJPA-1708 - Change a message logging from info to trace and correct supported log levels in manual.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@958018 13f79535-47bb-0310-9956-ffa450edef68
2010-06-25 16:13:53 +00:00
Milosz Tylenda 8781af1e88 OPENJPA-1689: Coorect a comment and remove unused import statements.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@957831 13f79535-47bb-0310-9956-ffa450edef68
2010-06-25 07:53:24 +00:00
Jeremy Bauer e372349aeb OPENJPA-1689 Provide better determination of PostgreSQL db owned sequences
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@957715 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24 21:06:47 +00:00
Donald Woods 51cf5ee59e OPENJPA-1700 Findbugs - add commented out annotation so we'll ignore this in the future
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@956990 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 19:32:51 +00:00