public enum Provider extends Enum<Provider>
Enum Constant and Description |
---|
ECLIPSELINK |
HIBERNATE |
OPENJPA |
UNKNOWN |
Modifier and Type | Field and Description |
---|---|
static String |
QUERY_HINT_ECLIPSELINK_MAINTAIN_CACHE |
static String |
QUERY_HINT_ECLIPSELINK_REFRESH |
static String |
QUERY_HINT_HIBERNATE_CACHE_REGION |
static String |
QUERY_HINT_HIBERNATE_CACHEABLE |
Modifier and Type | Method and Description |
---|---|
<I extends Comparable<I> & Serializable,E extends BaseEntity<I>> |
dereferenceProxy(E entity) |
String |
getDialectName(EntityManagerFactory entityManagerFactory) |
<I extends Comparable<I> & Serializable,E extends BaseEntity<I>> |
getEntityType(E entity) |
<I extends Comparable<I> & Serializable,E extends BaseEntity<I>> |
getIdentifier(E entity) |
<I extends Comparable<I> & Serializable,E extends BaseEntity<I>> |
getTableName(E entity) |
static boolean |
is(Provider provider) |
boolean |
isAggregation(Expression<?> expression) |
boolean |
isElementCollection(Attribute<?,?> attribute) |
boolean |
isManyOrOneToOne(Attribute<?,?> attribute) |
boolean |
isOneToMany(Attribute<?,?> attribute) |
<I extends Comparable<I> & Serializable,E extends BaseEntity<I>> |
isProxy(E entity) |
<I extends Comparable<I> & Serializable,E extends BaseEntity<I>> |
isProxyUninitialized(E entity) |
static Provider |
of(EntityManager entityManager) |
static Provider |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Provider[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Provider HIBERNATE
public static final Provider ECLIPSELINK
public static final Provider OPENJPA
public static final Provider UNKNOWN
public static final String QUERY_HINT_HIBERNATE_CACHEABLE
public static final String QUERY_HINT_HIBERNATE_CACHE_REGION
public static final String QUERY_HINT_ECLIPSELINK_MAINTAIN_CACHE
public static final String QUERY_HINT_ECLIPSELINK_REFRESH
public static Provider[] values()
for (Provider c : Provider.values()) System.out.println(c);
public static Provider 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 Provider of(EntityManager entityManager)
public static boolean is(Provider provider)
public String getDialectName(EntityManagerFactory entityManagerFactory)
public boolean isAggregation(Expression<?> expression)
public boolean isElementCollection(Attribute<?,?> attribute)
public boolean isOneToMany(Attribute<?,?> attribute)
public boolean isManyOrOneToOne(Attribute<?,?> attribute)
public <I extends Comparable<I> & Serializable,E extends BaseEntity<I>> boolean isProxy(E entity)
public <I extends Comparable<I> & Serializable,E extends BaseEntity<I>> boolean isProxyUninitialized(E entity)
public <I extends Comparable<I> & Serializable,E extends BaseEntity<I>> E dereferenceProxy(E entity)
public <I extends Comparable<I> & Serializable,E extends BaseEntity<I>> Class<E> getEntityType(E entity)
public <I extends Comparable<I> & Serializable,E extends BaseEntity<I>> I getIdentifier(E entity)
public <I extends Comparable<I> & Serializable,E extends BaseEntity<I>> String getTableName(E entity)
Copyright © 2015–2021 OmniFaces. All rights reserved.