Commit Graph

854 Commits

Author SHA1 Message Date
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