Commit Graph

38 Commits

Author SHA1 Message Date
Michael Dick 16b7b1a7f7 OPENJPA-784 committing patch provided by Fernando
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@728004 13f79535-47bb-0310-9956-ffa450edef68
2008-12-19 11:36:13 +00:00
Pinaki Poddar 574d559860 OPENJPA-825: Introduced internal locking for shared contexts (BrokerImpl/QueryImpl).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@727864 13f79535-47bb-0310-9956-ffa450edef68
2008-12-19 00:08:23 +00:00
Pinaki Poddar 0f7f03d8b0 OPENJPA-825: Cache unique flag for query to avoid lcoking. Use StateManager's instance lock rather than acquiring Broker's lock.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@727297 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 06:23:00 +00:00
Pinaki Poddar 9c8b2d2cd8 OPENJPA-825: Execute slice operations serailly when openjpa.Multithreaded=true. Otherwise continue using parallel execution mode.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@726770 13f79535-47bb-0310-9956-ffa450edef68
2008-12-15 19:02:19 +00:00
Jeremy Bauer cabd344397 OPENJPA-800 remove version milestone indicator from build artifacts
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@725817 13f79535-47bb-0310-9956-ffa450edef68
2008-12-11 21:17:55 +00:00
Pinaki Poddar 66434c6ebf OPENJPA-820: Test entity reference can be used as query parameter for slices.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@725078 13f79535-47bb-0310-9956-ffa450edef68
2008-12-10 13:03:08 +00:00
Pinaki Poddar 57d329d3c5 OPENJPA-821: DistributedStoreQuery$UpdateExecutor called executeDelete(). Should be executeUpdate()
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@725070 13f79535-47bb-0310-9956-ffa450edef68
2008-12-10 12:36:24 +00:00
Pinaki Poddar 62e1deae8f OPENJPA-801: PCPath is now a CandidatePath. But why was it not before?
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@724856 13f79535-47bb-0310-9956-ffa450edef68
2008-12-09 20:08:32 +00:00
Jeremy Bauer c60a95f77a OPENJPA-800 Change release artifact versions for milestone 1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@723373 13f79535-47bb-0310-9956-ffa450edef68
2008-12-04 16:51:03 +00:00
Pinaki Poddar 5bf35c3a40 OPENJPA-812: Consider case when aggreate result from a slice can be null
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@723260 13f79535-47bb-0310-9956-ffa450edef68
2008-12-04 09:09:35 +00:00
Pinaki Poddar 3f47c13c68 OPENJPA-787,OPENJPA-799: getSingleResult() and multiple aggregate projections
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@722059 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 12:34:17 +00:00
Pinaki Poddar 64a1293f51 OPENJPA-772: Sets JPA spec version to the 2.0 EA snapshot (which has partial definition of JPA 2.0 API) and sets parent pom to apache (which defines the sanpshot repos). Patch cotributed by David Jencks.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@718426 13f79535-47bb-0310-9956-ffa450edef68
2008-11-17 22:56:14 +00:00
Michael Dick 284bd408f8 [maven-release-plugin] prepare release 1.3.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@707728 13f79535-47bb-0310-9956-ffa450edef68
2008-10-24 19:19:49 +00:00
Michael Dick e23ea92319 Organize imports for DistributedStoreManager to avoid protection problem with sun.reflect.ReflectionFactory
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@706841 13f79535-47bb-0310-9956-ffa450edef68
2008-10-22 01:29:16 +00:00
Pinaki Poddar 16e7a11f81 document ReplicationPolicy for Slice. Also assorted doc edit
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@705487 13f79535-47bb-0310-9956-ffa450edef68
2008-10-17 06:21:49 +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 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