/** * Returns true, if use of secondry index is available, else false. * * @param persistenceUnit * persistence unit name * @return true, if usage is true in pu. else false. */ public static boolean useSecondryIndex(ClientMetadata clientMetadata) { return clientMetadata != null ? clientMetadata.isUseSecondryIndex() : false; }
public boolean useSecondryIndex() { return clientMetadata != null ? clientMetadata.isUseSecondryIndex() : false; }