Commit Graph

1417 Commits

Author SHA1 Message Date
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
Michael Dick 689d1c5385 OPENJPA-633 updating rat plugin to alpha-3 and adding exceptions to release profile
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@668838 13f79535-47bb-0310-9956-ffa450edef68
2008-06-17 21:36:25 +00:00
Pinaki Poddar a8e0dc180e OPENJPA-458: Amplified SQL Exception processing. Introduced a new sql-error-state-codes.xml to specify database specific error code for different types of Store exceptions. This helps to narrow SQL exception to a specific errors which bubble up to user application.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@668814 13f79535-47bb-0310-9956-ffa450edef68
2008-06-17 20:07:12 +00:00
Pinaki Poddar e00c6e8f80 OPENJPA-625: remove Embedded collection members throws exception in PCData
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@668268 13f79535-47bb-0310-9956-ffa450edef68
2008-06-16 19:29:24 +00:00
Pinaki Poddar 7ac8321f27 OPENJPA-209,OPENJPA-210: Test for projection query with duplicate result
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@667647 13f79535-47bb-0310-9956-ffa450edef68
2008-06-13 20:46:40 +00:00
Pinaki Poddar 71519b0808 OPENJPA-610: Restored refresh() behavior for clean/new instances.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@667312 13f79535-47bb-0310-9956-ffa450edef68
2008-06-13 01:58:49 +00:00
Catalina Wei 514a4bb907 OPENJPA-634 Batched updates resulted in SQLException was not propagated back to users application
fix OutOfMemoryException

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@667302 13f79535-47bb-0310-9956-ffa450edef68
2008-06-13 00:23:56 +00:00
Michael Dick 0c346ba7ce OPENJPA-633. Updating deploy locations to use your home directory on people.apache.org.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@667126 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 15:08:24 +00:00
Patrick Linskey b3c7e8290c Merge from ../branches/1.1.x. svn merge -c 661090 ../branches/1.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666923 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 00:02:34 +00:00
Patrick Linskey ef098b3acd Merged part of r657897 from 1.1.x, excluding the pom changes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666922 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 00:01:46 +00:00
Patrick Linskey 90332224f7 Merge from ../branches/1.1.x. svn merge -c 657162 ../branches/1.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666921 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 00:00:06 +00:00
Patrick Linskey 06ab9692d5 Merge from ../branches/1.1.x. svn merge -c 657148 ../branches/1.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666920 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:59:44 +00:00
Patrick Linskey 12c0a094ee Merge from ../branches/1.1.x. svn merge -c 656796 ../branches/1.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666919 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:59:15 +00:00
Patrick Linskey 5ee728e332 OPENJPA-600. Merge from ../branches/1.1.x. svn merge -c 656006 ../branches/1.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666918 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:58:16 +00:00