Commit Graph

1430 Commits

Author SHA1 Message Date
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
A. Abram White 388754a280 Add apache license headers.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@679437 13f79535-47bb-0310-9956-ffa450edef68
2008-07-24 15:38:40 +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
Michael Dick ae26539962 OPENJPA-633 svn merge -c 677476 https://svn.apache.org/repos/asf/openjpa/branches/1.0.x. Merging docbook changes back to trunk
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@678449 13f79535-47bb-0310-9956-ffa450edef68
2008-07-21 15:21:44 +00:00
Michael Dick b52e229a24 OPENJPA-661 remove duplicate directories in assmebly.xml and remove extra readme file.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@678448 13f79535-47bb-0310-9956-ffa450edef68
2008-07-21 15:20:01 +00:00
David Ezzio f9a27b57c5 Merged from 1.1.x branch, changes and additions to DBDictionary property descriptions, revisions 675366,675368,675700,676592,677746
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@677901 13f79535-47bb-0310-9956-ffa450edef68
2008-07-18 13:28:57 +00:00
David Ezzio d58c648f80 Merged 677745 from 1.1.x branch.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@677886 13f79535-47bb-0310-9956-ffa450edef68
2008-07-18 12:22:21 +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
Michael Dick 948c38e332 OPENJPA-633 setting consistent eol-style for pom.xml files in trunk
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@677472 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 00:09:55 +00:00
Pinaki Poddar fec65630fd OPENJPA-470: Use blockquote to highlight special classname syntax for SequenceGenerator attribute
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@677161 13f79535-47bb-0310-9956-ffa450edef68
2008-07-16 05:31:20 +00:00
Pinaki Poddar efdbbd7a92 OPENJPA:365: Raise informative exception when user supplied id argument is wrong type
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@677147 13f79535-47bb-0310-9956-ffa450edef68
2008-07-16 03:59:33 +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
Pinaki Poddar 434319cfee OPENJPA-659: Dirty checking fails for runtime enhanced classes. The original case reported the failure in a Spring-Tomcat-Weaver with Embdded field. But as TestSimpleUnenhancedQuery can raise the same failure in a simpler settings. The fix is related to initializing a SaveFieldManager conditional to having loaded fields at invocation of saveFields(). The fix removes the condition and ensures that a SaveFieldManager is assocaited even when saveFields() is invoked without any field loaded.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@676727 13f79535-47bb-0310-9956-ffa450edef68
2008-07-14 20:46:18 +00:00
Pinaki Poddar 94814adc39 Revert changes to exclude non-transactional states from dirty checking
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@676642 13f79535-47bb-0310-9956-ffa450edef68
2008-07-14 16:54:05 +00:00
Pinaki Poddar 854eda8a19 Skip dirty check for nontransactional, runtime-enhanced instances
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@676604 13f79535-47bb-0310-9956-ffa450edef68
2008-07-14 14:33:59 +00:00
Pinaki Poddar 436eefcbba @ElementJoinColumn attribute corrected
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@676584 13f79535-47bb-0310-9956-ffa450edef68
2008-07-14 13:45:18 +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
Albert Lee c7a9063146 OPENJPA-653 - Commit for Jeremy Bauer
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@674609 13f79535-47bb-0310-9956-ffa450edef68
2008-07-07 19:41:32 +00:00
Pinaki Poddar 2a588d6a2b OPENJPA-652: Formatting to be published base TestCases
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@673855 13f79535-47bb-0310-9956-ffa450edef68
2008-07-03 22:41:07 +00:00
Pinaki Poddar 13e4897173 OPENJPA-647: Change cardinality of listeners for Value update so that ClassMetaData (and others) can sync with dynamic configuration changes
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@673484 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 20:26:48 +00:00
Pinaki Poddar 50aaa9764a OPENJPA-647: Simple edit for 80-column format rule
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@673479 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 20:00:49 +00:00
Pinaki Poddar 1ad09239b3 OPENJPA-647: ClassMetaData listens to value updates of dynamic property
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@673476 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 19:50:37 +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
Michael Dick bae08e93e4 Fix line length
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@673188 13f79535-47bb-0310-9956-ffa450edef68
2008-07-01 19:39:01 +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 d52998d074 OPENJPA-340: Formatting to 80 lines
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@672416 13f79535-47bb-0310-9956-ffa450edef68
2008-06-27 22:54:51 +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
Pinaki Poddar ff4a96e707 OPENJPA-340: Support for @UniqueConstraints on @TableGenerator, @SecondaryTable and @JoinTable.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@672038 13f79535-47bb-0310-9956-ffa450edef68
2008-06-26 22:04:06 +00:00
Catalina Wei 2b3f7ec90c OPENJPA-645 Date millisecond precision lost for Informix IDS and SQLServer
Commit the patch provided by Dinkar Rao

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@672017 13f79535-47bb-0310-9956-ffa450edef68
2008-06-26 20:11:51 +00:00
Catalina Wei e3dbdac159 OPENJPA-644 Handle databaseProductVersion string from newer jcc driver for DB2 ISeries
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@672008 13f79535-47bb-0310-9956-ffa450edef68
2008-06-26 19:38:30 +00:00
Kevin W. Sutter 82e61ba0d5 OPENJPA-637. Reverting ConcurrentHashMap implementation per the patch provided by Jeremy Bauer. A more complete, configurable implementation is being tracked via the related sub-task OPENJPA-643.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@672003 13f79535-47bb-0310-9956-ffa450edef68
2008-06-26 19:31:20 +00:00
Michael Dick 976a5e1faf OPENJPA-642 committing patch provided by Fay Wang
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@671585 13f79535-47bb-0310-9956-ffa450edef68
2008-06-25 15:46:44 +00:00
Michael Dick fb78813259 OPENJPA-545 committing patch provided by Jeremy Bauer
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@671319 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24 19:48:23 +00:00
Pinaki Poddar 37cb4af35d OPENJPA-581: Print WARN level message on JNDI lookup failure
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@669356 13f79535-47bb-0310-9956-ffa450edef68
2008-06-19 01:41:32 +00:00
Pinaki Poddar d1a165bc61 OPENJPA-112,OPENJPA-111: Early check for 1-based positional parameter and no named parameter in native query. Also more specific error message
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@669341 13f79535-47bb-0310-9956-ffa450edef68
2008-06-19 00:40:17 +00:00
Pinaki Poddar f62ea1ab0d OPENJPA-533: Update query can set single-valued association to NULL or non-NULL.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@669332 13f79535-47bb-0310-9956-ffa450edef68
2008-06-18 23:25:59 +00:00