Commit Graph

54 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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