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