Commit Graph

73 Commits

Author SHA1 Message Date
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 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
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 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
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 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
Michael Dick 981c023e0e OPENJPA-633 updating pom.xml files to be compatible with the maven-release-plugin. There are a lot of formatting changes which are needed to prevent the plugin from removing our copyright header.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666731 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 16:48:56 +00:00
Albert Lee a5c80fd9e1 Slice module references jvm properties define in trunk's pom.xml, where surefire.jvm.args property is used instead of test.jvm.arguments. Also added suspend=n option.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@651849 13f79535-47bb-0310-9956-ffa450edef68
2008-04-26 19:27:36 +00:00
Kevin W. Sutter a08388e8be A couple of minor updates to a couple of slice-related messages. Parameters passed in were not matching the message definitions.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@650163 13f79535-47bb-0310-9956-ffa450edef68
2008-04-21 14:52:28 +00:00
Patrick Linskey 8803104f41 moved release number to 1.2.0-SNAPSHOT now that we've made a 1.1.x branch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@646049 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 19:40:02 +00:00
Pinaki Poddar c457053f94 OPENJPA-515 Remove XA transaction across slices + test configuration for Derby + activate tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@628387 13f79535-47bb-0310-9956-ffa450edef68
2008-02-16 22:03:25 +00:00
Patrick Linskey 3735e9a54e change a couple of line endings; remove MySQL requirement from openjpa-slice pom
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@628095 13f79535-47bb-0310-9956-ffa450edef68
2008-02-15 16:10:09 +00:00
Pinaki Poddar ff42968eed OPENJPA-515 Missing Licsnese header
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@627966 13f79535-47bb-0310-9956-ffa450edef68
2008-02-15 07:38:33 +00:00
Patrick Linskey 1c738c4412 Disabling Slice tests, since they're failing the build.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@627955 13f79535-47bb-0310-9956-ffa450edef68
2008-02-15 05:26:15 +00:00
Pinaki Poddar 1c0b264517 OPENJPA-515 clean up imports
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@627952 13f79535-47bb-0310-9956-ffa450edef68
2008-02-15 04:56:23 +00:00
Pinaki Poddar 3d2cbcb7a9 OPENJPA-515 Maintain thread-transaction affinity for bulk delete/update operation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@627943 13f79535-47bb-0310-9956-ffa450edef68
2008-02-15 04:44:48 +00:00
Pinaki Poddar 8a811f69ea OPENJPA-515 Add support for targeted query via query hints
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@627888 13f79535-47bb-0310-9956-ffa450edef68
2008-02-14 22:16:45 +00:00
Pinaki Poddar 68f25ced84 OPENJPA-551 Support Range Query
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@627645 13f79535-47bb-0310-9956-ffa450edef68
2008-02-14 03:27:26 +00:00
Pinaki Poddar 763fd3e5a3 OPENJPA-515 A dummy test to warn that Slice tests are currently inactive.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@627638 13f79535-47bb-0310-9956-ffa450edef68
2008-02-14 02:27:54 +00:00
Pinaki Poddar eaf452dcc2 OPENJPA-515 Add basic Tests for distributed database support.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@627636 13f79535-47bb-0310-9956-ffa450edef68
2008-02-14 02:26:59 +00:00
Pinaki Poddar c61d81ade6 Change property name prefix from 'slice.*' to 'openjpa.slice.*' + Apache License Header
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@619263 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 04:51:08 +00:00
Pinaki Poddar 12839b6bd9 Adding new (source code + pom.xml + doc) for Slice
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@619145 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 20:26:14 +00:00