public class NamedSQLQueryDefinitionBuilder extends NamedQueryDefinitionBuilder
cacheable, cacheMode, cacheRegion, comment, fetchSize, firstResult, flushMode, lockOptions, maxResults, name, parameterTypes, query, readOnly, timeout
Constructor and Description |
---|
NamedSQLQueryDefinitionBuilder() |
NamedSQLQueryDefinitionBuilder(String name) |
public NamedSQLQueryDefinitionBuilder()
public NamedSQLQueryDefinitionBuilder(String name)
public NamedSQLQueryDefinitionBuilder setQueryReturns(NativeSQLQueryReturn[] queryReturns)
public NamedSQLQueryDefinitionBuilder setQueryReturns(List<NativeSQLQueryReturn> queryReturns)
public NamedSQLQueryDefinitionBuilder setQuerySpaces(List<String> querySpaces)
public NamedSQLQueryDefinitionBuilder setQuerySpaces(Collection<String> synchronizedQuerySpaces)
public NamedSQLQueryDefinitionBuilder addSynchronizedQuerySpace(String table)
public NamedSQLQueryDefinitionBuilder setResultSetRef(String resultSetRef)
public NamedSQLQueryDefinitionBuilder setCallable(boolean callable)
public NamedSQLQueryDefinitionBuilder setName(String name)
setName
in class NamedQueryDefinitionBuilder
public NamedSQLQueryDefinitionBuilder setQuery(String query)
setQuery
in class NamedQueryDefinitionBuilder
public NamedSQLQueryDefinitionBuilder setCacheable(boolean cacheable)
setCacheable
in class NamedQueryDefinitionBuilder
public NamedSQLQueryDefinitionBuilder setCacheRegion(String cacheRegion)
setCacheRegion
in class NamedQueryDefinitionBuilder
public NamedSQLQueryDefinitionBuilder setTimeout(Integer timeout)
setTimeout
in class NamedQueryDefinitionBuilder
public NamedSQLQueryDefinitionBuilder setFetchSize(Integer fetchSize)
setFetchSize
in class NamedQueryDefinitionBuilder
public NamedSQLQueryDefinitionBuilder setFlushMode(FlushMode flushMode)
setFlushMode
in class NamedQueryDefinitionBuilder
public NamedSQLQueryDefinitionBuilder setCacheMode(CacheMode cacheMode)
setCacheMode
in class NamedQueryDefinitionBuilder
public NamedSQLQueryDefinitionBuilder setReadOnly(boolean readOnly)
setReadOnly
in class NamedQueryDefinitionBuilder
public NamedSQLQueryDefinitionBuilder setComment(String comment)
setComment
in class NamedQueryDefinitionBuilder
public NamedSQLQueryDefinitionBuilder addParameterType(String name, String typeName)
addParameterType
in class NamedQueryDefinitionBuilder
public NamedSQLQueryDefinitionBuilder setParameterTypes(Map parameterTypes)
setParameterTypes
in class NamedQueryDefinitionBuilder
public NamedSQLQueryDefinitionBuilder setLockOptions(LockOptions lockOptions)
setLockOptions
in class NamedQueryDefinitionBuilder
public NamedSQLQueryDefinitionBuilder setFirstResult(Integer firstResult)
setFirstResult
in class NamedQueryDefinitionBuilder
public NamedSQLQueryDefinitionBuilder setMaxResults(Integer maxResults)
setMaxResults
in class NamedQueryDefinitionBuilder
public NamedSQLQueryDefinition createNamedQueryDefinition()
createNamedQueryDefinition
in class NamedQueryDefinitionBuilder
Copyright © 2019 JBoss by Red Hat. All rights reserved.