Commit Graph

1172 Commits

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