Commit Graph

941 Commits

Author SHA1 Message Date
Donald Woods e16c823464 OPENJPA-1616 Fix TestTimeoutException test failures on MySQL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932025 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 17:39:18 +00:00
Donald Woods 5e62924fce OPENJPA-1616 Fix TestTimeoutException test failures on MSSQL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@931693 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 21:22:52 +00:00
Albert Lee 4555af14af OPENJPA-1609 - Commit contribution by Jody Grassel.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@931635 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 18:21:13 +00:00
Donald Woods b2b922e1c8 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/trunk@931535 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 13:31:43 +00:00
Fay Wang f03f7b4f61 OPENJPA-1608: fix pessimistic write lock in informix
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@930889 13f79535-47bb-0310-9956-ffa450edef68
2010-04-05 15:57:13 +00:00
Michael Dick 8579593f88 OPENJPA-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/trunk@929266 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 20:42:29 +00:00
Pinaki Poddar 8abf57d913 OPENJPA-1294: New connection is not reference counted
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@929184 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 16:33:16 +00:00
Donald Woods cb0ca8f009 OPENJPA-1597 Rollback MSSQL reserved word, but update Rider test entity failure on MSSQL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@928241 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 17:56:32 +00:00
Donald Woods a9648ec87e OPENJPA-1597 Discovered 'rule' is a MSSQL reserved word
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@928236 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 17:23:16 +00:00
Michael Dick 666ec6c6de OPENJPA-1550:
Set failedObject on RollbackException.
Submitted By: Heath Thomann

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@927267 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 03:55:43 +00:00
Fay Wang 53dddbeb8f OPENJPA-1596: make valid index name for DB2 zOS
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926741 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 19:27:24 +00:00
Donald Woods b5b65a7d4b [maven-release-plugin] prepare release 2.0.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926437 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 02:27:40 +00:00
Catalina Wei 148db96a8c OPENJPA-1585: Additional trace helps users to relate query or entity actions to SQL pushdowns
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@925540 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 04:11:05 +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
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
Pinaki Poddar 4f11cba18a OPENJPA-1565: Some MySQL drivers return 0 error code for timeout exception
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924651 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 05:54:26 +00:00
Pinaki Poddar cb895a2b25 OPENJPA-1565: Oracle exception code 72000 is not fatal
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924638 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 05:26:36 +00:00
Pinaki Poddar 1b20902b50 OPENJPA-1565,OPENJPA-1578:
Modify tests to raise correct lock/query exception
Fill in details in exception
Use retreive mode while initializing not store mode 

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924626 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 03:42:50 +00:00
Fay Wang 41ce320cc0 OPENJPA-1577: disable query cache when user-defined field strategy is used.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924055 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 23:41:36 +00:00
Pinaki Poddar 0f5508e680 Better diagnostic messages on why a query can not be cached
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923940 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 19:10:49 +00:00
Pinaki Poddar 992ba73a71 OPENJPA-1565: Raise correct Query/LockTimeout exception
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923928 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 18:39:02 +00:00
Pinaki Poddar f3b00d7801 OPENJPA-1565: Raise correct Query/LockTimeout exception
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923864 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 16:47:15 +00:00
Pinaki Poddar 845f9b5018 OPENJPA-1578: Set CacheMode properties properly
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923755 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 14:30:53 +00:00
Catalina Wei a5ca9aae2d OPENJPA-1573: Incorrect SQL for HAVING = entity variable
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923589 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 06:11:18 +00:00
Pinaki Poddar d1b0d0fd6d OPENJPA-1575: Detect parametrized fields in a query expression to exclude queries from cache that use parameters for externized fields.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923441 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 21:07:14 +00:00
Fay Wang d69fb9a65a OPENJPA-1570: fix @Strategy inside MappedSuper class
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@922688 13f79535-47bb-0310-9956-ffa450edef68
2010-03-13 23:14:35 +00:00
Catalina Wei 8f45b5bf0b OPENJPA-1568: Make createConnectionFactory() in JDBCConfigurationImpl public
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@922441 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 22:31:45 +00:00
Catalina Wei e2df6f49e4 OPENJPA-1568: Make createConnectionFactory() in JDBCConfigurationImpl public
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@922399 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 19:18:07 +00:00
Catalina Wei 6503eabef5 OPENJPA-1550: When batchLimit=-1 or >1 and an exception is caused, the params and failedObject are missing from the resultant exception.
avoid NullPointerException for JDBC provider using PureQUery APIs.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@922355 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 17:17:23 +00:00
Pinaki Poddar f04031edc1 OPENJPA-1565: Raise correct timeout exceptions.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@922290 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 15:17:58 +00:00
Pinaki Poddar 4be5a5a194 OPENJPA-1565: Raise correct time out exception
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@922288 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 15:08:16 +00:00
Michael Dick dd210a2831 OPENJPA-1558:
Check whether the result type is in the same entity hierarchy before using discriminator value when loading a relationship.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@921620 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 23:19:25 +00:00
Fay Wang 2798b0dd73 OPENJPA-1556: fix @Strategy inside Embeddable
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@921436 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 16:29:02 +00:00
Donald Woods f82184314e OPENJPA-1550 Fix comment
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@921177 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 22:34:06 +00:00
Donald Woods 695bd9c4bf OPENJPA-1550 When batchLimit=-1 or >1 and an exception is caused, the params and failedObject are missing from the resultant exception. Original patch contributed by Heath Thomann.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@921174 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 22:29:18 +00:00
Craig Russell 17652a870b OPENJPA-1530 change TYPE to ENGINE in DDL for MySQL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@920979 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 16:48:50 +00:00
Michael Dick c58af533fb OPENJPA-1178:
Remove uneeded imports

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@920540 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 22:07:27 +00:00
Michael Dick 62092d763a OPENJPA-1118:
Remove Numbers.valueOf() - prefer autoboxing

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@920503 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 20:43:37 +00:00
Donald Woods 82694335dd OPENJPA-740 Handle case where size is unkown by defaulting back to old value (64KB)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@920492 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 20:23:03 +00:00
Donald Woods 1873fcd368 OPENJPA-740 In MySQLDictionary use LONGBLOB, MEDIUMBLOB, TINYBLOB based on the column size, instead of always using BLOB which can only hold 64KB. Patch contributed by Simone Gianni.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@920476 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 19:35:47 +00:00
Donald Woods 4b3d520ee9 OPENJPA-1492 Change access on ReverseMappingTool#getAnnotationsForMeta(Object) to public. Request from Laird Nelson.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@920404 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 17:07:32 +00:00
Michael Dick 4dc0267629 OPENJPA-1551:
Storing connectionFactoryName in BrokerImpl - this factory will be used at JDBCStore creation time to override the value from the configuration

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@919557 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 19:35:53 +00:00
Fay Wang 8248d81a68 OPENJPA-1547: fix subquery syntax error for NOT IN (subquery with MEMBER OF)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@918188 13f79535-47bb-0310-9956-ffa450edef68
2010-03-02 21:24:01 +00:00
Jeremy Bauer 208f5388ce OPENJPA-1540 Modified Informix dictionary to detect non-delimited identifier case for the Informix driver. Also added missing method override.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@917727 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 21:29:01 +00:00
Pinaki Poddar 11149ec5fb OPENJPA-1543: Remove fragmented messages. Change to TRACE level logging.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@917657 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 19:16:22 +00:00
Pinaki Poddar c1a3272872 OPENJPA-1543: Remove fragmented messages. Change to TRACE level logging.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@917656 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 19:12:21 +00:00
Fay Wang ea49b4cc6a OPENJPA-1536: fix the where clause in sql generation problem when join table strategy is used in toOne eager fetch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@916106 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 03:33:00 +00:00
Donald Woods 0befad7051 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915979 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 21:04:54 +00:00
Donald Woods 099d18901e [maven-release-plugin] prepare release 2.0.0-beta2
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915977 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 21:04:42 +00:00
Kevin W. Sutter baa3705699 OPENJPA-1516. Additional comments on the free() method to indicate that callers need to ensure thread-safety.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915472 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 18:35:44 +00:00
Pinaki Poddar 2f3da18be0 Throw informative error messages on bad enum field
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@911530 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 19:11:36 +00:00
Pinaki Poddar 7b6c11a6cd OPENJPA-924: Remove logging from FinderCache -- such low-level details seem to confuse rather to inform the user.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@911496 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 17:23:06 +00:00
Fay Wang 3854f9b5e6 OPENJPA-931: support nested embeddedId in IdClass during remove
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@907853 13f79535-47bb-0310-9956-ffa450edef68
2010-02-09 00:17:50 +00:00
Michael Dick 69c5eb11ff OPENJPA-1498. Minor message file improvements
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@906993 13f79535-47bb-0310-9956-ffa450edef68
2010-02-05 16:37:54 +00:00
Fay Wang 814fef0f7d OPENJPA-1493: performance fix in getTableIndex
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@906614 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 19:38:27 +00:00
Catalina Wei ec0eeedf35 OPENJPA-1493: Performance improvement in SelectImpl.getTableIndex() for JPQL without subselect
The JUnit regression uncovers an issue in Criteria Query
add @AllowFailure in TestTypesafeCriteria.testValues5(), it is found the expected sql is incorrect. A separate issue will address this problem.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@905898 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 05:26:58 +00:00
Fay Wang 1a216e9fb7 OPENJPA-1483: support count distinct compound key
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@905540 13f79535-47bb-0310-9956-ffa450edef68
2010-02-02 07:58:31 +00:00
Milosz Tylenda 97496b0bd6 OPENJPA-1367: Improvements for H2 database. Commit patch provided by Prashant Bhat with slight modifications. Information on CROSS JOIN provided by Thomas Mueller.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@905001 13f79535-47bb-0310-9956-ffa450edef68
2010-01-31 11:15:01 +00:00
Fay Wang 1000f39d35 OPENJPA-1486: lazily fetched embeddable should not be materialized in the query result
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@904277 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 21:57:48 +00:00
Donald Woods 9c90ca5506 merged in r902968 from beta branch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@902988 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 21:50:14 +00:00
Jeremy Bauer 671417a73a OPENJPA-1115 Fix auto gen id related jUnit regressions on PostgreSQL.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@902177 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 17:02:13 +00:00
Fay Wang b08a0d179b OPENJPA-1455: VALUES CURRENT SCHEMA fails in DB2 on zOS. Change the SQL to SELECT CURRENT SCHEMA FROM SYSIBM.SYSDUMMY1.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901775 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 17:03:33 +00:00
Jeremy Bauer bad0838e00 OPENJPA-1115 Fix problem with sequence schema matching due to extraneous spaces and fix some testcase failures on non-Derby DB platforms that are caused by naming collisions.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901525 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 04:30:33 +00:00
Pinaki Poddar d23199bf20 OPENJPA-1474: Setting intermediate field should take into account the loaded state
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901464 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 00:31:06 +00:00
Pinaki Poddar b94d23268f OPENJPA-1473: Replace null object with non-null default for aggregate expressions
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901454 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 00:16:03 +00:00
Jeremy Bauer f4d0966de5 OPENJPA-1115 Enabled delimited id test on MySQL and fix identifier conversion related bugs.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901362 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 20:14:19 +00:00
Jeremy Bauer 9e73688412 OPENJPA-1115 Eliminate alias conversion on configurations that do not require conversion.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@900985 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 22:33:11 +00:00
Jeremy Bauer 245bb82d34 OPENJPA-1115 Fixed many naming collisions in delimited id tests. Corrected bug in schema group that broke fully qualified sequence names.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@900955 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 21:00:25 +00:00
Fay Wang d31639d7b9 OPENJPA-931: support nesting EmbeddedId in IdClass
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@900231 13f79535-47bb-0310-9956-ffa450edef68
2010-01-17 22:39:32 +00:00
Jeremy Bauer fadd48fe5b OPENJPA-1115 Remaining delimited identifiers support, including pluggable identifier utility. Includes code and test contributions from Dianne Richards.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@899784 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 19:38:18 +00:00
Pinaki Poddar 7b53696e6e OPENJPA-1464: Reparameterize with enum-valued parameters.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@899780 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 19:35:16 +00:00
Pinaki Poddar db20d8a011 OPENJPA-900: Reduce reflection cost. Enumerate hint keys.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@899530 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 05:25:25 +00:00
Pinaki Poddar b5a412fd42 OPENJPA-900: Reduce reflection in hint processing. Redesign with explicit hint keys.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@899529 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 05:23:15 +00:00
Catalina Wei dad4ad1952 OPENJPA-1461: Incorrect Oracle CREATE TABLE DDL for XML column
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@899528 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 05:12:44 +00:00
Donald Woods 55bf86a4c8 OPENJPA-1456 Replace StringBuffer usage with StringBuilder for minor performance/scalability improvement
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@898168 13f79535-47bb-0310-9956-ffa450edef68
2010-01-12 03:31:11 +00:00
Fay Wang e53378bd26 OPENJPA-1455: fix the way to get current schema per Milosz's suggestion.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@898118 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 23:43:38 +00:00
Richard G. Curtis 0efea474f2 OPENJPA-250: Committing to trunk. Submitted by Patrick Linskey, Simon Droscher, and Rick Curtis.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@898024 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 19:34:23 +00:00
Fay Wang e303892e2a OPENJPA-1455: fix add column problem involving tables with same name in multiple schemas for DB2
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@897056 13f79535-47bb-0310-9956-ffa450edef68
2010-01-07 23:42:31 +00:00
Fay Wang 3320287392 OPENJPA-1020: fix class cast exception when retrieving eager persistent collection
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@895788 13f79535-47bb-0310-9956-ffa450edef68
2010-01-04 21:17:35 +00:00
Milosz Tylenda c6459391c8 OPENJPA-1248: Add limited support of LOB streaming on SQL Server; wording corrections.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@895453 13f79535-47bb-0310-9956-ffa450edef68
2010-01-03 17:55:35 +00:00
Milosz Tylenda e5d2bd435f OPENJPA-1248: PostgreSQL needs truncating LOB content on update when new content is shorter than the existing content.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@895408 13f79535-47bb-0310-9956-ffa450edef68
2010-01-03 15:10:42 +00:00
Richard G. Curtis 781654af60 OPENJPA-1224: Backing out DB2 and Derby related changes to investigate in a seperate JIRA.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893220 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 16:28:09 +00:00
Pinaki Poddar ac6dab1d07 OPENJPA-1440: Allow COUNT(*) syntax when DBDictionary.useWildCardForCount=true
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@892949 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 19:57:11 +00:00
Pinaki Poddar 14a0241792 OPENJPA-1440: Allow COUNT(*) syntax when DBDictionary.useWildCardForCount=true
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@892947 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 19:55:58 +00:00
Fay Wang d189eac9dd OPENJPA-1438: fix wherePrimaryKey for entity using derived identity
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@892430 13f79535-47bb-0310-9956-ffa450edef68
2009-12-19 04:50:24 +00:00
Catalina Wei 9e8b0ded0b OPENJPA-1401 Inheritance using Join Strategy may fail in cross join JPQL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@891476 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 23:31:44 +00:00
Fay Wang 8410bc88c6 OPENJPA-1435: remove null element from the coll
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@891417 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 20:33:31 +00:00
Richard G. Curtis 3067245dac OPENJPA-1224: Updating DBDictionaries to support setting precision on a BigDecimal column.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@890486 13f79535-47bb-0310-9956-ffa450edef68
2009-12-14 21:31:31 +00:00
Pinaki Poddar e5ba74a9fc OPENJPA-1424: Fix. Do not lookup extraFieldData with another mapping's field
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889798 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 20:27:05 +00:00
Michael Dick 82aece9711 OPENJPA-1326:
Set schema names for Sybase when creating new indexes and primary keys.
Submitted By : BJ Reed

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889772 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 19:08:01 +00:00
Pinaki Poddar 4515e2f5da OPENJPA-1425: Lieralize value if they appear in selection clause for databases that do not support parameters in selection terms.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889646 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 15:09:03 +00:00
Pinaki Poddar b1ee063aa4 OPENJPA-1425: Lieralize value if they appear in selection clause for databases that do not support parameters in selection terms.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889490 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 02:26:13 +00:00
Pinaki Poddar 8607e0b3b4 OPENJPA-1397: Allow some columns of compound key to be null.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@888417 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 14:51:44 +00:00
Fay Wang 3f3d586c73 OPENJPA-1413: fix NPE when update using CASE expression on Derby
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@886991 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 23:42:00 +00:00
Fay Wang 123e0b6120 OPENJPA-459: fix bulkUpdate for DB2
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@886685 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 06:36:36 +00:00
Fay Wang 8a0f2da8fd OPENJPA-931: derived identity support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@886055 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 05:45:56 +00:00
Pinaki Poddar 2353db803d OPENJPA-1409: Missing from TeamCity commit
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@886045 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 03:55:09 +00:00
Pinaki Poddar 1aaa1aa086 OPENJPA-1409: Preserve type for currentDate/Time expressions
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@885989 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 22:51:01 +00:00
Pinaki Poddar bc7da97658 Print class loader when metadata processing fails.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@885955 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 21:46:29 +00:00