[hibernate-dev] [Search] Dynamic sharding configuration

Emmanuel Bernard emmanuel at hibernate.org
Wed Oct 2 09:34:06 EDT 2013


On Tue 2013-09-24 14:30, Sanne Grinovero wrote:
> On 24 September 2013 14:12, Hardy Ferentschik <hardy at hibernate.org> wrote:
> > 2) remove 'String[] getShardIdentifiers(Class<?> entity, Serializable id, String idInString)' from ShardIdentifierProvider
> 
> +1 we're automatically assuming a deletion needs to be routed to all
> identifiers.

Bad idea as I explained in my previous email. Plus we could already make
use of that if we reuse Hibernate ORM's tenantid value.


More information about the hibernate-dev mailing list