T
- The entity typeS
- The source type.R
- The result typepublic class SqlDTOMapper<T,S,R> extends DTOMapper<T,S,R> implements SqlTypeMapper<S,R>
DTOMapper
specifically for SQL.Constructor and Description |
---|
SqlDTOMapper(RuntimePersistentEntity<T> persistentEntity,
ResultReader<S,java.lang.String> resultReader)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext(S resultSet)
Is another result available.
|
getPersistentEntity, getResultReader, read, read, read
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConversionService, map, read
map
public SqlDTOMapper(RuntimePersistentEntity<T> persistentEntity, ResultReader<S,java.lang.String> resultReader)
persistentEntity
- The entityresultReader
- The result readerpublic boolean hasNext(S resultSet)
SqlTypeMapper
hasNext
in interface SqlTypeMapper<S,R>
resultSet
- The result set