public static enum HibernateObjectDao.Cacheability extends Enum<HibernateObjectDao.Cacheability>
Enum Constant and Description |
---|
CACHEABLE
Deprecated.
since 5.8 - Hibernate query caching isn't cluster-friendly and should be avoided
|
NOT_CACHEABLE |
Modifier and Type | Method and Description |
---|---|
static HibernateObjectDao.Cacheability |
fromBoolean(boolean flag) |
static HibernateObjectDao.Cacheability |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HibernateObjectDao.Cacheability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Deprecated public static final HibernateObjectDao.Cacheability CACHEABLE
public static final HibernateObjectDao.Cacheability NOT_CACHEABLE
public static HibernateObjectDao.Cacheability[] values()
for (HibernateObjectDao.Cacheability c : HibernateObjectDao.Cacheability.values()) System.out.println(c);
public static HibernateObjectDao.Cacheability 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 HibernateObjectDao.Cacheability fromBoolean(boolean flag)
Copyright © 2003–2019 Atlassian. All rights reserved.