public class ResultSetVariable extends Variable
| Constructor and Description |
|---|
ResultSetVariable(String name,
String qualifiedClassName,
RowMapper rowMapper,
ReturnNull returnNull,
MappingConstructor mappingConstructor)
Constructs a new ResultSetVariable.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getRowMapper()
Returns the qualified class name of the RowMapper.
|
boolean |
useNullInsteadOfAnException()
Returns if null should be used instead of throwing an exception if an entity is expected but nothing is returned
from the database.
|
getName, getTypeInfo, toStringpublic ResultSetVariable(String name, String qualifiedClassName, RowMapper rowMapper, ReturnNull returnNull, MappingConstructor mappingConstructor)
name - the name of the variablequalifiedClassName - the type of the variablerowMapper - (nullable) the RowMapper annotation of the variablereturnNull - (nullable) the ReturnNull annotation of the variablemappingConstructor - (nullable) the MappingConstructor annotation of the variablepublic String getRowMapper()
public boolean useNullInsteadOfAnException()
Copyright © 2015. All rights reserved.