public enum HibernateOrmAutomaticIndexingStrategyName extends Enum<HibernateOrmAutomaticIndexingStrategyName>
| Enum Constant and Description |
|---|
NONE
No automatic indexing is performed:
indexing will only happen when explicitly requested through APIs.
|
SESSION
Indexing is triggered automatically when entities are modified in the Hibernate ORM session:
entity insertion, update etc.
|
| Modifier and Type | Method and Description |
|---|---|
static HibernateOrmAutomaticIndexingStrategyName |
of(String value) |
static HibernateOrmAutomaticIndexingStrategyName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HibernateOrmAutomaticIndexingStrategyName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HibernateOrmAutomaticIndexingStrategyName NONE
public static final HibernateOrmAutomaticIndexingStrategyName SESSION
public static HibernateOrmAutomaticIndexingStrategyName[] values()
for (HibernateOrmAutomaticIndexingStrategyName c : HibernateOrmAutomaticIndexingStrategyName.values()) System.out.println(c);
public static HibernateOrmAutomaticIndexingStrategyName valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static HibernateOrmAutomaticIndexingStrategyName of(String value)
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.