public class JPAFlushTransformer extends EntityManagerLookupAware implements org.apache.commons.collections.Transformer, Serializable
EntityManager
Constructor and Description |
---|
JPAFlushTransformer() |
Modifier and Type | Method and Description |
---|---|
boolean |
isClear()
If true will clear the
EntityManager |
boolean |
isFlush()
If true will flush the
EntityManager |
void |
setClear(boolean clear)
If true will clear the
EntityManager |
void |
setFlush(boolean flush)
If true will flush the
EntityManager |
Object |
transform(Object input) |
getEntityManager, getEntityManagerProvider, setEntityManager, setEntityManagerProvider, updateContext
public Object transform(Object input)
transform
in interface org.apache.commons.collections.Transformer
public boolean isFlush()
EntityManager
EntityManager.flush()
public void setFlush(boolean flush)
EntityManager
EntityManager.flush()
public boolean isClear()
EntityManager
EntityManager.clear()
public void setClear(boolean clear)
EntityManager
EntityManager.clear()
Copyright © 2018. All rights reserved.