Kevin W. Sutter
2bbbcc9d73
OPENJPA-2099. With Pinaki's green light, we're going to back out the changes for OpenJPA-2099 and OpenJPA-2111 so that we can make progress on the OpenJPA 2.2.0 release.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1243702 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 21:23:54 +00:00
Pinaki Poddar
816280b17b
OPENJPA-2099: Align Slice threading model and Select reuse threading model
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1235594 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 02:01:30 +00:00
Mark Struberg
3beb74571a
switch back trunk to 2.2.0-SNAPSHOT
...
we wil restart the 2.2.x after a few important fixes on trunk
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1230495 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 11:28:50 +00:00
Mark Struberg
6289157f9c
release preparation. Move trunk to 2.3.0-SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1229557 13f79535-47bb-0310-9956-ffa450edef68
2012-01-10 14:29:08 +00:00
Kevin W. Sutter
9cc9b97c97
OPENJPA-2087. Adding "missing" methods on the concrete JDBC classes to allow building with Java 7. Committing this change on behalf of Jacob Nowosatka.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1226933 13f79535-47bb-0310-9956-ffa450edef68
2012-01-03 20:04:38 +00:00
Kevin W. Sutter
12e33c9af3
OPENJPA-2087. Removing the use of the ConcreteClassGenerator. Committing this change on behalf of Jacob Nowosatka.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1214975 13f79535-47bb-0310-9956-ffa450edef68
2011-12-15 22:28:29 +00:00
Albert Lee
9fdf242b40
OPENJPA-2085 Use ASM to reconstruct the missing StackMapTable attribute in class file after entity enhancement. BCClassWriter is contributed by Brett Kail.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1209373 13f79535-47bb-0310-9956-ffa450edef68
2011-12-02 06:42:55 +00:00
Richard G. Curtis
3d5b44956d
OPENJPA-2057: Reverting previous commits.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1197994 13f79535-47bb-0310-9956-ffa450edef68
2011-11-05 17:17:26 +00:00
Pinaki Poddar
3494fab794
OPENJPA-2057: Change classloading scheme
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1190716 13f79535-47bb-0310-9956-ffa450edef68
2011-10-29 00:44:11 +00:00
Pinaki Poddar
12878c9c05
rollback wrong commit
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1178849 13f79535-47bb-0310-9956-ffa450edef68
2011-10-04 16:08:06 +00:00
Pinaki Poddar
4ef9c9f6f1
use range information for slice query
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1178634 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 23:23:23 +00:00
Michael Dick
27e0e704ad
OPENJPA-2008: Setting svn eol-style for DistributedSQLStoreQuery
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1137651 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 15:09:37 +00:00
Pinaki Poddar
41f09d9226
OPENJPA-2008: Draft support for native SQL in Slice
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1135806 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 21:33:28 +00:00
Pinaki Poddar
0de12ed492
OPENJPA-2012: Support in-memory MIN()/MAX() on non-numeric types
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1133605 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 23:50:30 +00:00
Pinaki Poddar
14816f465b
Add code comments
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1133602 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 23:37:58 +00:00
Michael Dick
25b4e87195
OPENJPA-1952: Excluding multithreaded test which causes intermittent build failures
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1074579 13f79535-47bb-0310-9956-ffa450edef68
2011-02-25 15:33:16 +00:00
Michael Dick
8c2b69d63f
OPENJPA-1898: reduce number of threads in testcase.
...
Submitted By: Mark Struberg
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1040742 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 19:57:09 +00:00
Michael Dick
2cc69063aa
[maven-release-plugin] prepare release 2.1.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1040584 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 15:30:48 +00:00
Donald Woods
e991772527
make sure tests cleanup EMs and EMFs
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1021839 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 17:02:53 +00:00
Donald Woods
c92c435728
minor pom updates
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1003634 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 20:24:41 +00:00
Pinaki Poddar
f56c4ca729
OPENJPA-1776,OPENJPA-1777: Delay distribution decision to flush. Set diagonistic context by reflection.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@990238 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 19:33:37 +00:00
Donald Woods
560afb7df4
OPENJPA-1712 Merge in build updates from 2.0.x branch
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@987238 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 17:31:55 +00:00
Michael Dick
e449027abe
Increase timeout value for slice testcase
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@985067 13f79535-47bb-0310-9956-ffa450edef68
2010-08-13 02:03:48 +00:00
Donald Woods
bcfadcff1b
OPENJPA-1712 Fix creation of test artifacts, so they get signed during -Papache-release deploys to nexus repo
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@983040 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 16:22:21 +00:00
Richard G. Curtis
b2d771f972
Adding missing licence header.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@946248 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 16:03:11 +00:00
Pinaki Poddar
f4cddb4c82
Remove Compilation error because to @Override flag.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@943897 13f79535-47bb-0310-9956-ffa450edef68
2010-05-13 14:25:36 +00:00
Pinaki Poddar
3bb50e3d36
OPENJPA-1663,OPENJPA-1664: Add support to target find() or query to a subset of slices with plug-in policy. The existing, code intrusive mechanism of setting hints on query/fetch plan explicitly is retained. Intrusive, explicit setting of targets overrides policy based targets.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@943688 13f79535-47bb-0310-9956-ffa450edef68
2010-05-12 21:08:34 +00:00
Pinaki Poddar
85ba2eada3
OPENJPA-1662: Remove usage of @Replicated annotation. Replace with openjpa.slice.ReplicatedTypes plug-in.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@943294 13f79535-47bb-0310-9956-ffa450edef68
2010-05-11 21:09:17 +00:00
Pinaki Poddar
990bfb8d96
OPENJPA-1649: Add a test to verify transaction atomicity across slices.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@941541 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 23:28:26 +00:00
Pinaki Poddar
4c24a47a8e
OPENJPA-1649: Share metadata/mapping repository across slices.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@941515 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 22:11:51 +00:00
Pinaki Poddar
c7addd5f51
OPENJPA-1648,OPENJPA-1649,OPENJPA-1650: Replace fixed thread pools by cached thread pool.
...
Stop creating thread pools on every flush/query.
Streamline property parsing/processing to create slice configurations.
Retain addSlice() on Persistence Unit and remove from Persistence Context and Configuration.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@941084 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 23:01:51 +00:00
Pinaki Poddar
d43fea80d8
OPENJPA-1643: Parse connection factory name. Add a constructor for serializability. Make CriteriaQuery sharable among slices.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@939125 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 22:47:15 +00:00
Donald Woods
b5b65a7d4b
[maven-release-plugin] prepare release 2.0.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926437 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 02:27:40 +00:00
Donald Woods
676a2f74f6
[maven-release-plugin] prepare branch 2.0.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926434 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 02:27:29 +00:00
Michael Dick
c618b4692d
OPENJPA-1557:
...
Use openjpa.Log to control build logging instead of openjpa.loglevel
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923929 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 18:44:11 +00:00
Donald Woods
0befad7051
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915979 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 21:04:54 +00:00
Donald Woods
099d18901e
[maven-release-plugin] prepare release 2.0.0-beta2
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915977 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 21:04:42 +00:00
Donald Woods
cda835d50b
OPENJPA-1528 Upgrade to MySQL 5.1.12 driver. Include dbcp overrides needed for MySQL. Moved common dbcp and junit properties to parent pom to simplify maintenance. Add some blank lines in a couple poms to improve readability.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915448 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 17:27:27 +00:00
Donald Woods
9c90ca5506
merged in r902968 from beta branch
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@902988 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 21:50:14 +00:00
Donald Woods
2b2ede1e38
OPENJPA-1374 Enable junits to be executed against an in-memory Derby 10.5.3.0 db. Moved common Derby profiles to the parent POM. Added new Derby props in o-p-j which knocked 2 mins off build time. Added a test-derbymem profile to use Derby 10.5.3.0 as in-memory DB, which reduced build time by 5 mins.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901374 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 20:53:57 +00:00
Donald Woods
400c592100
fix ASL 2.0 header and change test-mysql profile to test-mysql-slice profile to keep it from running during the nightly auotmated tests
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@821035 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 14:36:30 +00:00
Pinaki Poddar
a8640cc5d2
OPENJPA-1285: Dynamic JDBC 4 Wrappers use constructor to save reflection cost
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813149 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 22:43:49 +00:00
Pinaki Poddar
4e6a98f634
OPENJPA-849,OPENJPA-1251: Property management, hidden values
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@805567 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 20:27:30 +00:00
Michael Dick
3ec9136da7
OPENJPA-651:
...
Default setting for RuntimeUnenhancedClasses = unsupported.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@802457 13f79535-47bb-0310-9956-ffa450edef68
2009-08-08 21:03:56 +00:00
Donald Woods
a3f0d4104c
OPENJPA-1148 Remove recently added ehnancer agent settings.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@801165 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 12:12:23 +00:00
Donald Woods
96c824a8e3
OPENJPA-1148 remove Derby lock timeouts for now...
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@800914 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 18:35:09 +00:00
Donald Woods
a63acfca77
OPENJPA-1148 Reformat and replace tabs with 4 space indenting
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@800888 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 17:43:22 +00:00
Donald Woods
d727e60800
OPENJPA-1148 Remove test.jvm.arguments from openjpa-slice, which was causing this module to always fail with a OOM PermGen space with 64bit Java 6 on Linux for me. Also merged in some recent updates in o-p-j for derby lock timeouts and ehnancer agent settings.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@800878 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 17:12:43 +00:00
Donald Woods
f503abe979
OPENJPA-1130 Use maven-jar-plugin to create a o-p-j-tests.jar to share base TestCase classes across modules
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@783404 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 15:55:14 +00:00
Michael Dick
3464d8e9b8
OPENJPA-1015. Enforce column width for testcases
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@779361 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 00:22:33 +00:00
Michael Dick
291e27eba9
OPENJPA-1015. Committing patch provided by BJ Reed. Additional testcases have been added which do not conform - I've updated some of them but some still exist so validation is not enabled by default
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@777135 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 14:39:31 +00:00
Pinaki Poddar
83bb518d7c
OPENJPA-1079: Allow connection to be accessed by the client
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@773249 13f79535-47bb-0310-9956-ffa450edef68
2009-05-09 16:40:59 +00:00
Pinaki Poddar
eb359de6a5
Demonstrates that related instances can be stored across slices (i.e. collocation constrain can be bypassed) and the across-slice relations can be fetched reliably under certain restrictions (e.g. for lazy relations).
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@772721 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 17:36:05 +00:00
Pinaki Poddar
27935272ba
OPENJPA-1044: Retire test where entity is used as a query parameter as it causes a thread deadlock
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@767571 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22 15:39:09 +00:00
Michael Dick
b5d5ea2734
OPENJPA-1023. set svn:eol on .properties
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@762563 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 23:28:17 +00:00
Michael Dick
b6e661e24a
OPENJPA-1015 fix line wrapping in source files. Based on patch contributed by B.J. Reed. Updates made to do enforce line wrapping during the process-sources phase of the build.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@761509 13f79535-47bb-0310-9956-ffa450edef68
2009-04-03 03:09:53 +00:00
Pinaki Poddar
32796f751b
OPENJPA-5: Upgrade to JDK6
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@758490 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 01:01:39 +00:00
Michael Dick
b546423063
OPENJPA-896. Setting eol-style:native and removing windows eol characters from XML files.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@757388 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 12:42:41 +00:00
Michael Dick
90b84c5d73
OPENJPA-896. Setting eol-style:native and removing windows eol characters from source files.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@757278 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 23:37:24 +00:00
Pinaki Poddar
c5c5398497
OPENJPA-985: Support dynamic addition of slices.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755861 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 07:10:53 +00:00
Michael Dick
1d94611932
OPENJPA-947. Reduce testcase logging
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755580 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 12:37:31 +00:00
Pinaki Poddar
6b40e72683
OPENJPA-981: replicate parent-child relation across slices and not only to root slice
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755031 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16 22:36:50 +00:00
Pinaki Poddar
393111b875
OPENJPA-857: PersistenceProductDerivation sets Compatibility according to current specification. Allow multiple specifications to coexist.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@752557 13f79535-47bb-0310-9956-ffa450edef68
2009-03-11 18:38:35 +00:00
Fay Wang
c3338d82ba
OPENJPA-937: remove AllowFailure from the test case, as this
...
causes compiler error in mvn clean install, since the dependency
on org.apache.openjpa.persistence.test.AllowFailure is missing
in the pom file for openjpa-slice.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@750218 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 23:06:56 +00:00
Fay Wang
0098cc1e25
OPENJPA-937: AssociationOverrides support
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@750122 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 19:42:51 +00:00
Pinaki Poddar
4d28f28b20
OPENJPA-825: ExecutorService is not configurable anymore with new threading strategy.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@748308 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 21:17:13 +00:00
Pinaki Poddar
75cf4c522f
OPENJPA-825: A new threading policy for Slice via extension
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@748292 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 20:20:44 +00:00
Pinaki Poddar
8a9595bed4
OPENJPA-900: Consolidate Query Hint related processing. As a byproduct, support new JPA 2.0 getHins() and getSupportedHints().
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@743396 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 16:57:26 +00:00
Pinaki Poddar
ba62ff1aa3
OPENJPA-916: DistributedTemplate not setting MaxRows and QueryTimeOut correctly
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@742740 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 21:19:32 +00:00
Michael Dick
d61b3b26a9
OPENJPA-772 committing patch provided by Donald Woods
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740763 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 15:12:58 +00:00
Pinaki Poddar
43a9847b93
Remove unnecessary imports
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@729331 13f79535-47bb-0310-9956-ffa450edef68
2008-12-24 16:24:53 +00:00
Pinaki Poddar
2759792aea
Timeout multithreaded tests if they hang
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@729134 13f79535-47bb-0310-9956-ffa450edef68
2008-12-23 21:49:49 +00:00
Pinaki Poddar
94efd58dd9
OPENJPA-845: Evaluate ordering value for PCPath to support ORDER BY slice queries that involves ordering terms not included in projection items and hence requires in-memory ordering from multiple slices.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@729084 13f79535-47bb-0310-9956-ffa450edef68
2008-12-23 20:08:39 +00:00
Pinaki Poddar
3f90c7eaa8
Handle version adjustment when replicated instances are flushed to multiple slices. Refactor untyped OpenJPAStateManager collections to save some redundant iteration.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@728807 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 22:11:48 +00:00
Pinaki Poddar
ec531f3b9d
OPENJPA-841: Add structure to hold Slice information. Also ensure that replicated instances carry all replicated slice information even when they are found in a single slice.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@728761 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 20:22:52 +00:00
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