Commit Graph

1523 Commits

Author SHA1 Message Date
Kevin W. Sutter 4aa64410ad 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@693287 13f79535-47bb-0310-9956-ffa450edef68
2008-09-08 21:34:26 +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
Michael Dick 52a0f63097 OPENJPA-695 adding a profile that uploads the latest zip files, manual and javadoc to openjpa.apache.org/builds/latest.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@693275 13f79535-47bb-0310-9956-ffa450edef68
2008-09-08 21:19:55 +00:00
Kevin W. Sutter 079aa06091 OPENJPA-646. Migrate this change from the 1.2.x branch to trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@693233 13f79535-47bb-0310-9956-ffa450edef68
2008-09-08 20:11:35 +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
Catalina Wei 0ea75e720e OPENJPA-712 Not correctly parsing the "having" clause with aggregate functions (ie. max, min, etc)
Committing patch provided by Fay Wang

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@692609 13f79535-47bb-0310-9956-ffa450edef68
2008-09-06 03:47:40 +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
Pinaki Poddar 2988f75fc3 OPENJPA-365: This is a token commit. Original commit is 677147 but due to typo in commit message, the JIRA issue did not get assoicated correctly with the commit 677147
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@691327 13f79535-47bb-0310-9956-ffa450edef68
2008-09-02 17:47:06 +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
Pinaki Poddar 991f5a7dce correct typo
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@689815 13f79535-47bb-0310-9956-ffa450edef68
2008-08-28 13:38:14 +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
A. Abram White 8fc909c19c Apply patch for OPENJPA-699.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@689518 13f79535-47bb-0310-9956-ffa450edef68
2008-08-27 16:39:29 +00:00
Pinaki Poddar cb3e1705f5 OPENJPA-620: An eagerly initialized configuration with fail-fast behavior on persistent class resolution
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@689503 13f79535-47bb-0310-9956-ffa450edef68
2008-08-27 15:49:53 +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
Kevin W. Sutter 36abd7cb62 OPENJPA-702. Update documentation for the DESCSTAT parameter for DB2 on z/OS.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@688855 13f79535-47bb-0310-9956-ffa450edef68
2008-08-25 20:02:23 +00:00
Pinaki Poddar 912b9a37f7 OPENJPA-704:Adding test case
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@688809 13f79535-47bb-0310-9956-ffa450edef68
2008-08-25 18:10:59 +00:00
Pinaki Poddar 00c27c654a Check for field inclusion in fetch group based on names of both decalring and defining class as owner.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@688777 13f79535-47bb-0310-9956-ffa450edef68
2008-08-25 16:57:06 +00:00
Pinaki Poddar d435a69c6b OPENJPA-693: describe implicit property of @ForeignKey annotation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@688738 13f79535-47bb-0310-9956-ffa450edef68
2008-08-25 14:39:39 +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 04c292c761 OPENJPA-698: Decorate callable statements with logging. Added a new inner class LoggingConnection.LoggingCallableStatement which is almost a duplicate of LoggingPreparedStatement -- but existing hierarchy prohibits a direct inheritance. The logging with parameter tracking code needs to be refactored for a cleaner and less duplicated code, but has not be done with this commit.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@688111 13f79535-47bb-0310-9956-ffa450edef68
2008-08-22 16:19:07 +00:00
Pinaki Poddar 3ee2f9e40e Remove wrong headers
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@687879 13f79535-47bb-0310-9956-ffa450edef68
2008-08-21 22:12:51 +00:00
Pinaki Poddar 0d5f08efd9 Add a test case for projection of multiple entity.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@687806 13f79535-47bb-0310-9956-ffa450edef68
2008-08-21 17:11:42 +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
Pinaki Poddar ff93b1d6e6 OPENJPA-678: Hint based targeting of Slices required changes because of eager compilation of Query.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@686453 13f79535-47bb-0310-9956-ffa450edef68
2008-08-16 05:51:59 +00:00
Pinaki Poddar c1d9abd216 OPENJPA-111: Remove errorneous import
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@686421 13f79535-47bb-0310-9956-ffa450edef68
2008-08-16 00:09:38 +00:00
Pinaki Poddar d9712537da OPENJPA-111: Modified tests to use correct binding parameter. Added methods in MetaDataRepository to look for NamedQuery only by name without defining class information.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@686419 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 23:36:16 +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
Albert Lee cf0985e524 OPENJPA-111: Minor message typo corrections.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@686359 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 20:34:36 +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
A. Abram White fd15719a4b Eagerly compile JPQL queries to catch JPQL errors and throw proper exception as
required by spec.  OPENJPA-678



git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@686325 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 19:04:25 +00:00
Kevin W. Sutter d5820cb4c6 Cleaning up our testcase run to get rid of the INFO messages for a non-existent file.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@686061 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 22:14:41 +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
Albert Lee 404cbbf99b OPENJPA-680 - revert changes due to TCK regression.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@685336 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 21:58:19 +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 c8895c6978 OPENJPA-687: Change table names to avoid conflict
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@684806 13f79535-47bb-0310-9956-ffa450edef68
2008-08-11 16:44:01 +00:00
Albert Lee 5396a66b2b OPENJPA-686 - Commit on behalf of Fay Wang. Updating manual on Sybase specific behavior.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@684795 13f79535-47bb-0310-9956-ffa450edef68
2008-08-11 16:20:34 +00:00
Pinaki Poddar 7432d1e1ef Missed the last combination
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@684679 13f79535-47bb-0310-9956-ffa450edef68
2008-08-11 08:59:35 +00:00
Pinaki Poddar e7c3df714b OPENJPA-692: Add Test cases for Bi-directional mapping with JoinTable
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@684443 13f79535-47bb-0310-9956-ffa450edef68
2008-08-10 10:12:37 +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 ffa2851f89 OPENJPA-687: Documentation for cache statistics
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@684137 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 22:57:39 +00:00
Pinaki Poddar 0d3812fcb5 OPENJPA-687: Add read/write/hit statitics to DataCache/StoreCache
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@684132 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 22:39:39 +00:00
Srinivasa Segu 2a5964a540 OPENJPA-166 - Fix to use the translated exception as the cause for rollback.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@684082 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 20:36:31 +00:00
David Ezzio 0bbc9463fd Test case that works when enhancement is done at compile time. OPENJPA-684.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@684066 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 19:41:30 +00:00
David Ezzio 122229bb9a Fixed a comment and added exclusion from enhancement for any classes contained within a directory named "unenhanced".
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@684065 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 19:39:43 +00:00
David Ezzio e5a363e651 A little better error handling when an unknown persistence unit is specified in the test case.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@684064 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 19:38:13 +00:00
Albert Lee 352d799756 OPENJPA-680 - Format changes to standard 80 columns and spacing conventions.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@684037 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 18:32:01 +00:00