Commit Graph

1541 Commits

Author SHA1 Message Date
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 1cf3826ae8 [maven-release-plugin] prepare branch 1.2.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@680506 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 21:19:52 +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
Kevin W. Sutter 3d81f8652f OPENJPA-668. Fixed up the orm.xml file that was used for testing so that it could pass the validation of the IBM JDK parser.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@680481 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 20:26:21 +00:00
Pinaki Poddar 5fc632784f OPENJPA-20: Clarify return of embedded instances as query result
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@680421 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 17:52:06 +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 2254791f9b OPENJPA-619: Typographical errors
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@680401 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 17:10:38 +00:00
Pinaki Poddar 997a094135 OPENJPA-667: Link configuration property to corresponding method in JavaDoc
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@680396 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 16:46:02 +00:00
Michael Dick 134b37a753 OPENJPA-666
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@679886 13f79535-47bb-0310-9956-ffa450edef68
2008-07-25 19:53:31 +00:00
Patrick Linskey 0ed72e477a moved docs, javadocs, and downloads output to openjpa-project, since it looks like trunk isn't including the top-level target/site dir anymore
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@679594 13f79535-47bb-0310-9956-ffa450edef68
2008-07-24 22:41:36 +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
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