public class HibernateCoreIdUniquenessResolver extends Object implements IdUniquenessResolver
Constructor and Description |
---|
HibernateCoreIdUniquenessResolver(Metadata metadata) |
Modifier and Type | Method and Description |
---|---|
boolean |
areIdsUniqueForClasses(Class<?> entityInIndex,
Class<?> otherEntityInIndex)
Returns
true if the same identifier value cannot be share between
two class instances of entityInIndex and otherEntityInIndex . |
public HibernateCoreIdUniquenessResolver(Metadata metadata)
public boolean areIdsUniqueForClasses(Class<?> entityInIndex, Class<?> otherEntityInIndex)
IdUniquenessResolver
true
if the same identifier value cannot be share between
two class instances of entityInIndex
and otherEntityInIndex
.areIdsUniqueForClasses
in interface IdUniquenessResolver
entityInIndex
- one entity classotherEntityInIndex
- the other entity classtrue
if the same identifier value cannot be share between
two class instances of entityInIndex
and otherEntityInIndex
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved