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
Jeremy Bauer
6234dbddfc
OPENJPA-1560 Committing JDBC escape sequence tests contributed by Dianne Richards.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@921550 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 20:22:57 +00:00
Fay Wang
f69da24268
OPENJPA-1505: allow duplicate entity listeners to be configurable
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@921538 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 20:05:09 +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
Richard G. Curtis
137ad1bacc
OPENJPA-1559: Make DataCacheManager initialization thread safe.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@921410 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 15:47:00 +00:00
Pinaki Poddar
5cb14fe384
OPENJPA-1053:: unwrap() query failure to throw correct exception and set rollback
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@920981 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 16:54:55 +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
b9a230567e
OPENJPA-1097 Detachment processing of our proxied mutable types (Date, Timestamp, etc) needs to be consistent as EM.clear() was not unproxying JavaTypes.OBJECT fields but detach()/detachAll() were. Thanks to Rick Curtis for the DetachManager changes.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@919696 13f79535-47bb-0310-9956-ffa450edef68
2010-03-06 03:26:24 +00:00
Michael Dick
b074cd80c8
OPENJPA-1551:
...
Add apache headers to new files
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@919589 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 20:25:16 +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
Richard G. Curtis
76d184c106
OPENJPA-1545: Adding new faster way to auto detach the entire persistence context. Committing code changes, test, and doc.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@918643 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 19:20:57 +00:00
Richard G. Curtis
64be0455c3
OPENJPA-1549: Optimize StateManagerImpl.proxyFields(..).
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@918245 13f79535-47bb-0310-9956-ffa450edef68
2010-03-02 23:09:13 +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
Donald Woods
2abde241c0
OPENJPA-855 Final JPQL Index M2M test updates
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@917754 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 22:15:18 +00:00
Donald Woods
18a1a04c77
OPENJPA-855 Initial JPQLIndex M2M tests
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@917716 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 21:03:26 +00:00
Donald Woods
4d25d3fa21
OPENJPA-855 proper XML entity cleanup between test runs
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@917567 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 16:08:10 +00:00
Donald Woods
ad4168b8d4
OPENJPA-855 Add additional O2M and Element collection tests for annotated and XML mapped entities
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@916855 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 23:16:13 +00:00
Richard G. Curtis
eca02573ba
OPENJPA-1542: Adding support for openjpa.DataCache Types and ExcludedTypes configuration back into trunk. Also updating TestCacheExclusions. No doc changes required as the user manual is up to date.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@916714 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 15:23:26 +00:00
Donald Woods
06d3e4e65d
OPENJPA-855 Adding additional JPQL Index tests
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@916476 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 22:08:44 +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
Richard G. Curtis
be33af366c
OPENJPA-1531: Adding support for a interval style syntax in the openjpa.DataCache.EvictionSchedule property. Added code changes, test case, and doc.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@916052 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 00:11:33 +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
Jeremy Bauer
8ef5a5dda1
OPENJPA-1529 Committing test case updates contributed by Dianne Richards.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915904 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 18:09:01 +00:00
Jeremy Bauer
0c76b25ef5
OPENJPA-1529 Committing L2 shared cache mode test cases contributed by Dianne Richards.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915838 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 16:01:26 +00:00
Catalina Wei
05e0669c07
OPENJPA-1533: JPA2 select math mix with aggregate reports syntax error
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915725 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 08:55:07 +00:00
Fay Wang
ff71a1c093
OPENJPA-1527: fix test case error
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915654 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 03:49:18 +00:00
Fay Wang
7f319c4473
OPENJPA-1527: fix AssociationOverride on the key of map where the key is an embeddable via orm.xml.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915593 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 23:46:26 +00:00
Donald Woods
cda835d50b
OPENJPA-1528 Upgrade to MySQL 5.1.12 driver. Include dbcp overrides needed for MySQL. Moved common dbcp and junit properties to parent pom to simplify maintenance. Add some blank lines in a couple poms to improve readability.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915448 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 17:27:27 +00:00
Kevin W. Sutter
eb81fddc95
Added some comments to indicate the special options required for creating a DB2 database that supports the XML column types...
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915020 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 19:03:05 +00:00
Kevin W. Sutter
0086e25b8c
OPENJPA-1526. AllowFailure for one testcase until DERBY-4558 is resolved.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@912012 13f79535-47bb-0310-9956-ffa450edef68
2010-02-19 22:17:57 +00:00
Albert Lee
8fcc5e7896
OPENJPA-1525 - Implements warn() method in TestCacheMarshallerEndToEnd$LogImpl class.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@911901 13f79535-47bb-0310-9956-ffa450edef68
2010-02-19 18:37:45 +00:00
Kevin W. Sutter
fe2c9295f4
OPENJPA-1510. Oops, wrong xml file on the commit of svn revision 911440. Backing out the debug change to the persistence.xml file.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@911454 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 15:52:06 +00:00
Kevin W. Sutter
1a4362eb7e
OPENJPA-1510. Incorrect tag caused the whole paragraph to be "red".
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@911440 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 15:31:29 +00:00
Pinaki Poddar
bdb1e5d6f2
OPENJPA-1503: Set txn for rollback directly on illegal argument
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@911240 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 01:26:04 +00:00
Richard G. Curtis
3cd8c4c6f0
OPENJPA-1517: Reduce synchronization in LifecycleEventManager.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@911213 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 23:00:50 +00:00
Richard G. Curtis
5d6a881a43
OPENJPA-1517: Reduce synchronization in LifecycleEventManager.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@911194 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 22:17:02 +00:00
Richard G. Curtis
d037890f74
OPENJPA-1515: Make CacheStatistics configurable.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@910667 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 20:00:38 +00:00
Michael Dick
c1a24be02b
OPENJPA-1370:
...
Setting svn:eol-style native
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@909545 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 18:21:01 +00:00
Michael Dick
a0e95fb993
OPENJPA-1401:
...
setting svn:eol-style native
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@909534 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 17:55:39 +00:00
Michael Dick
5f8ad3e811
OPENJPA-1442:
...
setting svn:eol-style native
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@909530 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 17:52:38 +00:00
Michael Dick
9344d03b50
OPENJPA-1001:
...
Testcases
Submitted By: Richard Rak
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@909171 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11 23:14:14 +00:00
Pinaki Poddar
feff96b4c4
OPENJPA-1334: Emulate 1.2 versions IncludedTypes/ExcludedTypes functionality via new distribution policy mechanics
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@909091 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11 17:37:53 +00:00
Pinaki Poddar
2641d43ed4
OPENJPA-1334: Separate distribution policy from DataCacheManager.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@908327 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 02:39:38 +00:00
Pinaki Poddar
ad3cf2c682
OPENJPA-1503: Use AccessController to load metamodel class.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@908225 13f79535-47bb-0310-9956-ffa450edef68
2010-02-09 21:13:44 +00:00
Fay Wang
31265de187
OPENJPA-1496: fix temporal parameter processing
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@908150 13f79535-47bb-0310-9956-ffa450edef68
2010-02-09 18:36:10 +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
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
Michael Dick
a720a9c6f6
OPENJPA-1482:
...
Prevent NoSuchMethodError when calling setVersion.
Submitted By : Rick Curtis
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@905835 13f79535-47bb-0310-9956-ffa450edef68
2010-02-02 23:23:57 +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
Pinaki Poddar
784e4560db
OPENJPA-960: Block unwrap for Object.class or null argument
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@905355 13f79535-47bb-0310-9956-ffa450edef68
2010-02-01 18:28:18 +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
7aad95a75b
OPENJPA-1485: null collection value can still be treated as loaded.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@904728 13f79535-47bb-0310-9956-ffa450edef68
2010-01-30 04:46:42 +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
Fay Wang
4197457c85
OPENJPA-1485: isLoaded util method should return true for an entity when an unloaded basic type is not in the fetch plan.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@903914 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 00:04:31 +00:00
Jeremy Bauer
a32573481e
OPENJPA-1485 Check persistent collection attributes for null when determining load state.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@903812 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 19:57:59 +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
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
Pinaki Poddar
92af878a15
Tests run only on Derby because uses database specific DDL
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@888560 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 20:28:00 +00:00
Pinaki Poddar
b831319443
OPENJPA-1397: Allow some columns of compound key to be null.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@888418 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 14:52:17 +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
f697798fd8
OPENJPA-782: fix default element collection table name to comply with the Spec
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@886883 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 19:11:45 +00:00
Albert Lee
d488b471f5
OPENJPA-1408 - Do not collect any persistence.xml/orm.xml in the persistence jdbc test base class jar file to avoid possibly entity enhancement problem down the road.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@886337 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 23:13:30 +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
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
Milosz Tylenda
583a6366fc
Fix TestMultipleSchemaNames so that schemas are created on PostgreSQL
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@885965 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 22:06:49 +00:00
Albert Lee
eea93c8346
OPENJPA-1408 - Add test binary and source jars to modules.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@885942 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 21:35:28 +00:00
Milosz Tylenda
110cb20e79
OPENJPA-1248: Improve LOB streaming with PostgreSQL when connections are being wrapped by data source; refactor and modify test case not to run Reader LOB tests while on PostgreSQL
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@885935 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 21:13:30 +00:00
Richard G. Curtis
2c00f18f0c
OPENJPA-1400: Fix PersistenceCapable.pcIsDetached() when using no statemanager and version is zero.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@885872 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 19:13:01 +00:00
Donald Woods
05226837fd
add missing or incorrect license headers found by rat plugin
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@885573 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 20:08:15 +00:00
Pinaki Poddar
a1221ea36d
Special comparison for two boolean constants
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@884265 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 20:52:36 +00:00
Pinaki Poddar
0291158f58
OPENJPA-1350: Test case (by Rick Curtis) to test early registration of type alias to avoid/minimze risk of multi-threaded repository initialization. Original change was revision 826944
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@882285 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 20:37:45 +00:00
Fay Wang
c3a856faa0
OPENJPA-1396: fix metadata-complete problem so that it will override @Transient annotation in the entity class
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@882172 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 15:12:36 +00:00
Pinaki Poddar
9f0b7abbee
Run CriteriaTest on MySQL as well.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@881977 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 22:44:01 +00:00
Pinaki Poddar
96c723b3cb
Works for MySQL
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@881772 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 13:33:04 +00:00
Pinaki Poddar
f1451e5fd8
OPENJPA-1392, OPENJPA-1393: countDistinct() and integer return type for size()
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@881638 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 00:53:03 +00:00
Catalina Wei
ee30b010dc
OPENJPA-1388 JPQL named parameter using a reserved word (:vlaue) resulting in ArgumentException
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@881598 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 22:59:01 +00:00
Pinaki Poddar
d797bc1eda
Support default projection for untyped result class, if possible.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@881566 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 22:10:18 +00:00
Pinaki Poddar
c44c17bd77
Add error messages for attribute not found exceptions.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@881381 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 17:13:48 +00:00
Pinaki Poddar
fb82c6ad13
OPENJPA-1381: Ignore preapared query if lock mode changes
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@881011 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 22:23:09 +00:00
Pinaki Poddar
9c275904f3
OPENJPA-1387: Revert unique colum related changes to before 880685 plus other changes after that related to OPENJPA-1051 and OPENJPA-1381.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@880922 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 19:34:11 +00:00
Pinaki Poddar
cfea146c29
OPENJPA-1381: Ignore preapared query if lock mode changes
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@880891 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 18:27:20 +00:00
Pinaki Poddar
0d0daed2cb
Literal value for empty disjunction and conjunction
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@836023 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 22:18:32 +00:00
Pinaki Poddar
6e37c5f34c
Use decorator pattern for Criteria Query tests
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@835961 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 19:29:48 +00:00
Michael Dick
f6327de653
OPENJPA-1173:
...
Updating PostgreSQL driver.
Submitted by: Tim McConnell
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@835716 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 03:04:03 +00:00
Michael Dick
2271a54167
OPENJPA-1383:
...
Setting DateFormat.SHORT and LOCALE.US in testcases.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@835445 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 17:03:34 +00:00
Pinaki Poddar
091109041f
OPENJPA-1047: Prohibit Table annotation or XML descriptor element for MappedSuperclass.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@835293 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 08:12:40 +00:00
Pinaki Poddar
8c952771dc
OPENJPA-1047: Prohibit Table annotation or XML descriptor element for MappedSuperclass.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@835292 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 08:10:05 +00:00
Pinaki Poddar
70fc46f93e
OPENJPA-459: Bulk update using a join instead of a subselect
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@835257 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 06:35:31 +00:00
Pinaki Poddar
6f11e4d983
OPENJPA-1381: Ignore cached target query when lock mode is set
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@835220 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 04:14:55 +00:00
Fay Wang
983b34b68e
OPENJPA-1380: queryCache is not refreshed for cross-join jpql.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@835054 13f79535-47bb-0310-9956-ffa450edef68
2009-11-11 20:40:18 +00:00
Jeremy Bauer
ab18db113b
OPENJPA-1248 Set null or empty_lob as appropriate when inserting a new streaming lob for update on Oracle. Also configured test to retain connection over the life of the tx and updated manual to document this requirement.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@834564 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 17:53:32 +00:00
Richard G. Curtis
19eb9f2615
OPENJPA-1379: Fixed locking problem in AbstractQueryCache when using timestamp eviction policy and added new test case.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@834252 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09 22:02:15 +00:00
Jeremy Bauer
218f57a731
Fixed minor syntax bug in ORM file.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@834181 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09 19:29:15 +00:00
Donald Woods
00fcf4cfd3
OPENJPA-839 fix pom data so unprovided depends will be pulled automatically by maven and mark JAXB depends as optional
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@832878 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 21:35:07 +00:00
Pinaki Poddar
faf2966816
OPENJPA-1334: Refresh should ignore cache.retrieve.mode settings. Assorted changes in property processing for usability
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@832874 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 21:18:38 +00:00
Jeremy Bauer
f0ad193611
Fixed test case failure which occurs on DB platforms that use non-default max embedded LOB size.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@832816 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 17:48:29 +00:00
Pinaki Poddar
2ff77531c2
Changed column name for Order.count to CNT to save HSQLDB
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@832328 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 07:56:07 +00:00
Pinaki Poddar
48a8b22b7b
OPENJPA-1369: Change Order.count to column CNT
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@832318 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 07:13:58 +00:00
Pinaki Poddar
b1b1e0fc40
Changed column name for Order.count to CNT to save HSQLDB
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@832308 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 06:01:45 +00:00
Pinaki Poddar
e43c6f05a3
OPENJPA-1369: Change Order.count to column CNT
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@832306 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 05:50:45 +00:00
Pinaki Poddar
f4c2b59df7
Changed column name for Order.count to CNT to save HSQLDB
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@832304 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 05:39:56 +00:00
Pinaki Poddar
073ad1d797
Changed column name for Order.count to CNT to save HSQLDB
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@832300 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 05:12:14 +00:00
Pinaki Poddar
90392e37d6
OPENJPA-1369: Change Order.count column name to save HSQLDB keyword name clash
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@832117 13f79535-47bb-0310-9956-ffa450edef68
2009-11-02 21:43:17 +00:00
Pinaki Poddar
74b0ac1956
OPENJPA-1369: Use CONCAT function for HSQL 1.8.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@832092 13f79535-47bb-0310-9956-ffa450edef68
2009-11-02 20:33:53 +00:00
Fay Wang
eabd0c9454
OPENJPA-1371: fail to extract correct id from an entity during merge when this entity has compound primary key using IdClass, and some field in the IdClass is a derived identity from a not-yet-managed toOne relation.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@831626 13f79535-47bb-0310-9956-ffa450edef68
2009-11-01 00:50:15 +00:00
Catalina Wei
f25b573aa0
OPENJPA-1370 JPA2 missing implementation for createNamedQuery(String name, Class<T> resultClass)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@831488 13f79535-47bb-0310-9956-ffa450edef68
2009-10-30 23:21:09 +00:00
Donald Woods
1154f23a11
OPENJPA-1368 Upgrade to HSQLDB 1.8.0.10 and in-memory db for optional HSQLDB unit testing
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@831334 13f79535-47bb-0310-9956-ffa450edef68
2009-10-30 15:33:39 +00:00
Jeremy Bauer
62cc18cecb
OPENJPA-944: Updated test to run on Oracle by setting the dictionary option to use triggers for IDENTITY gen type.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@830709 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 18:20:12 +00:00
Michael Dick
530a190ebb
OPENJPA-1141:
...
Optionally reorder MetaData resolution for entities which use derived IDs
Submitted By: Jody Grassel
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@830690 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 17:34:45 +00:00
Pinaki Poddar
5016fc69f8
OPENJPA-944: Indirect recursion in fetch. Solution provided by Yanko Zhikov.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@830431 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 03:43:27 +00:00
Fay Wang
71f9f409c0
OPENJPA-871: change test case table name
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@829107 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 15:55:40 +00:00
Fay Wang
b646b8810d
OPENJPA-871: support JoinColumn in conjunction with MapsId annotation
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@828889 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 22:52:39 +00:00
Pinaki Poddar
13c88d75cf
OPENJPA-1334: i) Calibrate type-based cache eligibility logic to align better with new JPA 2 as well as previous @DataCache behavior.
...
ii) Use CacheMode settings via FetchPlan.
iii) Cleanup hint handler etc. Replace implementation by interface.
iv) Start organizing JPA property processing
v) Improve upon EntityManager.setProperty()
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@828880 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 22:33:13 +00:00
Jeremy Bauer
ec7f6f5b01
Modified same named entities to use unique table names. Also corrected an NPE in test cleanup which occurred when embeddable metadata was present in the metadata repository.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@828786 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 17:12:01 +00:00
Michael Dick
105d46c6ea
OPENJPA-1308:
...
Remove extraneous cast of VARCHAR to VARCHAR for DB2.
Submitted By: B.J. Reed
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@828772 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 16:19:17 +00:00
Richard G. Curtis
7a46717616
OPENJPA-859: Restructured testcase. Minor formatting change.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@828242 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 22:45:36 +00:00
Albert Lee
330b1f657a
Re-factor unnecessary String concatenation.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@828079 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 16:15:53 +00:00
Richard G. Curtis
f7568decb9
OPENJPA-859: Recommitting 818928. Added new test scenario for partial xml defined embeddable that implements Serializable.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@828072 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 15:57:00 +00:00
Pinaki Poddar
8abd836dcf
OPENJPA-1334: Support instance-based cache partition
...
move type-based cache eligibility logic to DataCacheManager from ClassMetaData.
Calibrate tests to new eligibility policy
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@827788 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 20:47:12 +00:00
Jeremy Bauer
04df2fac82
OPENJPA-1115 Committing code and tests contributed by Dianne Richards. This commit cleans up some issues with manual/user specified delimiters and adds initial support for full delimiting via the delimited-identifiers element in orm.xml.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@827727 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 16:31:39 +00:00
Fay Wang
22054669db
OPENJPA-871: derived identity test case using orm xml
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@826848 13f79535-47bb-0310-9956-ffa450edef68
2009-10-19 22:41:21 +00:00
Milosz Tylenda
c95593d8e2
OPENJPA-1153: Speed tests up by using only needed entities rather than all entities from persistence.xml
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@826264 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 14:49:54 +00:00
Milosz Tylenda
18f0e74899
OPENJPA-1153: Exclude TestEJBTransactionalClass since it actually tests nothing.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@826257 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 14:09:18 +00:00
Catalina Wei
a32bb62381
OPENJPA-1185 Subquery overhaul
...
fix subquery correlation involving association table
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@826135 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 00:07:04 +00:00
Fay Wang
6d964387c8
OPENJPA-1013: Refactor correlated plural joins
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@825969 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 16:01:08 +00:00
Pinaki Poddar
85e631a193
OPENJPA-1334: Support partitioned cache with instance-level distribution policy
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@825768 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 05:07:56 +00:00
Fay Wang
79a4b76fdf
OPENJPA-1352: fix instantiation of proxyCollection/Map for Arrays.asList
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@825700 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 23:35:42 +00:00
Richard G. Curtis
6d50e87a03
OPENJPA-250: Have preload process registered classes. Added simple preload testcase. Fixed problem where preloading wasn't being enabled due to a change in 821925.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@825623 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 19:28:23 +00:00
Tim McConnell
bb205a29c9
OPENJPA-1348 Use @AllowFailure annotation rather than commenting out failing testcase
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@825161 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 15:09:58 +00:00
Jeremy Bauer
cc59e096ef
OPENJPA-1349 Spec version property was being prematurely removed from the config map in the create container emf path. Spec version was always set to 2.0, thus compatibility and other options were not set properly for a 1.0 persistence.xml. Also added a test framework class that allows pseudo-testing of the createContainerEMF path using a specific persistence.xml and pu name.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@825006 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 04:01:45 +00:00
Tim McConnell
52fdddcf38
OPENJPA-1348 Add testcase to demonstrate WriteBehind cache flush operation failure using embeddable
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@825000 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 02:44:20 +00:00
Pinaki Poddar
4f5a9dd676
OPENJPA-1345: Missing files from TeamCity auto-commit
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@824574 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 02:57:15 +00:00
Pinaki Poddar
05d2a80417
OPENJPA-1345: Update to JPA Spec version EA9
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@824568 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 02:06:19 +00:00
Pinaki Poddar
f74e988088
OPENJPA-1341: PostRemove callback trigger points
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@824454 13f79535-47bb-0310-9956-ffa450edef68
2009-10-12 18:48:10 +00:00
Pinaki Poddar
60b8e64ec9
OPENJPA-1342: A simple mechanics to test with container managed transaction semantics
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@824384 13f79535-47bb-0310-9956-ffa450edef68
2009-10-12 15:28:02 +00:00
Albert Lee
eb41b03ff4
OPENJPA-1344 Add checks for needed exception conditions.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@824213 13f79535-47bb-0310-9956-ffa450edef68
2009-10-12 01:49:30 +00:00
Milosz Tylenda
bc11397912
OPENJPA-1153: Speed tests up by using only needed entities rather than all entities from persistence.xml
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@824071 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11 13:35:43 +00:00
Pinaki Poddar
3c8b756ce5
OPENJOA-1342: Support simple/basic container test harness for managed transaction
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@823997 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11 01:52:34 +00:00
Milosz Tylenda
0e8cf0dc0b
OPENJPA-1153: Speed tests up by using only needed entities rather than all entities from persistence.xml
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@823649 13f79535-47bb-0310-9956-ffa450edef68
2009-10-09 18:11:23 +00:00
Michael Dick
4994981795
OPENJPA-1338:
...
Setting svn:eol-style = native for new files.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@822708 13f79535-47bb-0310-9956-ffa450edef68
2009-10-07 13:11:21 +00:00
Catalina Wei
6ab4b48d55
OPENJPA-1339 JPA2 JPQL GROUP BY embeddable is not allowed
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@822562 13f79535-47bb-0310-9956-ffa450edef68
2009-10-07 02:47:16 +00:00
Catalina Wei
73e9f4d2b6
OPENJPA-1338 Allow comparison for VALUE(e) that maps to basic type
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@822530 13f79535-47bb-0310-9956-ffa450edef68
2009-10-06 22:36:08 +00:00
Catalina Wei
1b91bd3b58
OPENJPA-1338 Allow comparison for VALUE(e) that maps to basic type
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@822528 13f79535-47bb-0310-9956-ffa450edef68
2009-10-06 22:22:09 +00:00
Catalina Wei
020d46ef12
OPENJPA-1338 Allow comparison for VALUE(e) that maps to basic type
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@822330 13f79535-47bb-0310-9956-ffa450edef68
2009-10-06 16:13:33 +00:00
Richard G. Curtis
5b9c0cb8f8
OPENJPA-1124: Adding @AllowFailure to failing test variation.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@822307 13f79535-47bb-0310-9956-ffa450edef68
2009-10-06 15:04:06 +00:00
Richard G. Curtis
63a3408d7d
OPENJPA-1224: backing out changes while investigating a test regression.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@822288 13f79535-47bb-0310-9956-ffa450edef68
2009-10-06 14:14:49 +00:00
Fay Wang
c14838950c
OPENJPA-1330: support join table strategy for uni-directional many-to-one relation and uni-/bi-directional one-to-one relation.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@820839 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 23:18:56 +00:00
Donald Woods
fa02d2a5fa
OPENJPA-1229 get rat-maven-plugin passing again, as any file included in the source distribution has to pass rat:check
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@820779 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 20:44:24 +00:00
Fay Wang
c2a723816b
OPENJPA-1330: bi-directional many-to-one/one-to-many using join table strategy
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@820748 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 18:49:05 +00:00
Donald Woods
797de03a10
OPENJPA-1229 Update NOTICE files to match new ASF/Sun agreement for releasing early access specs. Also point to new geronimo-staging-017 to pickup latest spec releases under vote with updated notices.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@820684 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 15:19:10 +00:00
Donald Woods
02471ca7e7
OPENJPA-1229 Reworked Persistence.createEMF() exception handling in the geronimo-jpa2 spec api (PFD2), which wraps all exceptions in a PersistenceException and can now return multiple provider exceptions.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@820440 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 20:49:09 +00:00
Richard G. Curtis
c06481b452
OPENJPA-1224. Updated DBDictionary and AbstractDB2Dictionary to properly support java.math.BigDecimal.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@820050 13f79535-47bb-0310-9956-ffa450edef68
2009-09-29 18:12:15 +00:00
Pinaki Poddar
baf800f3b0
OPENJPA-1050: Use generics for BrokerFactory
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@819800 13f79535-47bb-0310-9956-ffa450edef68
2009-09-29 02:43:32 +00:00
Pinaki Poddar
9f24d10ecd
OPENJPA-1050: Use generics for DataCache
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@819771 13f79535-47bb-0310-9956-ffa450edef68
2009-09-28 23:51:33 +00:00
Milosz Tylenda
450f8352f8
OPENJPA-1153: Speed tests up by using only needed entities rather than all entities from persistence.xml
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@819658 13f79535-47bb-0310-9956-ffa450edef68
2009-09-28 17:37:54 +00:00
Michael Dick
562b4942df
OPENJPA-1115:
...
Setting svn:eol-style native on new files
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@819560 13f79535-47bb-0310-9956-ffa450edef68
2009-09-28 14:36:49 +00:00
Michael Dick
174f2af0de
OPENJPA-1253:
...
Setting svn:eol-style = native
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@819549 13f79535-47bb-0310-9956-ffa450edef68
2009-09-28 14:23:36 +00:00
Fay Wang
bb3e1a5185
OPENJPA-1253: check in test case of join table strategy for bi-directional one-to-many using Map with entity as map key
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@819163 13f79535-47bb-0310-9956-ffa450edef68
2009-09-26 16:17:32 +00:00
Fay Wang
9eeb4b2fbd
OPENJPA-1253: check in test case of join table strategy for bi-directional one-to-many using Map with entity as map key
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@819162 13f79535-47bb-0310-9956-ffa450edef68
2009-09-26 16:16:32 +00:00
Fay Wang
9f29552e85
OPENJPA-1253: support foreign key strategy for uni-directional one to many mapping using Map with entity as the Map key.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@819139 13f79535-47bb-0310-9956-ffa450edef68
2009-09-26 13:42:19 +00:00
Jeremy Bauer
28573bfcfd
OPENJPA-1115 Allow schema-less delimited id tests to fail until intermittent cleanup issue is resolved. Removed duplicate test case and unnecessary em creation in test framework database support methods.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@819093 13f79535-47bb-0310-9956-ffa450edef68
2009-09-26 05:26:35 +00:00
Jeremy Bauer
5f03f77b5c
OPENJPA-1115 Fix DB2 failure in schema test. Disable non-schema tests on DB2 until DB2 cleanup related exception is resolved.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@819082 13f79535-47bb-0310-9956-ffa450edef68
2009-09-26 01:12:53 +00:00
Donald Woods
dc3c2c43ed
OPENJPA-1116 revert back to CLEAR_TABLES for speed
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@819012 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 21:15:22 +00:00
Jeremy Bauer
cafbd559d2
OPENJPA-1115 Targeted delimited id tests for specific DB platforms based on schema support/usage. Includes test updates contributed by Dianne Richards.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818987 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 20:15:12 +00:00
Jeremy Bauer
22391c9133
OPENJPA-1116: Cleanup via SynchronizeMappings SchemaAction directive
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818960 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 19:17:14 +00:00
Donald Woods
eb8abb81fc
OPENJPA-1116: try DROP_TABLES
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818909 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 16:23:31 +00:00
Donald Woods
a6af0f35e2
OPENJPA-1116: fix test case error on non-Derby DB by adding CLEAR_TABLES
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818891 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 15:53:44 +00:00
Fay Wang
ef54e75107
OPENJPA-1253: support bi-directional one-to-many map using join table strategy
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818616 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 20:26:04 +00:00
Donald Woods
d8eadfe600
OPENJPA-1116: fix test case error on some DBs by providing a unique table name.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818518 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 15:34:22 +00:00
Fay Wang
067a6f0ffb
OPENJPA-1253: support non-default uni-directional one to many map using foreign key strategy
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818410 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 09:00:12 +00:00
Fay Wang
65ff86ce24
OPENJPA-1116: fix test case error by providing a unique table name.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818385 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 07:08:35 +00:00
Jeremy Bauer
2a98f2b93d
Fix SQL comparison failures in bidi eager tests on Oracle by using standard sql92 join syntax.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818349 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 02:32:38 +00:00
Jeremy Bauer
5d3fd3a726
Update TestEJBQLFunction test to assert empty strings as null for the Oracle DB.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818337 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 01:06:50 +00:00
Donald Woods
c5954aa4a5
OPENJPA-1116 Update PU name to reflect the test name
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818215 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 19:17:06 +00:00
Donald Woods
85a609aa5d
OPENJPA-1116 Annotation Strategy not working. Checking in testcases as code patch already committed in r808703 by Pinaki. Patches contributed by Ashish Paliwal.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818212 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 19:12:07 +00:00
Fay Wang
6f1b9627fe
OPENJPA-1253: support non-default bi-directional one-to-many using foreign key strategy to find/query from the ower's side
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817831 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 20:38:36 +00:00
Jeremy Bauer
01c26a9e21
Updated test code to use mapping tool to regenerate subset of DB artifacts if running on Oracle. This will create the triggers required to support generated identity columns.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817815 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 20:15:07 +00:00
Michael Dick
f1af41c44c
OPENJPA-1298:
...
Remove WriteBehindCallbackManager which 'shared' a single callback with multiple EMFs unintentionally
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817679 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 14:45:26 +00:00
Fay Wang
19da9769b0
OPENJPA-1253: support non-default uni-directional OneToMany mapping using foreign key strategy.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817399 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 20:21:50 +00:00
Donald Woods
828e08ee0e
OPENJPA-1182 Backwards compatibility issues - PreUpdate and PostUpdate behavior. Patch contributed by Tim McConnell with some minor package name and version checking changes. Doc updates by Donald Woods.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817389 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 20:01:44 +00:00
Catalina Wei
e53f8514f4
OPENJPA-1309 fix testcase for DB2
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817382 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 19:23:25 +00:00
Fay Wang
5c23058b0e
OPENJPA-1253: support non-default bi-directional one to many using Join Table/Join column annotation
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817131 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 02:13:18 +00:00
Fay Wang
cf7f69bbd5
OPENJPA-1253: support non-default One-To-Many mappings
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816795 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 21:53:47 +00:00
Donald Woods
9467818818
OPENJPA-1310 SQLServer requires JAXB marshalled XML to be in UTF-16 instead of UTF-8. Also updated some of the XmlElement names to match the case used in the XmlType annotation.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816767 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 20:06:12 +00:00
Catalina Wei
3f43e3dd0e
OPENJPA-1309 DB2 requires CAST for argument passed to datastore MOD function
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816737 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 18:38:00 +00:00
Michael Dick
1c0b9849f1
Remove uneeded imports
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816671 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 15:33:11 +00:00
Jeremy Bauer
95a2c8f680
Fix SQL comparison failures in Criteria query by example tests on Oracle by using standard sql92 join syntax.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816392 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 21:46:56 +00:00
Donald Woods
ac23a55b68
OPENJPA-1213 Additional Compatibility tests (patch #2 ) showing change in query.setParameter() behaviour. Contributed by Tim McConnell, but with some package name and OpenJPAVersion checks added.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816330 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 18:44:29 +00:00
Michael Dick
846d1ef82a
OPENJPA-1173:
...
Revert driver update (not in repo yet).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816320 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 18:31:10 +00:00
Michael Dick
1318f98bc4
OPENJPA-1173:
...
Updating postgresql test dependency to v8.4-701
Submitted By: Tim McConnell
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816317 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 18:10:09 +00:00
Donald Woods
daadd62bd2
OPENJPA-1213 Use OpenJPAVersion for handling expected test result differences
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816295 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 17:29:01 +00:00
Donald Woods
cbe18c2f74
OPENJPA-1213 Compatibility tests showing change in query.setParameter() behaviour. Contributed by Tim McConnell, but with some package name and OpenJPAVersion checks added.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816289 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 17:22:49 +00:00
Donald Woods
a94bb8ee06
OPENJPA-1214 moving testcases to the existing compat package
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816187 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 13:44:03 +00:00
Fay Wang
8c1e1a7ea5
OPENJPA-1253: support non-default uni-directional OneToMany using foreign key strategy, using JoinColumn annotation.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816085 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 07:49:13 +00:00
Fay Wang
72f2cb8516
OPENJPA-1253: allow JoinColumn in conjunction with OneToMany annotation
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@815988 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 22:13:26 +00:00
Jeremy Bauer
8fc1404dad
Modify entity definitions to avoid Oracle reserved words.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@815473 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 20:38:07 +00:00
Pinaki Poddar
3146afb1bc
Persistence attribute type for singular attributes
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@815396 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 16:59:21 +00:00