[hibernate-dev] Fwd: [hibernate-orm] Hibernate Shards (#407)

Hardy Ferentschik hardy at hibernate.org
Sun Nov 11 12:03:44 EST 2012


If someone wants to bring it up to date that's fine with me. No idea how much work it is and it is worth the effort. Does any of us actually have any experience with the code base?

--hardy



On 11 Nov 2012, at 15:51, Strong Liu <stliu at hibernate.org> wrote:

> seems someone is getting interested in the Shards, what's our position?
> 
> Begin forwarded message:
> 
>> From: Adriano Machado <notifications at github.com>
>> Subject: [hibernate-orm] Hibernate Shards (#407)
>> Date: November 11, 2012 4:54:46 AM GMT+08:00
>> To: hibernate/hibernate-orm <hibernate-orm at noreply.github.com>
>> Reply-To: hibernate/hibernate-orm <reply+i-8265522-f028c878ee0a25cbee063e9a37143b4f9b6c8e29-174662 at reply.github.com>
>> 
>> Code from Hibernate Shards 3.0.Beta2 available on sourceforge.net compiled against Hibernate 4.1 branch.
>> 
>> However, the implementation is not complete, but I'd like to ask for some help to finish it.
>> 
>> You can merge this Pull Request by running:
>> 
>> git pull https://github.com/ammachado/hibernate-orm shards
>> Or view, comment on, or merge it at:
>> 
>> https://github.com/hibernate/hibernate-orm/pull/407
>> 
>> Commit Summary
>> 
>> Initial import of hibernate-shard code from sourceforge.net.
>> Migrated all references of commons logging.
>> Fixed ShardedSubcriteriaImpl and ShardedCriteriaImpl compilation prob…
>> Fixed ShardedTransaction compilation problems. ShardsIsolationDelegat…
>> Fixed ShardedQueryImpl compilation problems.
>> Simplified ShardedCriteriaImpl and ShardedSubcriteriaImpl code.
>> Fixed ShardedSessionImpl compilation problems.
>> Solved all compilations problems. Need to review the integration with…
>> Tests are compiling, but several are failing. Time to ask help from t…
>> File Changes
>> 
>> A hibernate-shards/hibernate-shards.gradle (15)
>> A hibernate-shards/src/main/java/org/hibernate/shards/BaseHasShardIdList.java (54)
>> A hibernate-shards/src/main/java/org/hibernate/shards/CrossShardAssociationException.java (74)
>> A hibernate-shards/src/main/java/org/hibernate/shards/HasShardIdList.java (34)
>> A hibernate-shards/src/main/java/org/hibernate/shards/Shard.java (139)
>> A hibernate-shards/src/main/java/org/hibernate/shards/ShardId.java (62)
>> A hibernate-shards/src/main/java/org/hibernate/shards/ShardImpl.java (357)
>> A hibernate-shards/src/main/java/org/hibernate/shards/ShardOperation.java (38)
>> A hibernate-shards/src/main/java/org/hibernate/shards/ShardedConfiguration.java (251)
>> A hibernate-shards/src/main/java/org/hibernate/shards/ShardedTransaction.java (40)
>> A hibernate-shards/src/main/java/org/hibernate/shards/cfg/ConfigurationToShardConfigurationAdapter.java (63)
>> A hibernate-shards/src/main/java/org/hibernate/shards/cfg/ShardConfiguration.java (68)
>> A hibernate-shards/src/main/java/org/hibernate/shards/cfg/ShardedEnvironment.java (47)
>> A hibernate-shards/src/main/java/org/hibernate/shards/criteria/AddCriterionEvent.java (43)
>> A hibernate-shards/src/main/java/org/hibernate/shards/criteria/AddOrderEvent.java (47)
>> A hibernate-shards/src/main/java/org/hibernate/shards/criteria/AggregateProjectionEvent.java (48)
>> A hibernate-shards/src/main/java/org/hibernate/shards/criteria/CountProjectionEvent.java (61)
>> A hibernate-shards/src/main/java/org/hibernate/shards/criteria/CreateAliasEvent.java (129)
>> A hibernate-shards/src/main/java/org/hibernate/shards/criteria/CreateSubcriteriaEvent.java (41)
>> A hibernate-shards/src/main/java/org/hibernate/shards/criteria/CriteriaEvent.java (41)
>> A hibernate-shards/src/main/java/org/hibernate/shards/criteria/CriteriaFactory.java (38)
>> A hibernate-shards/src/main/java/org/hibernate/shards/criteria/CriteriaFactoryImpl.java (134)
>> A hibernate-shards/src/main/java/org/hibernate/shards/criteria/CriteriaId.java (69)
>> A hibernate-shards/src/main/java/org/hibernate/shards/criteria/ExitOperationsCriteriaCollector.java (234)
>> A hibernate-shards/src/main/java/org/hibernate/shards/criteria/GeneralProjectionEvent.java (44)
>> A hibernate-shards/src/main/java/org/hibernate/shards/criteria/SetCacheModeEvent.java (48)
>> A hibernate-shards/src/main/java/org/hibernate/shards/criteria/SetCacheRegionEvent.java (47)
>> A hibernate-shards/src/main/java/org/hibernate/shards/criteria/SetCacheableEvent.java (48)
>> A hibernate-shards/src/main/java/org/hibernate/shards/criteria/SetCommentEvent.java (47)
>> A hibernate-shards/src/main/java/org/hibernate/shards/criteria/SetFetchModeEvent.java (53)
>> A hibernate-shards/src/main/java/org/hibernate/shards/criteria/SetFetchSizeEvent.java (47)
>> A hibernate-shards/src/main/java/org/hibernate/shards/criteria/SetFirstResultEvent.java (47)
>> A hibernate-shards/src/main/java/org/hibernate/shards/criteria/SetFlushModeEvent.java (48)
>> A hibernate-shards/src/main/java/org/hibernate/shards/criteria/SetLockModeEvent.java (98)
>> A hibernate-shards/src/main/java/org/hibernate/shards/criteria/SetMaxResultsEvent.java (47)
>> A hibernate-shards/src/main/java/org/hibernate/shards/criteria/SetProjectionEvent.java (49)
>> A hibernate-shards/src/main/java/org/hibernate/shards/criteria/SetResultTransformerEvent.java (48)
>> A hibernate-shards/src/main/java/org/hibernate/shards/criteria/SetTimeoutEvent.java (47)
>> A hibernate-shards/src/main/java/org/hibernate/shards/criteria/ShardedCriteria.java (41)
>> A hibernate-shards/src/main/java/org/hibernate/shards/criteria/ShardedCriteriaImpl.java (486)
>> A hibernate-shards/src/main/java/org/hibernate/shards/criteria/ShardedSubcriteria.java (39)
>> A hibernate-shards/src/main/java/org/hibernate/shards/criteria/ShardedSubcriteriaImpl.java (407)
>> A hibernate-shards/src/main/java/org/hibernate/shards/criteria/SubcriteriaFactory.java (39)
>> A hibernate-shards/src/main/java/org/hibernate/shards/criteria/SubcriteriaFactoryImpl.java (171)
>> A hibernate-shards/src/main/java/org/hibernate/shards/engine/ShardedSessionBuilder.java (93)
>> A hibernate-shards/src/main/java/org/hibernate/shards/engine/ShardedSessionFactoryImplementor.java (38)
>> A hibernate-shards/src/main/java/org/hibernate/shards/engine/ShardedSessionImplementor.java (45)
>> A hibernate-shards/src/main/java/org/hibernate/shards/engine/internal/ShardedTransactionFactory.java (40)
>> A hibernate-shards/src/main/java/org/hibernate/shards/engine/internal/ShardedTransactionImpl.java (268)
>> A hibernate-shards/src/main/java/org/hibernate/shards/engine/internal/ShardsIsolationDelegate.java (29)
>> A hibernate-shards/src/main/java/org/hibernate/shards/event/ShardsIntegrator.java (96)
>> A hibernate-shards/src/main/java/org/hibernate/shards/id/GeneratorRequiringControlSessionProvider.java (30)
>> A hibernate-shards/src/main/java/org/hibernate/shards/id/ShardEncodingIdentifierGenerator.java (32)
>> A hibernate-shards/src/main/java/org/hibernate/shards/id/ShardedTableHiLoGenerator.java (62)
>> A hibernate-shards/src/main/java/org/hibernate/shards/id/ShardedUUIDGenerator.java (97)
>> A hibernate-shards/src/main/java/org/hibernate/shards/internal/ShardsMessageLogger.java (122)
>> A hibernate-shards/src/main/java/org/hibernate/shards/loadbalance/BaseShardLoadBalancer.java (49)
>> A hibernate-shards/src/main/java/org/hibernate/shards/loadbalance/RandomShardLoadBalancer.java (49)
>> A hibernate-shards/src/main/java/org/hibernate/shards/loadbalance/RoundRobinShardLoadBalancer.java (50)
>> A hibernate-shards/src/main/java/org/hibernate/shards/loadbalance/ShardLoadBalancer.java (35)
>> A hibernate-shards/src/main/java/org/hibernate/shards/package-info.java (46)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/AdHocQueryFactoryImpl.java (45)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/ExitOperationsQueryCollector.java (73)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/NamedQueryFactoryImpl.java (47)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/QueryEvent.java (42)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/QueryFactory.java (33)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/QueryId.java (57)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/QueryResult.java (56)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/SetBigDecimalEvent.java (70)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/SetBigIntegerEvent.java (69)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/SetBinaryEvent.java (68)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/SetBooleanEvent.java (68)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/SetByteEvent.java (68)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/SetCacheModeEvent.java (39)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/SetCacheRegionEvent.java (37)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/SetCacheableEvent.java (37)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/SetCalendarDateEvent.java (70)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/SetCalendarEvent.java (70)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/SetCharacterEvent.java (67)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/SetCommentEvent.java (37)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/SetDateEvent.java (69)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/SetDoubleEvent.java (68)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/SetEntityEvent.java (69)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/SetFetchSizeEvent.java (37)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/SetFirstResultEvent.java (37)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/SetFloatEvent.java (68)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/SetFlushModeEvent.java (39)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/SetIntegerEvent.java (68)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/SetLocaleEvent.java (70)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/SetLockModeEvent.java (41)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/SetLockOptionsEvent.java (21)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/SetLongEvent.java (68)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/SetMaxResultsEvent.java (37)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/SetParameterEvent.java (88)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/SetParameterListEvent.java (90)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/SetParametersEvent.java (41)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/SetPropertiesEvent.java (67)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/SetReadOnlyEvent.java (37)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/SetResultTransformerEvent.java (39)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/SetSerializableEvent.java (70)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/SetShortEvent.java (68)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/SetStringEvent.java (68)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/SetTextEvent.java (67)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/SetTimeEvent.java (70)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/SetTimeoutEvent.java (37)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/SetTimestampEvent.java (70)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/ShardedQuery.java (37)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/ShardedQueryImpl.java (641)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/ShardedSQLQuery.java (27)
>> A hibernate-shards/src/main/java/org/hibernate/shards/query/ShardedSQLQueryImpl.java (112)
>> A hibernate-shards/src/main/java/org/hibernate/shards/session/BaseStatefulInterceptorFactory.java (27)
>> A hibernate-shards/src/main/java/org/hibernate/shards/session/ControlSessionProvider.java (38)
>> A hibernate-shards/src/main/java/org/hibernate/shards/session/CrossShardRelationshipDetectingInterceptor.java (177)
>> A hibernate-shards/src/main/java/org/hibernate/shards/session/CrossShardRelationshipDetectingInterceptorDecorator.java (75)
>> A hibernate-shards/src/main/java/org/hibernate/shards/session/DisableFilterOpenSessionEvent.java (39)
>> A hibernate-shards/src/main/java/org/hibernate/shards/session/EnableFilterOpenSessionEvent.java (39)
>> A hibernate-shards/src/main/java/org/hibernate/shards/session/OpenSessionEvent.java (41)
>> A hibernate-shards/src/main/java/org/hibernate/shards/session/RequiresSession.java (33)
>> A hibernate-shards/src/main/java/org/hibernate/shards/session/SetCacheModeOpenSessionEvent.java (40)
>> A hibernate-shards/src/main/java/org/hibernate/shards/session/SetFlushModeOpenSessionEvent.java (40)
>> A hibernate-shards/src/main/java/org/hibernate/shards/session/SetReadOnlyOpenSessionEvent.java (42)
>> A hibernate-shards/src/main/java/org/hibernate/shards/session/SetSessionOnRequiresSessionEvent.java (40)
>> A hibernate-shards/src/main/java/org/hibernate/shards/session/SetupTransactionOpenSessionEvent.java (41)
>> A hibernate-shards/src/main/java/org/hibernate/shards/session/ShardIdResolver.java (50)
>> A hibernate-shards/src/main/java/org/hibernate/shards/session/ShardedSession.java (62)
>> A hibernate-shards/src/main/java/org/hibernate/shards/session/ShardedSessionException.java (42)
>> A hibernate-shards/src/main/java/org/hibernate/shards/session/ShardedSessionFactory.java (76)
>> A hibernate-shards/src/main/java/org/hibernate/shards/session/ShardedSessionFactoryImpl.java (837)
>> A hibernate-shards/src/main/java/org/hibernate/shards/session/ShardedSessionImpl.java (1840)
>> A hibernate-shards/src/main/java/org/hibernate/shards/session/StatefulInterceptorFactory.java (37)
>> A hibernate-shards/src/main/java/org/hibernate/shards/session/SubsetShardedSessionFactoryImpl.java (73)
>> A hibernate-shards/src/main/java/org/hibernate/shards/stat/ShardedSessionStatistics.java (93)
>> A hibernate-shards/src/main/java/org/hibernate/shards/strategy/ShardStrategy.java (35)
>> A hibernate-shards/src/main/java/org/hibernate/shards/strategy/ShardStrategyFactory.java (30)
>> A hibernate-shards/src/main/java/org/hibernate/shards/strategy/ShardStrategyImpl.java (58)
>> A hibernate-shards/src/main/java/org/hibernate/shards/strategy/access/LoadBalancedSequentialShardAccessStrategy.java (54)
>> A hibernate-shards/src/main/java/org/hibernate/shards/strategy/access/ParallelShardAccessStrategy.java (108)
>> A hibernate-shards/src/main/java/org/hibernate/shards/strategy/access/ParallelShardOperationCallable.java (131)
>> A hibernate-shards/src/main/java/org/hibernate/shards/strategy/access/SequentialShardAccessStrategy.java (59)
>> A hibernate-shards/src/main/java/org/hibernate/shards/strategy/access/ShardAccessStrategy.java (30)
>> A hibernate-shards/src/main/java/org/hibernate/shards/strategy/access/StartAwareFutureTask.java (109)
>> A hibernate-shards/src/main/java/org/hibernate/shards/strategy/exit/AggregateExitOperation.java (137)
>> A hibernate-shards/src/main/java/org/hibernate/shards/strategy/exit/AvgResultsExitOperation.java (97)
>> A hibernate-shards/src/main/java/org/hibernate/shards/strategy/exit/ConcatenateListsExitStrategy.java (43)
>> A hibernate-shards/src/main/java/org/hibernate/shards/strategy/exit/CountExitOperation.java (59)
>> A hibernate-shards/src/main/java/org/hibernate/shards/strategy/exit/DistinctExitOperation.java (49)
>> A hibernate-shards/src/main/java/org/hibernate/shards/strategy/exit/ExitOperation.java (30)
>> A hibernate-shards/src/main/java/org/hibernate/shards/strategy/exit/ExitOperationUtils.java (95)
>> A hibernate-shards/src/main/java/org/hibernate/shards/strategy/exit/ExitOperationsCollector.java (41)
>> A hibernate-shards/src/main/java/org/hibernate/shards/strategy/exit/ExitStrategy.java (42)
>> A hibernate-shards/src/main/java/org/hibernate/shards/strategy/exit/FirstNonNullResultExitStrategy.java (56)
>> A hibernate-shards/src/main/java/org/hibernate/shards/strategy/exit/FirstResultExitOperation.java (42)
>> A hibernate-shards/src/main/java/org/hibernate/shards/strategy/exit/MaxResultsExitOperation.java (38)
>> A hibernate-shards/src/main/java/org/hibernate/shards/strategy/exit/OrderExitOperation.java (76)
>> A hibernate-shards/src/main/java/org/hibernate/shards/strategy/exit/ProjectionExitOperation.java (28)
>> A hibernate-shards/src/main/java/org/hibernate/shards/strategy/exit/ProjectionExitOperationFactory.java (67)
>> A hibernate-shards/src/main/java/org/hibernate/shards/strategy/exit/PropertyProjectionExitOperation.java (63)
>> A hibernate-shards/src/main/java/org/hibernate/shards/strategy/exit/PropertyProjectionOrderExitOperation.java (112)
>> A hibernate-shards/src/main/java/org/hibernate/shards/strategy/exit/RowCountExitOperation.java (42)
>> A hibernate-shards/src/main/java/org/hibernate/shards/strategy/exit/ShardedAvgExitOperation.java (54)
>> A hibernate-shards/src/main/java/org/hibernate/shards/strategy/resolution/AllShardsShardResolutionStrategy.java (39)
>> A hibernate-shards/src/main/java/org/hibernate/shards/strategy/resolution/BaseShardResolutionStrategy.java (34)
>> A hibernate-shards/src/main/java/org/hibernate/shards/strategy/resolution/ShardResolutionStrategy.java (38)
>> A hibernate-shards/src/main/java/org/hibernate/shards/strategy/selection/BaseShardSelectionStrategy.java (34)
>> A hibernate-shards/src/main/java/org/hibernate/shards/strategy/selection/LoadBalancedShardSelectionStrategy.java (42)
>> A hibernate-shards/src/main/java/org/hibernate/shards/strategy/selection/RoundRobinShardSelectionStrategy.java (38)
>> A hibernate-shards/src/main/java/org/hibernate/shards/strategy/selection/ShardResolutionStrategyData.java (33)
>> A hibernate-shards/src/main/java/org/hibernate/shards/strategy/selection/ShardResolutionStrategyDataImpl.java (58)
>> A hibernate-shards/src/main/java/org/hibernate/shards/strategy/selection/ShardSelectionStrategy.java (35)
>> A hibernate-shards/src/main/java/org/hibernate/shards/util/InterceptorDecorator.java (132)
>> A hibernate-shards/src/main/java/org/hibernate/shards/util/Iterables.java (118)
>> A hibernate-shards/src/main/java/org/hibernate/shards/util/Lists.java (80)
>> A hibernate-shards/src/main/java/org/hibernate/shards/util/Maps.java (49)
>> A hibernate-shards/src/main/java/org/hibernate/shards/util/Pair.java (61)
>> A hibernate-shards/src/main/java/org/hibernate/shards/util/Preconditions.java (59)
>> A hibernate-shards/src/main/java/org/hibernate/shards/util/Sets.java (62)
>> A hibernate-shards/src/main/java/org/hibernate/shards/util/StringUtil.java (73)
>> A hibernate-shards/src/main/resources/META-INF/services/org.hibernate.integrator.spi.Integrator (1)
>> A hibernate-shards/src/test/java/org/hibernate/shards/BaseHasShardIdListTest.java (68)
>> A hibernate-shards/src/test/java/org/hibernate/shards/InstanceShardStrategyImplTest.java (85)
>> A hibernate-shards/src/test/java/org/hibernate/shards/ShardImplTest.java (537)
>> A hibernate-shards/src/test/java/org/hibernate/shards/ShardedConfigurationTest.java (180)
>> A hibernate-shards/src/test/java/org/hibernate/shards/criteria/AddCriterionEventTest.java (46)
>> A hibernate-shards/src/test/java/org/hibernate/shards/criteria/AddOrderEventTest.java (47)
>> A hibernate-shards/src/test/java/org/hibernate/shards/criteria/CreateAliasEventTest.java (63)
>> A hibernate-shards/src/test/java/org/hibernate/shards/criteria/CreateSubcriteriaEventTest.java (53)
>> A hibernate-shards/src/test/java/org/hibernate/shards/criteria/CriteriaFactoryDefaultMock.java (32)
>> A hibernate-shards/src/test/java/org/hibernate/shards/criteria/CriteriaFactoryImplTest.java (97)
>> A hibernate-shards/src/test/java/org/hibernate/shards/criteria/SetCacheModeEventTest.java (46)
>> A hibernate-shards/src/test/java/org/hibernate/shards/criteria/SetCacheRegionEventTest.java (45)
>> A hibernate-shards/src/test/java/org/hibernate/shards/criteria/SetCacheableEventTest.java (45)
>> A hibernate-shards/src/test/java/org/hibernate/shards/criteria/SetCommentEventTest.java (45)
>> A hibernate-shards/src/test/java/org/hibernate/shards/criteria/SetFetchModeEventTest.java (48)
>> A hibernate-shards/src/test/java/org/hibernate/shards/criteria/SetFetchSizeEventTest.java (45)
>> A hibernate-shards/src/test/java/org/hibernate/shards/criteria/SetFirstResultEventTest.java (45)
>> A hibernate-shards/src/test/java/org/hibernate/shards/criteria/SetFlushModeEventTest.java (46)
>> A hibernate-shards/src/test/java/org/hibernate/shards/criteria/SetLockModeEventTest.java (61)
>> A hibernate-shards/src/test/java/org/hibernate/shards/criteria/SetMaxResultsEventTest.java (45)
>> A hibernate-shards/src/test/java/org/hibernate/shards/criteria/SetProjectionEventTest.java (47)
>> A hibernate-shards/src/test/java/org/hibernate/shards/criteria/SetResultTransformerEventTest.java (46)
>> A hibernate-shards/src/test/java/org/hibernate/shards/criteria/SetTimeoutEventTest.java (45)
>> A hibernate-shards/src/test/java/org/hibernate/shards/criteria/ShardedSubcriteriaImplTest.java (154)
>> A hibernate-shards/src/test/java/org/hibernate/shards/criteria/SubcriteriaFactoryImplTest.java (139)
>> A hibernate-shards/src/test/java/org/hibernate/shards/defaultmock/ClassMetadataDefaultMock.java (180)
>> A hibernate-shards/src/test/java/org/hibernate/shards/defaultmock/CriteriaDefaultMock.java (231)
>> A hibernate-shards/src/test/java/org/hibernate/shards/defaultmock/CriteriaEventDefaultMock.java (32)
>> A hibernate-shards/src/test/java/org/hibernate/shards/defaultmock/EntityPersisterDefaultMock.java (542)
>> A hibernate-shards/src/test/java/org/hibernate/shards/defaultmock/InterceptorDefaultMock.java (117)
>> A hibernate-shards/src/test/java/org/hibernate/shards/defaultmock/QueryDefaultMock.java (432)
>> A hibernate-shards/src/test/java/org/hibernate/shards/defaultmock/SessionDefaultMock.java (475)
>> A hibernate-shards/src/test/java/org/hibernate/shards/defaultmock/SessionFactoryDefaultMock.java (440)
>> A hibernate-shards/src/test/java/org/hibernate/shards/defaultmock/SessionImplementorDefaultMock.java (732)
>> A hibernate-shards/src/test/java/org/hibernate/shards/defaultmock/ShardConfigurationDefaultMock.java (55)
>> A hibernate-shards/src/test/java/org/hibernate/shards/defaultmock/ShardDefaultMock.java (123)
>> A hibernate-shards/src/test/java/org/hibernate/shards/defaultmock/ShardOperationDefaultMock.java (36)
>> A hibernate-shards/src/test/java/org/hibernate/shards/defaultmock/ShardedCriteriaDefaultMock.java (244)
>> A hibernate-shards/src/test/java/org/hibernate/shards/defaultmock/ShardedSessionFactoryDefaultMock.java (70)
>> A hibernate-shards/src/test/java/org/hibernate/shards/defaultmock/ShardedTransactionDefaultMock.java (134)
>> A hibernate-shards/src/test/java/org/hibernate/shards/defaultmock/SubcriteriaFactoryDefaultMock.java (34)
>> A hibernate-shards/src/test/java/org/hibernate/shards/defaultmock/TypeDefaultMock.java (241)
>> A hibernate-shards/src/test/java/org/hibernate/shards/engine/ShardedSessionImplementorDefaultMock.java (35)
>> A hibernate-shards/src/test/java/org/hibernate/shards/example/WeatherReport.java (105)
>> A hibernate-shards/src/test/java/org/hibernate/shards/example/WeatherReportApp.java (160)
>> A hibernate-shards/src/test/java/org/hibernate/shards/id/ShardedTableHiLoGeneratorTest.java (208)
>> A hibernate-shards/src/test/java/org/hibernate/shards/id/ShardedUUIDGeneratorTest.java (60)
>> A hibernate-shards/src/test/java/org/hibernate/shards/id/UUIDBigIntGenerator.java (42)
>> A hibernate-shards/src/test/java/org/hibernate/shards/integration/BaseShardingIntegrationTestCase.java (332)
>> A hibernate-shards/src/test/java/org/hibernate/shards/integration/BaseShardingIntegrationTestCasePermutedIntegrationTest.java (41)
>> A hibernate-shards/src/test/java/org/hibernate/shards/integration/ConfigPermutedIntegrationTest.java (34)
>> A hibernate-shards/src/test/java/org/hibernate/shards/integration/DbAccessPermutedIntegrationTest.java (80)
>> A hibernate-shards/src/test/java/org/hibernate/shards/integration/HasPermutation.java (26)
>> A hibernate-shards/src/test/java/org/hibernate/shards/integration/IdGenType.java (44)
>> A hibernate-shards/src/test/java/org/hibernate/shards/integration/MemoryLeakPlugger.java (130)
>> A hibernate-shards/src/test/java/org/hibernate/shards/integration/Permutation.java (113)
>> A hibernate-shards/src/test/java/org/hibernate/shards/integration/PermutedIntegrationTests.java (127)
>> A hibernate-shards/src/test/java/org/hibernate/shards/integration/ShardAccessStrategyType.java (26)
>> A hibernate-shards/src/test/java/org/hibernate/shards/integration/id/IdGeneratorPermutedIntegrationTest.java (67)
>> A hibernate-shards/src/test/java/org/hibernate/shards/integration/model/InterceptorBehaviorPermutedIntegrationTest.java (157)
>> A hibernate-shards/src/test/java/org/hibernate/shards/integration/model/MemoryLeakTest.java (144)
>> A hibernate-shards/src/test/java/org/hibernate/shards/integration/model/ModelCriteriaPermutedIntegrationTest.java (305)
>> A hibernate-shards/src/test/java/org/hibernate/shards/integration/model/ModelDataFactory.java (126)
>> A hibernate-shards/src/test/java/org/hibernate/shards/integration/model/ModelIntegrationTest.java (72)
>> A hibernate-shards/src/test/java/org/hibernate/shards/integration/model/ModelPermutedIntegrationTest.java (1152)
>> A hibernate-shards/src/test/java/org/hibernate/shards/integration/model/ModelQueryPermutedIntegrationTest.java (219)
>> A hibernate-shards/src/test/java/org/hibernate/shards/integration/package-info.java (19)
>> A hibernate-shards/src/test/java/org/hibernate/shards/integration/platform/BaseDatabasePlatform.java (36)
>> A hibernate-shards/src/test/java/org/hibernate/shards/integration/platform/DatabasePlatform.java (33)
>> A hibernate-shards/src/test/java/org/hibernate/shards/integration/platform/DatabasePlatformFactory.java (52)
>> A hibernate-shards/src/test/java/org/hibernate/shards/integration/platform/hsql/HSQLDatabasePlatform.java (100)
>> A hibernate-shards/src/test/java/org/hibernate/shards/integration/platform/mysql/MySQLDatabasePlatform.java (102)
>> A hibernate-shards/src/test/java/org/hibernate/shards/loadbalance/RoundRobinShardLoadBalancerTest.java (41)
>> A hibernate-shards/src/test/java/org/hibernate/shards/loadbalance/ShardLoadBalancerDefaultMock.java (37)
>> A hibernate-shards/src/test/java/org/hibernate/shards/model/Building.java (100)
>> A hibernate-shards/src/test/java/org/hibernate/shards/model/Elevator.java (82)
>> A hibernate-shards/src/test/java/org/hibernate/shards/model/Escalator.java (79)
>> A hibernate-shards/src/test/java/org/hibernate/shards/model/Floor.java (137)
>> A hibernate-shards/src/test/java/org/hibernate/shards/model/IdIsBaseType.java (45)
>> A hibernate-shards/src/test/java/org/hibernate/shards/model/Office.java (95)
>> A hibernate-shards/src/test/java/org/hibernate/shards/model/Person.java (88)
>> A hibernate-shards/src/test/java/org/hibernate/shards/model/Tenant.java (89)
>> A hibernate-shards/src/test/java/org/hibernate/shards/model/Window.java (65)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/QueryEventDefaultMock.java (31)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/QueryFactoryDefaultMock.java (39)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/SetBigDecimalEventTest.java (62)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/SetBigIntegerEventTest.java (62)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/SetBinaryEventTest.java (60)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/SetBooleanEventTest.java (60)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/SetByteEventTest.java (60)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/SetCacheModeEventTest.java (47)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/SetCacheRegionEventTest.java (45)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/SetCacheableEventTest.java (45)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/SetCalendarDateEventTest.java (63)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/SetCalendarEventTest.java (62)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/SetCharacterEventTest.java (60)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/SetCommentEventTest.java (45)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/SetDateEventTest.java (62)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/SetDoubleEventTest.java (60)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/SetEntityEventTest.java (61)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/SetFetchSizeEventTest.java (45)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/SetFirstResultEventTest.java (45)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/SetFloatEventTest.java (60)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/SetFlushModeEventTest.java (46)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/SetIntegerEventTest.java (60)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/SetLocaleEventTest.java (62)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/SetLockModeEventTest.java (46)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/SetLongEventTest.java (60)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/SetMaxResultsEventTest.java (45)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/SetParameterEventTest.java (92)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/SetParameterListEventTest.java (95)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/SetParametersEventTest.java (46)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/SetPropertiesEventTest.java (63)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/SetReadOnlyEventTest.java (45)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/SetResultTransformerEventTest.java (46)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/SetSerializableEventTest.java (62)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/SetShortEventTest.java (60)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/SetStringEventTest.java (60)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/SetTextEventTest.java (60)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/SetTimeEventTest.java (62)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/SetTimeoutEventTest.java (45)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/SetTimestampEventTest.java (62)
>> A hibernate-shards/src/test/java/org/hibernate/shards/query/ShardedQueryDefaultMock.java (442)
>> A hibernate-shards/src/test/java/org/hibernate/shards/session/CrossShardRelationshipDetectingInterceptorDecoratorTest.java (96)
>> A hibernate-shards/src/test/java/org/hibernate/shards/session/CrossShardRelationshipDetectingInterceptorTest.java (86)
>> A hibernate-shards/src/test/java/org/hibernate/shards/session/DisableFilterOpenSessionEventTest.java (45)
>> A hibernate-shards/src/test/java/org/hibernate/shards/session/EnableFilterOpenSessionEventTest.java (47)
>> A hibernate-shards/src/test/java/org/hibernate/shards/session/OpenSessionEventDefaultMock.java (31)
>> A hibernate-shards/src/test/java/org/hibernate/shards/session/SetCacheModeOpenSessionEventTest.java (45)
>> A hibernate-shards/src/test/java/org/hibernate/shards/session/SetFlushModeOpenSessionEventTest.java (45)
>> A hibernate-shards/src/test/java/org/hibernate/shards/session/SetReadOnlyOpenSessionEventTest.java (44)
>> A hibernate-shards/src/test/java/org/hibernate/shards/session/SetSessionOnRequiresSessionEventTest.java (46)
>> A hibernate-shards/src/test/java/org/hibernate/shards/session/ShardIdResolverDefaultMock.java (38)
>> A hibernate-shards/src/test/java/org/hibernate/shards/session/ShardedSessionFactoryImplTest.java (395)
>> A hibernate-shards/src/test/java/org/hibernate/shards/session/ShardedSessionImplTest.java (708)
>> A hibernate-shards/src/test/java/org/hibernate/shards/strategy/ShardStrategyDefaultMock.java (41)
>> A hibernate-shards/src/test/java/org/hibernate/shards/strategy/ShardStrategyFactoryDefaultMock.java (33)
>> A hibernate-shards/src/test/java/org/hibernate/shards/strategy/access/ParallelShardAccessStrategyTest.java (38)
>> A hibernate-shards/src/test/java/org/hibernate/shards/strategy/access/ParallelShardOperationCallableTest.java (128)
>> A hibernate-shards/src/test/java/org/hibernate/shards/strategy/access/ShardAccessStrategyDefaultMock.java (37)
>> A hibernate-shards/src/test/java/org/hibernate/shards/strategy/access/StartAwareFutureTaskTest.java (148)
>> A hibernate-shards/src/test/java/org/hibernate/shards/strategy/exit/AggregateExitOperationTest.java (166)
>> A hibernate-shards/src/test/java/org/hibernate/shards/strategy/exit/AvgResultsExitOperationTest.java (106)
>> A hibernate-shards/src/test/java/org/hibernate/shards/strategy/exit/ExitOperationUtilsTest.java (65)
>> A hibernate-shards/src/test/java/org/hibernate/shards/strategy/exit/ExitStrategyDefaultMock.java (35)
>> A hibernate-shards/src/test/java/org/hibernate/shards/strategy/exit/FirstNonNullResultExitStrategyTest.java (61)
>> A hibernate-shards/src/test/java/org/hibernate/shards/strategy/exit/FirstResultExitOperationTest.java (89)
>> A hibernate-shards/src/test/java/org/hibernate/shards/strategy/exit/MaxResultExitOperationTest.java (59)
>> A hibernate-shards/src/test/java/org/hibernate/shards/strategy/exit/OrderExitOperationTest.java (172)
>> A hibernate-shards/src/test/java/org/hibernate/shards/strategy/exit/ProjectionExitOperationFactoryTest.java (88)
>> A hibernate-shards/src/test/java/org/hibernate/shards/strategy/exit/RowCountExitOperationTest.java (45)
>> A hibernate-shards/src/test/java/org/hibernate/shards/strategy/resolution/ShardResolutionStrategyDataDefaultMock.java (37)
>> A hibernate-shards/src/test/java/org/hibernate/shards/strategy/resolution/ShardResolutionStrategyDefaultMock.java (35)
>> A hibernate-shards/src/test/java/org/hibernate/shards/strategy/selection/LoadBalancedShardSelectionStrategyTest.java (44)
>> A hibernate-shards/src/test/java/org/hibernate/shards/strategy/selection/ShardSelectionStrategyDefaultMock.java (31)
>> A hibernate-shards/src/test/java/org/hibernate/shards/transaction/ShardedTransactionImplTest.java (286)
>> A hibernate-shards/src/test/java/org/hibernate/shards/util/DatabaseUtils.java (71)
>> A hibernate-shards/src/test/java/org/hibernate/shards/util/JdbcStrategy.java (26)
>> A hibernate-shards/src/test/java/org/hibernate/shards/util/JdbcUtil.java (134)
>> A hibernate-shards/src/test/resources/org/hibernate/shards/example/hibernate0.cfg.xml (16)
>> A hibernate-shards/src/test/resources/org/hibernate/shards/example/hibernate1.cfg.xml (16)
>> A hibernate-shards/src/test/resources/org/hibernate/shards/example/hibernate2.cfg.xml (16)
>> A hibernate-shards/src/test/resources/org/hibernate/shards/example/weather.hbm.xml (14)
>> A hibernate-shards/src/test/resources/org/hibernate/shards/integration/platform/hsql/config/mappings-shardedTableHiLo.hbm.xml (129)
>> A hibernate-shards/src/test/resources/org/hibernate/shards/integration/platform/hsql/config/mappings-shardedUUID.hbm.xml (129)
>> A hibernate-shards/src/test/resources/org/hibernate/shards/integration/platform/hsql/config/mappings.hbm.xml (136)
>> A hibernate-shards/src/test/resources/org/hibernate/shards/integration/platform/hsql/config/shard0.hibernate.cfg.xml (34)
>> A hibernate-shards/src/test/resources/org/hibernate/shards/integration/platform/hsql/config/shard1.hibernate.cfg.xml (34)
>> A hibernate-shards/src/test/resources/org/hibernate/shards/integration/platform/hsql/config/shard2.hibernate.cfg.xml (34)
>> A hibernate-shards/src/test/resources/org/hibernate/shards/integration/platform/mysql/config/mappings-shardedTableHiLo.hbm.xml (129)
>> A hibernate-shards/src/test/resources/org/hibernate/shards/integration/platform/mysql/config/mappings-shardedUUID.hbm.xml (128)
>> A hibernate-shards/src/test/resources/org/hibernate/shards/integration/platform/mysql/config/mappings.hbm.xml (128)
>> A hibernate-shards/src/test/resources/org/hibernate/shards/integration/platform/mysql/config/shard0.hibernate.cfg.xml (34)
>> A hibernate-shards/src/test/resources/org/hibernate/shards/integration/platform/mysql/config/shard1.hibernate.cfg.xml (34)
>> A hibernate-shards/src/test/resources/org/hibernate/shards/integration/platform/mysql/config/shard2.hibernate.cfg.xml (34)
>> M libraries.gradle (2)
>> M settings.gradle (1)
>> Patch Links
>> 
>> https://github.com/hibernate/hibernate-orm/pull/407.patch
>> https://github.com/hibernate/hibernate-orm/pull/407.diff
>>>> Reply to this email directly or view it on GitHub.
>> 
>> 
> 
> -------------------------
> Best Regards,
> 
> Strong Liu <stliu at hibernate.org>
> http://about.me/stliu/bio
> 
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev




More information about the hibernate-dev mailing list