public class JPACallableStatementTransformer extends EntityManagerLookupAware implements org.apache.commons.collections.Transformer, Serializable
Modifier and Type | Field and Description |
---|---|
protected boolean |
execute
If the Procedure is not expected to return anything and uses DML then set to true.
|
protected String |
query |
Constructor and Description |
---|
JPACallableStatementTransformer() |
Modifier and Type | Method and Description |
---|---|
String |
getQuery() |
boolean |
isExecute()
If the Procedure is not expected to return anything and uses DML then set to true.
|
void |
setExecute(boolean execute)
If the Procedure is not expected to return anything and uses DML then set to true.
|
void |
setQuery(String query) |
Object |
transform(Object input) |
getEntityManager, getEntityManagerProvider, setEntityManager, setEntityManagerProvider, updateContext
protected String query
protected boolean execute
@Transactional(readOnly=false) public Object transform(Object input)
transform
in interface org.apache.commons.collections.Transformer
public String getQuery()
public void setQuery(String query)
public boolean isExecute()
public void setExecute(boolean execute)
Copyright © 2018. All rights reserved.