Commit Graph

1122 Commits

Author SHA1 Message Date
Michael Dick 79b14dd05f OPENJPA-1150:
Un-exclude writebehind testcases since they're no longer in svn

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@902141 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 16:12:12 +00:00
Michael Dick c246a7a4b1 OPENJPA-1150:
Removing incomplete WriteBehind implementation.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@902113 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 15:20:03 +00:00
Pinaki Poddar ec8dba1465 OPENJPA-1477: Do not use cached PreparedQuery unless it is initialized
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901845 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 20:17:50 +00:00
Kevin W. Sutter 184cb41619 OPENJPA-1476. Turning off the QueryCache by default. The new default value for this property will be "false". Also, disabling the Write Behind testcases.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901825 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 18:48:31 +00:00
Donald Woods 6d253cfe10 add missing license headers
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901810 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 18:15:36 +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
Donald Woods 3042900de1 OPENJPA-1374 allow setUp() code to run, as it is required by tearDown()
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901492 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 01:33:18 +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
Donald Woods 5a0b97302b OPENJPA-1374 The @DatabasePlatform no longer works, as Derby will always be on the classpath. Switching 3 junits over to use setSupportedDatabases() in their setUp() routines instead....
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901419 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 22:53:02 +00:00
Donald Woods 2b2ede1e38 OPENJPA-1374 Enable junits to be executed against an in-memory Derby 10.5.3.0 db. Moved common Derby profiles to the parent POM. Added new Derby props in o-p-j which knocked 2 mins off build time. Added a test-derbymem profile to use Derby 10.5.3.0 as in-memory DB, which reduced build time by 5 mins.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901374 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 20:53:57 +00:00
Donald Woods 531df90e41 OPENJPA-1293 JUnit test failure when using Derby 10.5.3.0. Disabling testVariableHaving() for Derby.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901373 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 20:48:42 +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
Catalina Wei 4adf1c68a7 OPENJPA-1466 Fix Junit test failures on Oracle
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901295 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 17:33:59 +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
Donald Woods 68eaab6dcc add comments on tests.openjpa.allowfailure options and behavior
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@900807 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 14:59:28 +00:00
Donald Woods 28a6546b14 need openjpa.loglevel prop here so you can override if not doing a full build
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@900801 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 14:37:35 +00:00
Kevin W. Sutter d62991acc3 OPENJPA-1334. Updated the name of the testcase from TestPartionedDataCache to TestPartitionedDataCache.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@900468 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 17:18:38 +00:00
Fay Wang 7f66117b5a OPENJPA-782: element collection field in orm.xml should not be serialized
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@900236 13f79535-47bb-0310-9956-ffa450edef68
2010-01-17 22:47:47 +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
Richard G. Curtis bbc296ba29 OPENJPA250: Fix testcase.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@899853 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 00:37:32 +00:00
Catalina Wei 919be02042 OPENJPA-1461: Incorrect Oracle CREATE TABLE DDL for XML column
Changed mapping table name from "TORDER" to "TORDERXML" in test case.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@899851 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 00:26:51 +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
Richard G. Curtis 5a8c5de491 OPENJPA-250: Missed a line in the previous merge and remove a test from being excluded in pom.xml
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@899732 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 17:49:46 +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
Fay Wang 2331d20522 OPENJPA-1458: fix named parameter problem
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@898936 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 20:49:01 +00:00
Richard G. Curtis 0a83866953 OPENJPA-1414: Committing test case. Patch contributed by Dianne Richards.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@898515 13f79535-47bb-0310-9956-ffa450edef68
2010-01-12 21:04:47 +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 5b7c20eacb OPENJPA-1248: Test case refactored for easier control of LOB data creation, increased amount of LOB data to a more realistic value (but still under MySQL default BLOB limit - 64 kB).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@895040 13f79535-47bb-0310-9956-ffa450edef68
2010-01-01 17:39:28 +00:00
Albert Lee 2274f9c21f Fix test cases adapting to Geronimo Persistence class single/multiple providers behaviors.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893878 13f79535-47bb-0310-9956-ffa450edef68
2009-12-25 19:12:35 +00:00
Catalina Wei 5607a959ab OPENJPA-1442 JPA2 java.sql.Date, java.math.BigDecimal, or java.math.BigInteger types as derived primary keys are not Enhanced correctly
Fix testcase to avoid inserting duplicate keys.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893794 13f79535-47bb-0310-9956-ffa450edef68
2009-12-24 18:04:17 +00:00
Catalina Wei a0e001e40a OPENJPA-1442 JPA2 java.sql.Date, java.math.BigDecimal, or java.math.BigInteger types as derived primary keys are not Enhanced correctly
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893642 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 22:33:57 +00:00
Pinaki Poddar fded22b2e0 OPENJPA-1445: Support enums as External values
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893503 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 13:06:03 +00:00
Pinaki Poddar 3dee418d36 OPENJPA-1444: Use special result list for distinct query.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893420 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 07:57:31 +00:00
Kevin W. Sutter 91d46a8453 OPENJPA-1443. First couple of testcases that should get out of the "exclude" list (with a few minor updates).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893400 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 04:10:05 +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
Richard G. Curtis 35377aace9 OPENJPA-1441: Set pcVersionInit FieldMetaData to transient in PCEnhancer.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893181 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 14:27:19 +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
Fay Wang 5d9f08e728 OPENJPA-1432: preserve Compatibility flags set in compliance with the Specification.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@892397 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 23:24:23 +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
Michael Dick 40f017a2e9 OPENJPA-714:
Check l1 cache when looking for managed instances when cascading.
Submitted By: Jody Grassel

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@891120 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 04:17:43 +00:00
Fay Wang 8dff017694 OPENJPA-1431: fix @Temporal annotation when used in conjunction with @Column and @ElementCollection
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@891035 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 22:26:11 +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
Donald Woods 60cae2ff51 OPENJPA-1103 Upgrade to 1.0-SNAPSHOT versions of the jpa2 and bv spec apis and remove the early access disclaimer.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889818 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 21:19:55 +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
Fay Wang 61dc996dc9 OPENJPA-1348: remove @AllowFailure from the test case
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@888572 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 21:03:08 +00:00