Commit Graph

546 Commits

Author SHA1 Message Date
Pinaki Poddar 0916d4b109 OPENJPA-703: Align data loading for Prepared Query Results to Select oriented result object provider
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@742601 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 16:29:37 +00:00
Catalina Wei 80aea14f18 OPENJPA-912 Potential NPE in setInverseRelation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@741994 13f79535-47bb-0310-9956-ffa450edef68
2009-02-08 01:43:45 +00:00
Fay Wang e2aea2d05a OPENJPA-871: MappedById support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@741595 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 15:34:53 +00:00
Catalina Wei 9f0a175b8d OPENJPA-703 make substituteParams() utility method public
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@741347 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 23:53:25 +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
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
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
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
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 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
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 209f903388 OPENJPA-851: fix a bug in the embeddable processing.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@737164 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 19:48:10 +00:00
Jeremy Bauer 017e518bba OPENJPA-802 Base OrderColumn support and corresponding tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@736915 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 04:54:33 +00:00
Catalina Wei d49fdb1ea2 OPENJPA-856 JPQ2 JPQL add support for entity type expression
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@736881 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 01:19:47 +00:00
Michael Dick c5736acdf4 OPENJPA-864 do not remove table aliases for databases which use JoinSyntaxes.SYNTAX_DATABASE (no joins).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@736748 13f79535-47bb-0310-9956-ffa450edef68
2009-01-22 19:16:37 +00:00
Fay Wang c21184bf11 OPENJPA-851: ManyToMany Map support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@736245 13f79535-47bb-0310-9956-ffa450edef68
2009-01-21 06:50:16 +00:00
Fay Wang 88f288b47a OPENJPA-851: enhanced bi-directional map support in
update operation

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@734617 13f79535-47bb-0310-9956-ffa450edef68
2009-01-15 07:05:13 +00:00
Catalina Wei 388c56f05f OPENJPA-846 XML column support for MySQL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@734601 13f79535-47bb-0310-9956-ffa450edef68
2009-01-15 03:11:00 +00:00
Fay Wang c99c9d24f9 OPENJPA-851: enhanced map support for JPA 2.0 (Spec 10.1.26,
10.1.27, 10.1.28, 10.1.29, 10.1.30, 2.7)

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@734319 13f79535-47bb-0310-9956-ffa450edef68
2009-01-14 04:11:32 +00:00
Michael Dick 500fc71ba3 OPENJPA-843 move testcases to openjpa-persistence-jdbc module to resolve compile failure
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@733970 13f79535-47bb-0310-9956-ffa450edef68
2009-01-12 23:56:33 +00:00
Catalina Wei 9ab2dd6c4a OPENJPA-843 Unnecessary version update on inverse-side of a 1-m relationship
Committing patch provided by Dinkar Rao

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@733932 13f79535-47bb-0310-9956-ffa450edef68
2009-01-12 22:16:06 +00:00
Catalina Wei 2309a59df5 OPENJPA-853 Informix Cursor not open problem
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@733204 13f79535-47bb-0310-9956-ffa450edef68
2009-01-10 00:44:36 +00:00
Catalina Wei 4427455757 OPENJPA-855 JPA2 Query updates add support for Index function
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@733142 13f79535-47bb-0310-9956-ffa450edef68
2009-01-09 20:13:20 +00:00
Pinaki Poddar f30eb24709 remove unused import statement
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@732084 13f79535-47bb-0310-9956-ffa450edef68
2009-01-06 19:56:20 +00:00
Catalina Wei fb7ab1908b OPENJPA-557 Primary key sequences broken with postgres schemas
Commit patch provided by Milosz Tylenda

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@729180 13f79535-47bb-0310-9956-ffa450edef68
2008-12-24 00:18:32 +00:00
Catalina Wei 1437517d8c OPENJPA-833 An improved test case for XML column mapping
Commit patch provided by Milosz Tylenda

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@729169 13f79535-47bb-0310-9956-ffa450edef68
2008-12-23 23:21:11 +00:00
Pinaki Poddar 94efd58dd9 OPENJPA-845: Evaluate ordering value for PCPath to support ORDER BY slice queries that involves ordering terms not included in projection items and hence requires in-memory ordering from multiple slices.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@729084 13f79535-47bb-0310-9956-ffa450edef68
2008-12-23 20:08:39 +00:00
Fay Wang 6ff7d9a922 OPENJPA-838: remove cache from StoreCollectionFieldStrategy
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@728750 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 19:36:50 +00:00
Jeremy Bauer c924cc2fc8 OPENJPA-803 Added support to allow a specific schema name to be specified on sequence generators per JPA 2.0.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@728147 13f79535-47bb-0310-9956-ffa450edef68
2008-12-19 21:22:18 +00:00
Michael Dick 16b7b1a7f7 OPENJPA-784 committing patch provided by Fernando
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@728004 13f79535-47bb-0310-9956-ffa450edef68
2008-12-19 11:36:13 +00:00
Catalina Wei 0500645b7a OPENJPA-835 Loading nested toMany EAGER relation resuled in PersistenceException
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@727895 13f79535-47bb-0310-9956-ffa450edef68
2008-12-19 02:17:36 +00:00
Pinaki Poddar 574d559860 OPENJPA-825: Introduced internal locking for shared contexts (BrokerImpl/QueryImpl).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@727864 13f79535-47bb-0310-9956-ffa450edef68
2008-12-19 00:08:23 +00:00
Pinaki Poddar 0f7f03d8b0 OPENJPA-825: Cache unique flag for query to avoid lcoking. Use StateManager's instance lock rather than acquiring Broker's lock.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@727297 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 06:23:00 +00:00
Fay Wang 4cf216c21f OPENJPA-782: embeddable support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@727084 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 16:44:26 +00:00
Catalina Wei debe82b8d0 OPENJPA-805 JPQL iteration 1 - add support for COALESCE and NULLIF expressions
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@725881 13f79535-47bb-0310-9956-ffa450edef68
2008-12-12 01:29:19 +00:00
Jeremy Bauer cabd344397 OPENJPA-800 remove version milestone indicator from build artifacts
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@725817 13f79535-47bb-0310-9956-ffa450edef68
2008-12-11 21:17:55 +00:00
Catalina Wei 979a6e373c OPENJPA-805 JPQL iteration 1: add support for Case Expressions
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@725728 13f79535-47bb-0310-9956-ffa450edef68
2008-12-11 16:16:32 +00:00
Catalina Wei 2bb40626e6 OPENJPA-805 JPQL iteration 1 add support for select ScalarExpression & Order By selectAlias
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@725530 13f79535-47bb-0310-9956-ffa450edef68
2008-12-11 01:43:52 +00:00
Pinaki Poddar 62e1deae8f OPENJPA-801: PCPath is now a CandidatePath. But why was it not before?
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@724856 13f79535-47bb-0310-9956-ffa450edef68
2008-12-09 20:08:32 +00:00
Catalina Wei 569641f095 OPENJPA-795 enhancer throws an exception when parsing column name "first.name" because it thinks 'first' is a table name
In U2 database column name may contain '.'

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@724817 13f79535-47bb-0310-9956-ffa450edef68
2008-12-09 18:49:49 +00:00
Michael Dick 82e702867e OPENJPA-817 fixed in trunk
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@724765 13f79535-47bb-0310-9956-ffa450edef68
2008-12-09 16:04:37 +00:00
Fay Wang e78a1bc079 OPENJPA-782: embeddable support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@724437 13f79535-47bb-0310-9956-ffa450edef68
2008-12-08 18:27:45 +00:00
Michael Dick 7a6ac4afc7 Reverting OPENJPA_817 in trunk. Conflict with Issue 706 causes unpredictable results
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@723914 13f79535-47bb-0310-9956-ffa450edef68
2008-12-05 23:00:22 +00:00
Michael Dick c15fb7dfbb OPENJPA-817 preserve order of statements with ConstraintUpdateManager merge to trunk
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@723854 13f79535-47bb-0310-9956-ffa450edef68
2008-12-05 20:30:05 +00:00
Fay Wang 55b1fa6cd3 OPENJPA-815: retrieval fails for an entity that contains an
embeddable, which contains a toMany relation.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@723480 13f79535-47bb-0310-9956-ffa450edef68
2008-12-04 23:03:42 +00:00