Commit Graph

2257 Commits

Author SHA1 Message Date
Pinaki Poddar c5c5398497 OPENJPA-985: Support dynamic addition of slices.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755861 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 07:10:53 +00:00
Jeremy Bauer 05c5ad096b OPENJPA-878 Committing code and test updates contributed by Donald Woods.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755819 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 02:54:39 +00:00
Jeremy Bauer bb1bc8a39d OPENJPA-878 Committing code and test updates contributed by Donald Woods.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755818 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 02:54:29 +00:00
Jeremy Bauer 2edc92d97f OPENJPA-972 Committing code doc update and tests contributed by Donald Woods.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755615 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 15:18:44 +00:00
Jeremy Bauer 2ee441dc78 OPENJPA-972 Committing code doc update and tests contributed by Donald Woods.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755614 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 15:18:36 +00:00
Michael Dick 1d94611932 OPENJPA-947. Reduce testcase logging
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755580 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 12:37:31 +00:00
Jeremy Bauer ed8ec02432 OPENJPA-885 Committing code and tests contributed by Dianne Richards.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755470 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 04:01:25 +00:00
Jeremy Bauer 2e5a6e4478 OPENJPA-885 Committing code and tests contributed by Dianne Richards.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755469 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 04:01:14 +00:00
Jeremy Bauer 65a8219817 OPENJPA-885 Committing code and tests contributed by Dianne Richards.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755468 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 04:01:04 +00:00
Michael Dick ff8d46578c OPENJPA-970. Committing patch provided by Donald Woods
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755396 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 21:04:37 +00:00
Jeremy Bauer 469a10d909 OPENJPA-878 Committing code, tests, and documentation updates for Donald Woods.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755117 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 04:40:53 +00:00
Jeremy Bauer 5a16f8f6f8 OPENJPA-878 Committing code, tests, and documentation updates for Donald Woods.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755116 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 04:40:38 +00:00
Jeremy Bauer cb271bfa1d OPENJPA-878 Committing code, tests, and documentation updates for Donald Woods.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755115 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 04:40:23 +00:00
Jeremy Bauer a51486c739 OPENJPA-878 Committing code, tests, and documentation updates for Donald Woods.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755114 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 04:40:08 +00:00
Jeremy Bauer 390f390b29 OPENJPA-878 Committing code, tests, and documentation updates for Donald Woods.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755113 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 04:39:56 +00:00
Catalina Wei 7c9ef84fb9 OPENJPA-967 JPA2 JPQL allow KEY(e) of basic types appear in conditional expression
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755102 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 03:13:10 +00:00
Pinaki Poddar 6b40e72683 OPENJPA-981: replicate parent-child relation across slices and not only to root slice
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755031 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16 22:36:50 +00:00
Catalina Wei 29a2d30a8a OPENJPA-967 JPA2 support qualified path
add support for ORDER BY & GROUP BY a path thru KEY navigation

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@754961 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16 17:16:39 +00:00
Fay Wang 44ffbd2f79 OPENJPA-967: remove duplicate column in the associate
table when MapKey is specified.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@754773 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 22:04:03 +00:00
Fay Wang 2860368801 OPENJPA-978: make the third argument in substring function
optional.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@753596 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 03:28:14 +00:00
Catalina Wei d8da810820 OPENJPA-967 JPA2 Query support for selection of state field thru KEY navigation
Sample JPQL: select KEY(e).name from Dept d join d.emps e

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@753473 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 23:20:45 +00:00
Albert Lee 0e7c84ef81 OPENJPA-866 - Commit contributions by Tim McConnell.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@753024 13f79535-47bb-0310-9956-ffa450edef68
2009-03-12 21:31:11 +00:00
Pinaki Poddar 272c584af2 Add isAbstract() method on ClassMetaData to designate a MappedSuperClass
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@752931 13f79535-47bb-0310-9956-ffa450edef68
2009-03-12 16:52:24 +00:00
Pinaki Poddar c8c43e4065 Add no-args constructor such that runtime enhancer can use
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@752930 13f79535-47bb-0310-9956-ffa450edef68
2009-03-12 16:50:21 +00:00
Albert Lee c5a3a56b48 OPENJPA-905 - Commit contribution by Tim McConnell.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@752912 13f79535-47bb-0310-9956-ffa450edef68
2009-03-12 16:00:42 +00:00
Pinaki Poddar 393111b875 OPENJPA-857: PersistenceProductDerivation sets Compatibility according to current specification. Allow multiple specifications to coexist.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@752557 13f79535-47bb-0310-9956-ffa450edef68
2009-03-11 18:38:35 +00:00
Albert Lee 6e6cb3786c OPENJPA-891 - Complete new LockModeType supports in EntityManager. Manual updated. Build and TCK passed. Code reviewed by Pinaki P. and Mike D.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@752306 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10 23:41:03 +00:00
Fay Wang c67cd5d0be OPENJPA-973: allow db2jcc driver to work with informix
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@752304 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10 23:33:45 +00:00
Pinaki Poddar a375ef4fd9 OPENJPA-959: Allow hink keys be set on facade fetch plan.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@752277 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10 21:42:33 +00:00
Albert Lee dfe19d2f4f OPENJPA-891 - remove unneeded code. Code review changes per Pinaki's comment.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@752193 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10 17:58:08 +00:00
Fay Wang ab9d17f12e OPENJPA-679: fix ReverseMappingTool problem
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@752178 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10 17:37:57 +00:00
Pinaki Poddar 4506244327 OPENJPA-958,959: timeout on query
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@752005 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10 07:22:23 +00:00
Pinaki Poddar a1917d1378 OPENJPA-968: Change default detach to be in-place rather than copy to align with JPA 2.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@751910 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 23:27:50 +00:00
Michael Dick ca9d49a5f4 Fix formatting for procedureList classes
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@751790 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 18:55:33 +00:00
Fay Wang 1ece64d1df OPENJPA-965: Open up FinderQueryImpl for jdbc-like and non-jdbc
implementation

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@751775 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 17:41:58 +00:00
Catalina Wei de5e6c9ba9 OPENJPA-967 JPA2 Query support for selection of KEY, VALUE, ENTRY of a Map value
more test scenarios for Map having @MapKeyClass or @MapKeyJoinColumn annotations

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@751766 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 17:08:34 +00:00
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