Re: [hibernate-dev] Where are the batched fetch statements generated?
by Clemens Eisserer
Hi Guenther,
>>> Is it possible to disable prepared statement caching for batched fetching, so I end up with a single query in the < default_batch_fetch_size case only >>instead of the
>>> fixed-size batch loading hibernate does by default?
> I think the main reason for no feedback so far, is that nobody was able to understand this sentence.
> Usually 'prepared statement caching' is a synonym to 'prepared statement pooling' and is something which has to be provided by a connection-pool (or a jdbc-driver) and thus
> Hibernate does actually not implement any prepared statement cache/pooling.
> Can you please explain what you intend under 'prepared statement caching'?
> Can you also please try to better explain the second part of your sentence?
Sorry for beeing that cryptic, I will try to rephrase it:
When Hibernate does batch-fetching, it generates PreparedStatements
for certain batch sizes - for a batch_size of 50, the prepared
statements for batch-sizes will have the following sizes:
[1,2,3,4,5,6,7,8,9,10,12,25,50]. When e.g. a batch of size 13 should
be fetched, because of the fixed size of the prepared statements, 3
queries are issued for batch-fetching, although 13 <= 50. In this case
the 3 batches would be of the size 13 = 8 + 4 + 1.
In a latency bound (between db and application) environment, this
serverly hampers response time - instead of a single round-trip to do
the batched fetch, Hibernate requires 3.
(subselect can't be used in my case, because my queries are already
rather complex, and the added complexity confuses the DBs query
planner too much)
What I did in this case (only for integer PKs) is to pad up to the
next batch size with a non-existant PK.
So, for the example mentioned above, I can use the PreparedStatement
with size 25, and insert padding from 14-25, which will make the query
slightly more inefficient but avoid 2 additioan round-trips.
- Clemens
12 years, 1 month
Re: [hibernate-dev] Documentation on OGM + JBoss AS
by Scott Marlow
Hi Sanne,
I'm not sure why the module names didn't show for ogm/orm.
I'll try again with the demo app.
Scott
Sent from my tardis
-----Original Message-----
From: Sanne Grinovero [sanne(a)hibernate.org]
Received: Saturday, 10 Nov 2012, 2:56pm
To: Scott Marlow [smarlow(a)redhat.com]
CC: Emmanuel Bernard [emmanuel(a)hibernate.org]; Hibernate Dev [hibernate-dev(a)lists.jboss.org]
Subject: Re: [hibernate-dev] Documentation on OGM + JBoss AS
Hi Scott,
we don't have that error when testing on AS 7.1.1 with the
kitchensink-ogm demo [1] so I'm confident the error is caused by some
difference in the module; indeed I remember it being tricky to put the
right things together: I can't test it on 7.2-SNAPSHOT now.
We definitely don't specify any datasource in the demo configuration,
but a custom module is required.
Side question on the stacktrace you posted: why is the version number
missing in the stack for Hibernate packages? Do we need to add that in
the manifest?
Sanne
1 - latest version at https://github.com/hferentschik/ogm-kitchensink
On 9 November 2012 20:08, Scott Marlow <smarlow(a)redhat.com> wrote:
> On 11/09/2012 11:37 AM, Emmanuel Bernard wrote:
>> On Fri 2012-11-09 11:15, Scott Marlow wrote:
>>> On 10/01/2012 11:12 AM, Emmanuel Bernard wrote:
>>>> On Mon 2012-10-01 10:51, Scott Marlow wrote:
>>>>> I got further yesterday (after removing the
>>>>> ---PlaceHolderDSForOGM--- property from HibernateOgmPersistence).
>>>>> Not sure what the long term change is (perhaps we should only add
>>>>> the ---PlaceHolderDSForOGM--- for the non-container case).
>>>>
>>>> That may have changed but this place holder was mandatory to get OGM
>>>> to start in some environment.
>>>> At least make sure that these change does not break the SE mode.
>>>>
>>>
>>> People are still hitting the "Caused by:
>>> org.hibernate.service.jndi.JndiException: Unable to lookup JNDI name
>>> [---PlaceHolderDSForOGM---]" error.
>>>
>>> Since people are still hitting the ---PlaceHolderDSForOGM--- induced
>>> failure (on AS7), we should create a jira for addressing it. The
>>> fix could be to only add ---PlaceHolderDSForOGM--- when booting in
>>> standalone mode but not container.
>>
>> The placeholder is there because otherwise, some part of Hibernate
>> EntityManager's configuration bootstrap complain.
>>
>> But this value should never be used because Hibernate OGM has an
>> integrator that overrides the ConnectionProviderInitiator with a Noop
>> version.
>> The fact that Sergio's stacktrace shows
>>
>> Caused by: org.hibernate.service.jndi.JndiException: Unable to lookup JNDI name [---PlaceHolderDSForOGM---]
>> at org.hibernate.service.jndi.internal.JndiServiceImpl.locate(JndiServiceImpl.java:68)
>> at org.hibernate.service.jdbc.connections.internal.DatasourceConnectionProviderImpl.configure(DatasourceConnectionProviderImpl.java:116)
>>
>> is proof to me that the OgmIntegrator is not taken into account which
>> means that the file
>> META-INF/services/org.hibernate.integrator.spi.Integrator
>> is not seen by Hibernate ORM when it bootstraps the application which
>> means that Hibernate OGM's classpath is not visible where it should be.
>
> I tried adding the Hibernate OGM module to the ORM module classpath and
> still get the same error (http://pastie.org/5352457).
>
>>
>> That's why I strongly suspects that this is either a JBoss modules bug
>> or some misconfiguration of the ogm modules.
>>
>> We could try and give a better error report, open an issue for that but
>> at the end of the day, something is broken in the ORM-AS integration wrt
>> integrator and service discovery.
>>
>> Emmanuel
>>
>
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev(a)lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
12 years, 1 month
Re: [hibernate-dev] Documentation on OGM + JBoss AS
by Scott Marlow
See below details about OgmIntegrator not overriding ORM
ConnectionProviderInitiator.
On 11/14/2012 11:09 AM, Steve Ebersole wrote:
> Integrator is not working why?
>
>>>>>>>>>>>
>>>>>>>>>>> People are still hitting the "Caused by:
>>>>>>>>>>> org.hibernate.service.jndi.JndiException: Unable to lookup
>>>>>>>>>>> JNDI name
>>>>>>>>>>> [---PlaceHolderDSForOGM---]" error.
>>>>>>>>>>>
>>>>>>>>>>> Since people are still hitting the ---PlaceHolderDSForOGM---
>>>>>>>>>>> induced
>>>>>>>>>>> failure (on AS7), we should create a jira for addressing it.
>>>>>>>>>>> The
>>>>>>>>>>> fix could be to only add ---PlaceHolderDSForOGM--- when
>>>>>>>>>>> booting in
>>>>>>>>>>> standalone mode but not container.
>>>>>>>>>>
>>>>>>>>>> The placeholder is there because otherwise, some part of
>>>>>>>>>> Hibernate
>>>>>>>>>> EntityManager's configuration bootstrap complain.
>>>>>>>>>>
>>>>>>>>>> But this value should never be used because Hibernate OGM has an
>>>>>>>>>> integrator that overrides the ConnectionProviderInitiator with
>>>>>>>>>> a Noop
>>>>>>>>>> version.
>>>>>>>>>> The fact that Sergio's stacktrace shows
>>>>>>>>>>
>>>>>>>>>> Caused by: org.hibernate.service.jndi.JndiException: Unable to
>>>>>>>>>> lookup JNDI name [---PlaceHolderDSForOGM---]
>>>>>>>>>> at
>>>>>>>>>> org.hibernate.service.jndi.internal.JndiServiceImpl.locate(JndiServiceImpl.java:68)
>>>>>>>>>>
>>>>>>>>>> at
>>>>>>>>>> org.hibernate.service.jdbc.connections.internal.DatasourceConnectionProviderImpl.configure(DatasourceConnectionProviderImpl.java:116)
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> is proof to me that the OgmIntegrator is not taken into
>>>>>>>>>> account which
>>>>>>>>>> means that the file
>>>>>>>>>> META-INF/services/org.hibernate.integrator.spi.Integrator
>>>>>>>>>> is not seen by Hibernate ORM when it bootstraps the
>>>>>>>>>> application which
>>>>>>>>>> means that Hibernate OGM's classpath is not visible where it
>>>>>>>>>> should be.
>>>>>>>>>
>>>>>>>>> I tried adding the Hibernate OGM module to the ORM module
>>>>>>>>> classpath and
>>>>>>>>> still get the same error (http://pastie.org/5352457).
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> That's why I strongly suspects that this is either a JBoss
>>>>>>>>>> modules bug
>>>>>>>>>> or some misconfiguration of the ogm modules.
>>>>>>>>>>
>>>>>>>>>> We could try and give a better error report, open an issue for
>>>>>>>>>> that but
>>>>>>>>>> at the end of the day, something is broken in the ORM-AS
>>>>>>>>>> integration wrt
>>>>>>>>>> integrator and service discovery.
>>>>>>>>>>
>>>>>>>>>> Emmanuel
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> hibernate-dev mailing list
>>>>>>>>> hibernate-dev(a)lists.jboss.org
>>>>>>>>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> hibernate-dev mailing list
>>>>> hibernate-dev(a)lists.jboss.org
>>>>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>>>>>
>>>>
>>
>> _______________________________________________
>> hibernate-dev mailing list
>> hibernate-dev(a)lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
12 years, 1 month
Some HQL->SLQ optimizations missing?
by Emmanuel Bernard
At Devoxx some guys are selling a product that compiles some flavor of
OQL into SQL and have optimized the case of deep hierarchies mapped as
table per subclass (AFAIR).
In some case it has quite dramatic effects. They happened to have
miscoded their HQL query by using inner joins instead of left outer
joins in a few critical places but I don't think that accounts for all
optimizations.
They do seem to pay careful attention to the list elements
returned by the select clause and remove unnecessary joins based on
that.
Here is their more dramatic example http://fastoql.com/oql_vs_hql.html
We might be able to find a couple of optimization to reuse.
Emmanuel
12 years, 1 month
AssociationType.isEmbeddedInXML() no longer used
by Gail Badner
I see that AssociationType.isEmbeddedInXML() is no longer used anywhere.
Is this left over from EntityMode.DOM4J?
If so, should I go ahead and remove AssociationType.isEmbeddedInXML() and its implementation from metamodel branch?
Regards,
Gail
12 years, 1 month
Fwd: [hibernate-orm] Hibernate Shards (#407)
by Strong Liu
seems someone is getting interested in the Shards, what's our position?
Begin forwarded message:
> From: Adriano Machado <notifications(a)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(a)noreply.github.com>
> Reply-To: hibernate/hibernate-orm <reply+i-8265522-f028c878ee0a25cbee063e9a37143b4f9b6c8e29-174662(a)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
12 years, 1 month
Wrapping of optimistic exceptions
by Christian Bauer
I've noticed some cases where a native Hibernate exception is not wrapped in a javax.persistence.OptimisticLockException.
EntityVerifyVersionProcess.java throws an org.hibernate.OptimisticLockException that is passed on directly to JPA users.
EntityIncrementVersionProcess.java passes through the org.hibernate.StaleObjectStateException from AbstractEntityPersister#forceVersionIncrement() without wrapping. If wrapping in JPA isn't possible, at least this one should be wrapped in an o.h.OptimisticLockException for consistency sake.
Are JPA users expected to catch all three exceptions when using versioning? Is OptimisticEntityLockException useful?
12 years, 1 month
Envers 5.0 metamodel branch
by Łukasz Antoniak
Hello Community,
Yesterday I have pushed my changes done to apply new metamodel in Envers code:
https://github.com/lukasz-antoniak/hibernate-core/tree/envers-metamodel. It's just a working branch so you can see lots of TODO's
and code commented out. The task of Envers migration is quite complex and I would be very grateful for help. The process that I
have followed was to start in AuditConfiguration#register(MetadataImplementor, IndexView) and rewrite the code line by line. At
the moment I have finished at EntitiesConfigurator and AuditMetadataGenerator. To test my changes, I have used
org.hibernate.envers.test.integration.proxy.QueryingWithProxyObjectTest test case.
@Vyacheslav Sakhno: I remember you wanted to refactor Envers to improve overall design
(https://community.jboss.org/message/764565). Maybe we could gather our strengths, migrate it first and then work on necessary
improvements in 5.0 (metamodel)?
Regards,
Lukasz
12 years, 1 month