Commit Graph

1921 Commits

Author SHA1 Message Date
Pinaki Poddar 23b0b87674 OPENJPA-966: Support MySQL Replication Driver
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@751487 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 18:11:55 +00:00
Albert Lee f1d4abda25 OPENJPA-891 - Add constructor per Pinaki's comment.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@751476 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 17:31:07 +00:00
Catalina Wei dab2ec2ead Open up FinderCacheImpl for non-JDBC or JDBC-like implementation of preparing statement/query execution
cleanup imports

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@751330 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 22:09:17 +00:00
Catalina Wei b45109cec3 OPENJPA-965 Open up FinderCacheImpl for non-JDBC or JDBC-like implementation of preparing statement/query execution
An approache not exposing FinderCacheImpl to jdbc kernel

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@751301 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 17:49:31 +00:00
Fay Wang b612d64620 OPENJPA-965: Open up FinderCacheImpl for jdbc and non-jdbc
like implementation

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@751148 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 00:40:53 +00:00
Albert Lee 70cfcaaee1 OPENJPA-891 - Remove _recoverable attribute in StoreException and use _fatal instead, per Pinaki's suggestion.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@751109 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 22:22:15 +00:00
Pinaki Poddar cae33419ae OPENJPA-955: test+documentation on MethodQL. Allow candidate class be optional on MethodQL. Do not cache MethodQLQuery.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@750798 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 07:50:54 +00:00
Pinaki Poddar 4b31d54b3e OPENJPA-966: Support unwrap() for JPA 2.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@750788 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 07:08:20 +00:00
Pinaki Poddar 19fd6b3927 OPENJPA-900: Thread guard while setting hint.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@750781 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 06:33:51 +00:00
Catalina Wei 30ee661fdc OPENJPA-879 JPA2 Query support for selecting KEY, ENTRY and VALUE of a Map value
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@750517 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 17:30:20 +00:00
Fay Wang dff6bf561b OPENJPA-937: AssociationOverrides support when applied to
MappedSuperclass.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@750469 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 14:51:53 +00:00
Fay Wang 2f3ef42f4f OPENJPA-937: back off test case. Will check it in later.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@750225 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 23:26:51 +00:00
Fay Wang c3338d82ba OPENJPA-937: remove AllowFailure from the test case, as this
causes compiler error in mvn clean install, since the dependency 
on org.apache.openjpa.persistence.test.AllowFailure is missing
in the pom file for openjpa-slice.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@750218 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 23:06:56 +00:00
Fay Wang 0098cc1e25 OPENJPA-937: AssociationOverrides support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@750122 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 19:42:51 +00:00
Jeremy Bauer deda5b3a40 OPENJPA-927 Committing code contributed by Dianne Richards
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@750117 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 19:24:00 +00:00
Jeremy Bauer 3e8f626668 OPENJPA-927 Committing code contributed by Dianne Richards
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@750115 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 19:23:53 +00:00
Jeremy Bauer b611d3f34e OPENJPA-927 Committing code contributed by Dianne Richards
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@750113 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 19:23:40 +00:00
Jeremy Bauer 730ff8813e OPENJPA-927 Committing code contributed by Dianne Richards
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@750112 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 19:23:33 +00:00
Albert Lee 8bf4da08ff OPENJPA-891 - correct tests failure due to CPU speed sensitive wait between threads interaction.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@749497 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 00:38:28 +00:00
Pinaki Poddar 23145bf7ca OPENJPA-704: Make extended path lookup optional to save runtime costs for predominant use cases.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@749435 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 21:05:05 +00:00
Albert Lee 781c837812 OPENJPA-903 - Commit contribution submitted by Tim McConnell. [Ref: http://archives.postgresql.org/pgsql-jdbc/2008-01/msg00089.php]
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@749423 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 19:32:14 +00:00
Albert Lee a95c0f0f89 OPENJPA-891 - Fix problematic thread test case synchronization problem.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@749135 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 22:15:02 +00:00
Michael Dick f3d1704863 OPENJPA-213. Scale and precision specified for doubles upgrade column type to NUMERIC.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@749090 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 20:38:21 +00:00
Michael Dick efc6ba4735 OPENJPA-884: Logging oversight in DB2Dictionary
https://issues.apache.org/jira/browse/OPENJPA-884

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@749077 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 19:31:06 +00:00
Albert Lee cc38e27eef OPENJPA-891 - change supportIsolationForUpdate to supportsIsolationForUpdate in line with existing naming convention.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@748957 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 03:27:37 +00:00
Pinaki Poddar e11b753da5 OPENJPA-924: Add localized statements for logging
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@748625 13f79535-47bb-0310-9956-ffa450edef68
2009-02-27 18:12:20 +00:00
Michael Dick 26a45518fd OPENJPA-901 committing patch provided by Donald Woods.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@748576 13f79535-47bb-0310-9956-ffa450edef68
2009-02-27 16:30:31 +00:00
Fay Wang b811a6c43b OPENJPA-931: IdClass support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@748349 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 23:35:54 +00:00
Pinaki Poddar 4d28f28b20 OPENJPA-825: ExecutorService is not configurable anymore with new threading strategy.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@748308 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 21:17:13 +00:00
Fay Wang d22fc6ab7c OPENJPA-930: fix test case error caused by
TestAttrOverridesXml

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@748296 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 20:51:51 +00:00
Pinaki Poddar 75cf4c522f OPENJPA-825: A new threading policy for Slice via extension
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@748292 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 20:20:44 +00:00
Albert Lee bcfb4e9c83 Remove @Allowfailure in lock manager tests after FinderCache fix.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@748276 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 19:27:19 +00:00
Pinaki Poddar a9c858b39a OPENJPA-766: Allow an explanatory message for @AllowFailure tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@748185 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 15:47:00 +00:00
Pinaki Poddar bf16127d19 OPENJPA-924: Only cache finder queries without read locks
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@748126 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 13:04:01 +00:00
Pinaki Poddar f5cc8d8b9c OPENJPA-942: Allow Tests to specify target database platform
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@747969 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 23:42:44 +00:00
Pinaki Poddar b0a4367dd0 OPENJPA-703: Reinstate performance optimization for DEFAULT and ALL fetch group lookup that was inadvertently rolled back.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@747909 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 20:18:53 +00:00
Pinaki Poddar 094f914969 Oversight in QueryDefinition.selectDistinct() boolean argument corrected
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@747848 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 16:26:29 +00:00
Jeremy Bauer 909c838138 OPENJPA-934 Fixed bugs in test code and added instructions to run in an Oracle environment.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@747496 13f79535-47bb-0310-9956-ffa450edef68
2009-02-24 18:52:16 +00:00
Albert Lee 22a0f837e1 OPENJPA-891 - Committing basic JPA2 lock mode support for em refresh, find and lock methods.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@747489 13f79535-47bb-0310-9956-ffa450edef68
2009-02-24 18:48:09 +00:00
Fay Wang 62c76e42ea OPENJPA-930: orm xml support for AttributeOverride
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@747239 13f79535-47bb-0310-9956-ffa450edef68
2009-02-24 00:39:48 +00:00
Pinaki Poddar 9d7360cb35 OPENJPA-935: Detect table for embedded PC to avoid extra select before delete.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@746640 13f79535-47bb-0310-9956-ffa450edef68
2009-02-22 05:52:06 +00:00
Fay Wang e2fef6a276 OPENJPA-930: AttributeOverride support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@746630 13f79535-47bb-0310-9956-ffa450edef68
2009-02-22 04:11:32 +00:00
Fay Wang f72b68bfbb OPENJPA-931: nested embeddedId/MappedById support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@746446 13f79535-47bb-0310-9956-ffa450edef68
2009-02-21 07:29:40 +00:00
Pinaki Poddar cfd133447f OPENJPA-924: Set JDBC query parameters with type information
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@746060 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 23:58:42 +00:00
Fay Wang 47c15ce621 OPENJPA-871: fix test case problem
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@746043 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 22:52:30 +00:00
Fay Wang 40ec58ce0d OPENJPA-871: check in test case for multiple MappedById
annotations with generated key

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745945 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 17:48:28 +00:00
Albert Lee 679989fd16 OPENJPA-466 - Commit patch contributed by Tim McConnell.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745737 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 05:34:30 +00:00
Catalina Wei 1a407b6d68 OPENJPA-906 fix testcase TestEntityTypeExpression
committing patch from Tim McConnell

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745706 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 02:13:02 +00:00
Fay Wang 357cf347c8 OPENJPA-871: mappedById support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745699 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 00:30:06 +00:00
Pinaki Poddar 1a4223d35b OPENJPA-703: A tentative change for a reported locking problem. Ready to be rolled back if turns out to be too costly.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745661 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 21:28:50 +00:00