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
Pinaki Poddar
62c0cba64b
OPENJPA-697: Implement newly added getJavaType(int i) abstarct method to save derivations unaware of multi-column versioning support from compiler error
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@689219 13f79535-47bb-0310-9956-ffa450edef68
2008-08-26 20:51:30 +00:00
Pinaki Poddar
42f2f394fb
OPENJPA-705: Secondary table for Embdded field is to be looked up in the owner's secondary table.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@688919 13f79535-47bb-0310-9956-ffa450edef68
2008-08-25 23:28:31 +00:00
Pinaki Poddar
f0126e921f
OPENJPA-697: Upgrade version strategy for multiple numeric-valued columns to support @VersionColumns.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@688734 13f79535-47bb-0310-9956-ffa450edef68
2008-08-25 14:25:36 +00:00
Catalina Wei
322689a573
OPENJPA-700 DB2 lastGeneratedKeyQuery should use new syntax for db2UDBV82OrLater
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@688135 13f79535-47bb-0310-9956-ffa450edef68
2008-08-22 17:48:55 +00:00
Pinaki Poddar
4dd92231c5
Generate informative error message when query fails due to wrong unbound variables
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@687122 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 18:42:26 +00:00
Albert Lee
a7b9f8f7f3
Minor typo corrections in message files.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@686401 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 22:19:24 +00:00
Pinaki Poddar
d76c646acc
OPENJPA-111: Validate native SQL parameters by the numbers of parameters in StoreQuery level and bypass validation at facade layer
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@686349 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 19:38:10 +00:00
Pinaki Poddar
aae1260665
OPENJPA-693: Support 1.5 directional mapping where Parent maps its Children but Child refers to Parent via Parent's primary key value. Introduces a concept of implicit ForeignKey that marks the shared mapped column without any database schema impact.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@686037 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 20:52:16 +00:00
Catalina Wei
f4845dae9b
OPENJPA-679 java.lang.ArrayIndexOutOfBoundsException may occur when a relation field is annotated as a primary key and a foreign key
...
Commit patch provided by Fay Wang
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@685042 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 05:10:54 +00:00
Pinaki Poddar
ffb59c35fc
OPENJPA-692: Detect orphaning relation and change row update to delete for join table entry.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@684822 13f79535-47bb-0310-9956-ffa450edef68
2008-08-11 17:18:31 +00:00
Pinaki Poddar
6dbe8a9e57
OPENJPA-692: Bi-directional mapping with JoinTable
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@684442 13f79535-47bb-0310-9956-ffa450edef68
2008-08-10 10:11:50 +00:00
Pinaki Poddar
237c092ebb
OPENJPA-677: Make a judgement whether reading discrimnator value from the result makes sense in a context
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@683916 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 08:59:12 +00:00
Pinaki Poddar
9ebfe800a5
OPENJPA-677: While loading intermediate data be more strict about when superclass oid can be allowed
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@683902 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 08:06:18 +00:00
Catalina Wei
053ad36618
OPENJPA-681 Subquery generates SQL with syntax error
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@683876 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 06:46:29 +00:00
Michael Dick
b53a58f948
OPENJPA-676 remove extra bracket
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@683304 13f79535-47bb-0310-9956-ffa450edef68
2008-08-06 15:45:08 +00:00
Michael Dick
62a6555c89
OPENJPA-676 remove extraneous cast
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@683299 13f79535-47bb-0310-9956-ffa450edef68
2008-08-06 15:34:33 +00:00
Michael Dick
ce3f368ab0
OPENJPA-676 close connection used for CONTIGUOUS or TRANSACTIONAL sequences
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@683296 13f79535-47bb-0310-9956-ffa450edef68
2008-08-06 15:31:01 +00:00
Pinaki Poddar
3b00de3b26
OPENJPA-665: Check for null constraint on insert and update
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@682610 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 07:23:41 +00:00
Pinaki Poddar
b683569de0
OPENJPA-485:
...
OPENJPA-497: Saving NPE
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@682570 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 03:19:13 +00:00
Pinaki Poddar
8cb82a6f33
OPENJPA-485: ORDER BY clause in JPQL generates syntactically wrong SQL for TABLE_PER_CLASS inheritance hierarchy
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@681781 13f79535-47bb-0310-9956-ffa450edef68
2008-08-01 19:03:34 +00:00
Michael Dick
68f051fccf
OPENJPA-670 committing patch provided by Jeremy Bauer
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@681370 13f79535-47bb-0310-9956-ffa450edef68
2008-07-31 13:52:50 +00:00
Pinaki Poddar
4af04f30d9
OPENJPA-187: Allow managed, unmanaged, transient entity as binding query parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@681207 13f79535-47bb-0310-9956-ffa450edef68
2008-07-30 21:30:26 +00:00
Michael Dick
64dbe4c924
[maven-release-plugin] prepare release 1.2.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@680508 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 21:20:09 +00:00
Michael Dick
191f26d72d
OPENJPA-669 DBDictionary can specify the type of native sequences.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@680501 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 21:12:17 +00:00
Pinaki Poddar
72b5b4def8
OPENJAP-664: Check length constraint onIndex name, not on the table on which index is created
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@680413 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 17:29:15 +00:00
Pinaki Poddar
1111ee16ff
OPENJPA-665: Sets column i/o conditions accordingly when column is set as not nullable.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@679487 13f79535-47bb-0310-9956-ffa450edef68
2008-07-24 18:45:44 +00:00
Pinaki Poddar
315cc2d155
OPENJPA-664: Check for length of schema component name during generation of SQL DDL generation.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@679442 13f79535-47bb-0310-9956-ffa450edef68
2008-07-24 16:05:10 +00:00
Catalina Wei
62a8c5c32f
OPENJPA-292 Extra JOIN on eager bi-directional relationship
...
commit openjpa_292_1.patch and testcase_241_292.patch on behalf of Fay Wang
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@679262 13f79535-47bb-0310-9956-ffa450edef68
2008-07-24 01:39:55 +00:00
Catalina Wei
98802147f7
OPENJPA-241 Extra SQL on lazy CMR load
...
commit openjpa_241_1.patch on behalf of Fay Wang
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@679261 13f79535-47bb-0310-9956-ffa450edef68
2008-07-24 01:36:44 +00:00
A. Abram White
37d610ca2c
Fix a bug in which joined classes using an application identity hierarchy
...
couldn't be loaded correctly as an inverse relation.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@679152 13f79535-47bb-0310-9956-ffa450edef68
2008-07-23 18:20:25 +00:00
Patrick Linskey
2ed656a2a0
OPENJPA-458. Adding license header to new file.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@678950 13f79535-47bb-0310-9956-ffa450edef68
2008-07-22 23:54:44 +00:00
Catalina Wei
8cfa25c524
OPENJPA-241 Extra SQL on lazy CMR load
...
commit openjpa_241.patch on behalf of Fay Wang
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@678828 13f79535-47bb-0310-9956-ffa450edef68
2008-07-22 17:41:30 +00:00
Pinaki Poddar
b4c557d0c0
OPENJPA-660: SQL Query Cache supports binding non-primary key parameters to cached SQL. Commit fix on behalf of Fay Wang. Original test case developed by Vikram Bhatia.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@678722 13f79535-47bb-0310-9956-ffa450edef68
2008-07-22 11:54:26 +00:00
Pinaki Poddar
4c0bf1be10
OPENJPA-207: Support multi-level derived identity. Enhancer has been modified.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@678518 13f79535-47bb-0310-9956-ffa450edef68
2008-07-21 17:55:17 +00:00
Pinaki Poddar
c7e78fc80d
OPENJPA-662: Allow version field values be loaded in projection query
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@677704 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 20:11:42 +00:00
Pinaki Poddar
6e3aca63ec
OPENJPA-349: Validate the row if auto-assigned identity happens to be only column.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@677145 13f79535-47bb-0310-9956-ffa450edef68
2008-07-16 03:55:45 +00:00
Catalina Wei
89695ec253
OPENJPA-51 A non-correlated subquery resulting SQL syntax error
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@676787 13f79535-47bb-0310-9956-ffa450edef68
2008-07-15 02:06:55 +00:00
Catalina Wei
b2812a4cce
OPENJPA-51 Incorrect SQL with syntax error for JPQL subqueries
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@676467 13f79535-47bb-0310-9956-ffa450edef68
2008-07-14 03:46:44 +00:00
Pinaki Poddar
85b0b0b45b
OPENJPA-656: reusing existing error message key from a different package
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@676081 13f79535-47bb-0310-9956-ffa450edef68
2008-07-11 21:14:42 +00:00
Pinaki Poddar
026c96d513
OPENJPA-656: raise error messages with connection parameters on connect failure
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@676073 13f79535-47bb-0310-9956-ffa450edef68
2008-07-11 20:28:49 +00:00
Pinaki Poddar
cc85528f69
OPENJPA-656 : raise informational error on initial connection failure
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@675952 13f79535-47bb-0310-9956-ffa450edef68
2008-07-11 13:48:50 +00:00
Pinaki Poddar
07919b9bec
OPENJPA-657 Removing DOM 3 level methods in parsing XML
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@675812 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 23:56:07 +00:00
Pinaki Poddar
89e7531398
Initialize Database Prodcut/Vendor name to empty string to avoid NPE
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@675387 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 00:16:25 +00:00
Catalina Wei
25a69ffe0a
OPENJPA-648 Table generator uses incorrect schema name
...
commit OPENJPA-648_1.2.0.patch provided by Jeremy Bauer
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@673267 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 03:51:05 +00:00
Catalina Wei
de790be2ad
OPENJPA-235 SQL reordering to avoid non-nullable foreign key constraint violations
...
Fix problem in deletion for foreign key on delete cascade.
Commit openjpa-235-delete-cascade.patch provided by Fay Wang.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@673258 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 01:32:33 +00:00
Albert Lee
1aa44030d6
OPENJPA-634 - Use only the exception collection in the prepared statement to collect batch flush exceptions. This will preserve the order of exceptions thrown by underlying batch operations during the update manager flush processing.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@673197 13f79535-47bb-0310-9956-ffa450edef68
2008-07-01 20:32:48 +00:00
Pinaki Poddar
54d1a24320
OPENJPA-340: Unique names are unique.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@672960 13f79535-47bb-0310-9956-ffa450edef68
2008-07-01 00:02:11 +00:00
Pinaki Poddar
6868b1cc4a
OPENJPA-340: UniqueConstraint supported via XML Descriptors
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@672406 13f79535-47bb-0310-9956-ffa450edef68
2008-06-27 22:02:34 +00:00