Commit Graph

1539 Commits

Author SHA1 Message Date
Pinaki Poddar 85b44d83d5 Allows unrecognized hints (those not starting with openjpa.* as prefix) be stored opaquely - for extension plug-ins.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@698714 13f79535-47bb-0310-9956-ffa450edef68
2008-09-24 20:21:51 +00:00
Pinaki Poddar 1706670152 Introduces notion of @Replicated entity. This feature allows to relax collocation constraint for quasi-stationary master data. A replicated entity is stored as identical copies across multiple slices. The ReplicationStrategy works similar to DistributionStrategy for replicated entity. The slice association cardinality has uniformly changed to array of slices from a single slice name both for replicated and non-replicated entity. The non-replicated entities can refer to replicated entities but not vice versa. The query operation (especially the ones with aggregate function) is aware of replicated data and queries only one of the slices to avoid duplication.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@698284 13f79535-47bb-0310-9956-ffa450edef68
2008-09-23 18:58:00 +00:00
Michael Dick 7a7957d8cc OPENJPA-685. Removing references to maven.compile.classpath and maven.dependency.classpath from enhancer ant task
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@697955 13f79535-47bb-0310-9956-ffa450edef68
2008-09-22 19:26:35 +00:00
Pinaki Poddar 9803879ff9 OPENJPA-704: Add field names of path-like syntax
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@696590 13f79535-47bb-0310-9956-ffa450edef68
2008-09-18 07:57:51 +00:00
Pinaki Poddar 5600a778c9 Use username/password for triall connection to slices.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@696512 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17 23:21:25 +00:00
Michael Dick 05a8f02881 OPENJPA-650 adding documentation for openjpa.RuntimeUnenhancedClasses. Merging revision 696510 to trunk
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@696511 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17 23:20:56 +00:00
Michael Dick e165e502d5 OPENJPA-724 committing patch provided by Milosz Tylenda.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@696350 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17 16:05:10 +00:00
Michael Dick caf46298d6 OPENJPA-727 merge revision 696343 to trunk. Removing reference to missing image file.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@696347 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17 15:51:38 +00:00
Michael Dick 2c86e1d910 OPENJPA-713 exclude sources and javadoc from aggregate openjpa jar
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@696193 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17 08:06:18 +00:00
Michael Dick 666d189db9 OPENJPA-726 adding md5sum for nightly downloads
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@696082 13f79535-47bb-0310-9956-ffa450edef68
2008-09-16 21:55:02 +00:00
Michael Dick 2f75495c57 OPENJPA-711 adding jai dependencies for building the manual
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@695674 13f79535-47bb-0310-9956-ffa450edef68
2008-09-15 22:27:47 +00:00
Pinaki Poddar cd5014ee54 OPENJPA-704: Changes were not assocaited with JIRA issue which was created after the change :)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@694720 13f79535-47bb-0310-9956-ffa450edef68
2008-09-12 16:10:17 +00:00
Pinaki Poddar e047748e77 Fix wrong index in data cache statisitics
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@694117 13f79535-47bb-0310-9956-ffa450edef68
2008-09-11 04:54:49 +00:00
Catalina Wei a098b86d73 OPENJPA-720 The pushdown sql for version columns in primary and secondary tables has unpredictable ordering in the select and from clause
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@694057 13f79535-47bb-0310-9956-ffa450edef68
2008-09-10 23:06:36 +00:00
Michael Dick b3951a1c11 OPENJPA-695 making nightly-upload profile more friendly.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@693888 13f79535-47bb-0310-9956-ffa450edef68
2008-09-10 16:37:41 +00:00
Michael Dick a904e32728 OPENJPA-695 making nightly-upload profile more friendly.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@693481 13f79535-47bb-0310-9956-ffa450edef68
2008-09-09 15:09:32 +00:00
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