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
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
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
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
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
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
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
Catalina Wei
d1c23c2d9d
OPENJPA-925 Bidirectional OneToOne relation incorrectly set in loadEagerJoin
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745408 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 08:06:12 +00:00
Pinaki Poddar
f08e4e1791
OPENJPA-924: Cache primary key field indices. Simplify QueryStatistics template.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745329 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 00:49:51 +00:00
Pinaki Poddar
3fc7f54a01
OPENJPA-924: Support cache of Finder queries.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745293 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 23:21:37 +00:00
Pinaki Poddar
556e09b69f
OPENJPA-703: Use template for QueryStatistics.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745123 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 15:41:28 +00:00
Pinaki Poddar
2582d4de0b
OPENJPA-703: Clean up unused varaibles in PreparedQueryCache implementaion and remove support for Class based keys kep as placeholder for finder queries.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@744966 13f79535-47bb-0310-9956-ffa450edef68
2009-02-16 17:00:07 +00:00
Fay Wang
1b7ff075c9
OPENJPA-871: MappedById support (spec 2.4.1.2 Ex3b, 5b)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@743437 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 18:19:13 +00:00
Pinaki Poddar
8a9595bed4
OPENJPA-900: Consolidate Query Hint related processing. As a byproduct, support new JPA 2.0 getHins() and getSupportedHints().
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@743396 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 16:57:26 +00:00
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
Jeremy Bauer
c60a95f77a
OPENJPA-800 Change release artifact versions for milestone 1
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@723373 13f79535-47bb-0310-9956-ffa450edef68
2008-12-04 16:51:03 +00:00
Albert Lee
ef7f18f30c
OPENJPA-811 - Committ on behalf of Pinaki Poddar and Dinkar Rao.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@723088 13f79535-47bb-0310-9956-ffa450edef68
2008-12-03 21:41:54 +00:00
Michael Dick
7f7497dee3
OPENJPA-781 committing patch contributed by Fernando
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@720521 13f79535-47bb-0310-9956-ffa450edef68
2008-11-25 16:10:02 +00:00
Kevin W. Sutter
68d48f948e
OPENJPA-774. Committing the patch provided by Alexey Ousov in trunk and the 1.3.x branch.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@719388 13f79535-47bb-0310-9956-ffa450edef68
2008-11-20 21:48:54 +00:00
Fay Wang
bb937f3634
OPENJPA-742: add get lineNumber/ColumnNumber to SourceTracker
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@719314 13f79535-47bb-0310-9956-ffa450edef68
2008-11-20 18:16:46 +00:00
Pinaki Poddar
9d40841d48
OPENJPA-340: Let DBDictionary generate Unique Constraint names rather than Unique trying to auto-generate such names in lesser scope. Strengthen the tests to have exactly same named unique columns in two classes to verify that the unique constraint names are unique across tables.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@713778 13f79535-47bb-0310-9956-ffa450edef68
2008-11-13 18:33:07 +00:00
Michael Dick
02608cc658
OPENJPA-765 Check for isInsertable and isUpdatable in HandlerFieldStrategy
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@712928 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 03:44:43 +00:00
Pinaki Poddar
e11d0f7e12
Generate unique name for unique constraints created by @Column(unique=true)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@712300 13f79535-47bb-0310-9956-ffa450edef68
2008-11-07 22:49:13 +00:00
Albert Lee
ea9378fc96
OPENJPA-580 - Improve jdbc url mapping to DB dictionary alias.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@711726 13f79535-47bb-0310-9956-ffa450edef68
2008-11-05 22:31:42 +00:00
Albert Lee
f55dff2069
OPENJPA-761 - test for null column object and post a more meaning message to the warning log in SchemaGenerator.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@711432 13f79535-47bb-0310-9956-ffa450edef68
2008-11-04 21:56:35 +00:00
Fay Wang
7e24608f52
OPENJPA-762: Batch execution fails for Oracle when batch
...
limit is set to -1.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@711404 13f79535-47bb-0310-9956-ffa450edef68
2008-11-04 21:03:56 +00:00
Albert Lee
675ee18565
OPENJPA-760 - Commit contributions on behalf of Georgi Naplatanov.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@710180 13f79535-47bb-0310-9956-ffa450edef68
2008-11-03 21:52:49 +00:00
A. Abram White
3cc3bfe87c
Use full table name according to DBDictionary when constructing GetMapValue
...
subquery, which may include schema.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@710015 13f79535-47bb-0310-9956-ffa450edef68
2008-11-03 06:36:49 +00:00
Michael Dick
e1bd3c4dcb
Code cleanup: remove some unnescessary casts
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@707937 13f79535-47bb-0310-9956-ffa450edef68
2008-10-26 04:31:28 +00:00
Michael Dick
284bd408f8
[maven-release-plugin] prepare release 1.3.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@707728 13f79535-47bb-0310-9956-ffa450edef68
2008-10-24 19:19:49 +00:00
Jeremy Bauer
044764a395
OPENJPA-750: Updates to code and doc based on code review comments
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@707655 13f79535-47bb-0310-9956-ffa450edef68
2008-10-24 15:24:21 +00:00
Jeremy Bauer
c49f0e17d6
OPENJPA-750: Added option to Sybase dictionary to ignore truncation warnings, added doc for new dictionary option, and code to log any SQLWarnings when update count isn't expected value.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@707270 13f79535-47bb-0310-9956-ffa450edef68
2008-10-23 04:43:35 +00:00
Fay Wang
703a2b9b60
OPENJPA-745: streamline the fix to be consistent with the fix
...
in OPENJPA-750
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@707214 13f79535-47bb-0310-9956-ffa450edef68
2008-10-22 22:12:37 +00:00
Fay Wang
ac40fde3f1
OPENJPA-745: raise string right truncation error for Sybase. Move
...
the call to _dict.initializedSettings inside the block of
checking whether _conn is null in JDBCStoreManager.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@706494 13f79535-47bb-0310-9956-ffa450edef68
2008-10-21 02:11:41 +00:00
Fay Wang
1e4aa60859
OPENJPA-745 raise string right truncation error for Sybase
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@706493 13f79535-47bb-0310-9956-ffa450edef68
2008-10-21 02:03:26 +00:00
Catalina Wei
7131ef0748
OPENJPA-744 Extra SQL on LAZY/EAGER ManyToOne relation
...
Further improved code and additional testcases.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@705335 13f79535-47bb-0310-9956-ffa450edef68
2008-10-16 19:37:02 +00:00
Catalina Wei
5128ee06a4
OPENJPA-744 Extra SQL on LAZY/EAGER ManyToOne relation
...
Further improved for performance when OneToMany is fetch EAGER, the inverse ManyToOne relations are set such that relation fields in entities after detach remain valid.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@704585 13f79535-47bb-0310-9956-ffa450edef68
2008-10-14 17:22:39 +00:00
Catalina Wei
212ddcefc9
OPENJPA-744 OneToMany EAGER loading generates extra SQLs on inverse ManyToOne relation
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@703912 13f79535-47bb-0310-9956-ffa450edef68
2008-10-13 04:37:48 +00:00
Fay Wang
050a99a3e4
OPENJPA-736 use jdbc api getGeneratedKey to combine insert
...
and select SQL for generated id strategy = GenerationType.IDENTITY.
Found some indentation problem and fixed it. No logic change.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@701555 13f79535-47bb-0310-9956-ffa450edef68
2008-10-03 22:39:53 +00:00
Fay Wang
e7867662bd
OPENJPA-736 use jdbc api getGeneratedKey to combine insert
...
and select SQL for generated id strategy = GenerationType.IDENTITY
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@701537 13f79535-47bb-0310-9956-ffa450edef68
2008-10-03 21:16:50 +00:00
Catalina Wei
baa01d79dd
OPENJPA-731 Bug on FetchType.EAGER when QuerySQLCache is turned on
...
Committing patch provided by Fay Wang
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@699156 13f79535-47bb-0310-9956-ffa450edef68
2008-09-26 03:05:52 +00:00
Catalina Wei
a098b86d73
OPENJPA-720 The pushdown sql for version columns in primary and secondary tables has unpredictable ordering in the select and from clause
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@694057 13f79535-47bb-0310-9956-ffa450edef68
2008-09-10 23:06:36 +00:00
Kevin W. Sutter
8e6db6cb65
OPENJPA-715. Committing the testcase provided by Ekin Sokmen and the patch provided by Fay Wang. Committing the change for both the 1.2.x service stream and 1.3.0 snapshot (trunk).
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@693282 13f79535-47bb-0310-9956-ffa450edef68
2008-09-08 21:32:17 +00:00
Pinaki Poddar
939b122c09
OPENJPA-697: Join if version column is in secondary table
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@693162 13f79535-47bb-0310-9956-ffa450edef68
2008-09-08 16:54:21 +00:00
Pinaki Poddar
a60fab2d7e
OPENJPA-710: Do not add ORDER BY clause for unordered collection field. But select the field as it is expecetd subsequently for loading.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@691421 13f79535-47bb-0310-9956-ffa450edef68
2008-09-02 23:07:22 +00:00
Catalina Wei
650161a887
OPENJPA-708 sub-sub-query generates SQL with syntax error
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@690823 13f79535-47bb-0310-9956-ffa450edef68
2008-08-31 23:53:36 +00:00
Pinaki Poddar
aa1516f04b
OPENJPA-697: Add new capabilities to support version columns to spread across primary and secondary tables
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@690346 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 17:46:15 +00:00
Catalina Wei
15f6ece819
OPENJPA-706 Changes for supporting DB generated version
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@689649 13f79535-47bb-0310-9956-ffa450edef68
2008-08-27 22:53:28 +00:00