Commit Graph

1788 Commits

Author SHA1 Message Date
Pinaki Poddar cff59ec5c2 OPENJPA-703: Prepared Query Cache Documentation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@741313 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 22:08:31 +00:00
Pinaki Poddar 889ca9d6a4 OPENJPA-703: Update Prepared Query Cache documentation.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@741275 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 20:06:02 +00:00
Jeremy Bauer c3691f5e88 OPENJPA-849 Committing code and corresponding tests contributed by Dianne Richards
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740991 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 03:31:15 +00:00
Jeremy Bauer fa86624289 OPENJPA-849 Committing code and corresponding tests contributed by Dianne Richards
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740990 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 03:31:02 +00:00
Jeremy Bauer b620c40e3e OPENJPA-849 Committing code and corresponding tests contributed by Dianne Richards
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740989 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 03:30:43 +00:00
Jeremy Bauer f99be0c0e0 OPENJPA-849 Committing code and corresponding tests contributed by Dianne Richards
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740986 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 03:21:25 +00:00
Jeremy Bauer 2e07d6bc8f OPENJPA-849 Committing documentation updates contributed by Dianne Richards
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740924 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 22:29:39 +00:00
Pinaki Poddar c27f31a107 OPENJPA-899: Initial support for new JPA 2.0 Query.getHints() API method.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740911 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 22:06:47 +00:00
Pinaki Poddar f7b6f944b2 Update OpenJPA documentation for easier navigation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740805 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 17:32:51 +00:00
Fay Wang 7b5510cabc OPENJPA-873: check in test case
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740802 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 17:24:35 +00:00
Fay Wang 4d5a6c5e56 OPENJPA-870: orm support for OrphanRemoval
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740781 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 16:31:54 +00:00
Michael Dick d61b3b26a9 OPENJPA-772 committing patch provided by Donald Woods
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740763 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 15:12:58 +00:00
Catalina Wei 5fd390856e OPENJPA-703 Cache ResultObjectProvider data to improve query performance
recover a line for query hint.OptimizeResultCount

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740598 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 04:09:58 +00:00
Pinaki Poddar ddec73796c OPENJPA-703: Validate parameter values by their expected types.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740506 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 23:18:54 +00:00
Pinaki Poddar f9c94752d7 OPENJPA-857: Extend support for Specification through a more structured type to carry Version information. Will help Compatibitibility (and may be others) that needs to tune their behavior based on current Specification version as well as backward compatibie versions.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740492 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 22:38:45 +00:00
Michael Dick 808f4a6174 Revert bad testcase changes
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740356 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 17:39:31 +00:00
Jeremy Bauer 592352e8b8 OPENJPA-869 Added query expression to target a specific entity during validation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740314 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 14:46:17 +00:00
Pinaki Poddar b7ca8734b9 OPENJPA-703: Parse SQL for both ?n and ? style parameter markers
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740208 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 04:13:51 +00:00
Pinaki Poddar c71522fa9a OPENJPA-703:How user parameters are converted to Object[] is determined by the Executors. Because they are the consumer of this information. kernel.Query toParameterArray() was making many implict assumptions. A detailed test with paramenetrs and forcing PreparedQueryCacheImpl to cache JPQL only.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740184 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 01:41:25 +00:00
Jeremy Bauer 8746348ea3 OPENJPA-876 Adding required packaging def to DB2 and Oracle example profiles.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740101 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 20:47:18 +00:00
Pinaki Poddar 64329e007e OPENJPA-703: Support Collection-valued parameters. Handle re-parameterization when collection-valued parameter has different size across invocations.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740016 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 15:57:27 +00:00
Pinaki Poddar 2065e905dd OPENJPA-703: Use Prepared Query for packed results.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@739796 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 17:34:04 +00:00
Pinaki Poddar 4ed05803e1 OPENJPA-703: A separate executor for Prepared SQL.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@739784 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 16:50:45 +00:00
Pinaki Poddar e30261e55a OPENJPA-703: Support PersistenceCapable as query parameter during reparameterization of Prepared Query.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@739589 13f79535-47bb-0310-9956-ffa450edef68
2009-01-31 19:37:01 +00:00
Fay Wang 937d0f42f0 OPENJPA-870: rollback r739155 to re-use the code path
of @Dependent and @ElementDependent for orphanRemoval.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@739448 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30 23:06:29 +00:00
Michael Dick 958c2b6d32 OPENJPA-882 committing patch provided by Donald Woods
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@739429 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30 22:10:31 +00:00
Pinaki Poddar 1ddbd61042 OPENJPA-703: Cleaning first Prepared Query Cache commit
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@739425 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30 22:06:30 +00:00
Pinaki Poddar 47a0f41e72 Reuse EMF.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@739178 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30 05:33:42 +00:00
Fay Wang 3c85ec758a OPENJPA-870: orphanRemoval support with test case checked in
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@739166 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30 04:32:51 +00:00
Pinaki Poddar d81211251d OPENJPA-703: Deactivate a test whose domain model clashing with other tables during schema creation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@739159 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30 03:53:09 +00:00
Pinaki Poddar 819514f157 Cache EntityManagerFactory for better performance
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@739158 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30 03:51:10 +00:00
Fay Wang 6453c64343 OPENJPA-870: orphanRemoval support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@739155 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30 03:15:09 +00:00
Pinaki Poddar e47d83b051 Make some part of the test database dependent because it verifies hardcoded Derby URL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@739148 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30 02:41:14 +00:00
Pinaki Poddar d00a4e6eb9 OPENJPA-703: Deactivate a test whose domain model clashing with other tables during schema creation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@739146 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30 02:33:04 +00:00
Pinaki Poddar 295442d82f OPENJPA-703: Prepared Query Cache
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@739123 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30 01:27:35 +00:00
A. Abram White 672b5f0b45 Use both envLoader and application loader for class loading when parsing
XML metadata files.  envLoader first to appease Spring integ.



git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@739054 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 22:27:00 +00:00
Michael Dick 1fdd52fb0a OPENJPA-881. 'better' default values for connection pool settings
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@738989 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 20:07:13 +00:00
Catalina Wei 8e60655cd7 OPENJPA-865 JPA2 Query support for collection-valued input parameter in in-expression
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@738940 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 17:51:35 +00:00
Fay Wang f65c4aebcd OPENJPA-870: orphanRemoval support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@738933 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 17:35:45 +00:00
Fay Wang 963e541fd2 OPENJPA-838: check in testcase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@738918 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 16:43:44 +00:00
Michael Dick 30b7c05468 OPENJPA-876 adding db2 and oracle profiles to openjpa-persistence-jdbc/pom.xml
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@738555 13f79535-47bb-0310-9956-ffa450edef68
2009-01-28 17:22:29 +00:00
Michael Dick e80bac22d0 [maven-release-plugin] prepare release 2.0.0-M1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@738240 13f79535-47bb-0310-9956-ffa450edef68
2009-01-27 20:49:10 +00:00
Michael Dick b936e8134a [maven-release-plugin] prepare branch 2.0.0-M1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@738238 13f79535-47bb-0310-9956-ffa450edef68
2009-01-27 20:48:39 +00:00
Michael Dick 039693ca1a Update release text files
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@738236 13f79535-47bb-0310-9956-ffa450edef68
2009-01-27 20:44:51 +00:00
Jeremy Bauer da91c0bb56 OPENJPA-849 Removing partial feature update for milestone release
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@738157 13f79535-47bb-0310-9956-ffa450edef68
2009-01-27 17:26:02 +00:00
Fay Wang 89df4a7532 OPENJPA-873: fix NPE when MappedSuperclass does not have
IdClass defined.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@737816 13f79535-47bb-0310-9956-ffa450edef68
2009-01-26 20:23:55 +00:00
Catalina Wei e70fd12a59 OPENJPA-861 Update the manual for XML column support for MySQL
committing patch provided by Milosz Tylenda

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@737799 13f79535-47bb-0310-9956-ffa450edef68
2009-01-26 19:49:32 +00:00
Michael Dick 9427556865 OPENJPA-809 finish sentence in docs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@737205 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 22:00:48 +00:00
Michael Dick f78d5baea0 OPENJPA-809 documentation updates
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@737202 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 21:53:41 +00:00
Jeremy Bauer e3db0470ba OPENJPA-802 OrderColumn doc update
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@737187 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 21:00:24 +00:00