Constructor and Description |
---|
OutParameters() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes(int pos) |
byte[] |
getBytes(String name) |
Date |
getDate(int pos) |
Date |
getDate(String name) |
Double |
getDouble(int pos) |
Double |
getDouble(String name) |
Float |
getFloat(int pos) |
Float |
getFloat(String name) |
Integer |
getInt(int pos) |
Integer |
getInt(String name) |
Long |
getLong(int pos) |
Long |
getLong(String name) |
Object |
getObject(int position)
Type-casting convenience method which obtains an object from the the results positionally
object obtained should have been created with
CallableStatementMapper |
<T> T |
getObject(int pos,
Class<T> type)
Type-casting convenience method which obtains an object from the map positionally
object obtained should have been created with
CallableStatementMapper |
Object |
getObject(String name)
Obtains an object from the map, the
object obtained should have been created with
CallableStatementMapper |
<T> T |
getObject(String name,
Class<T> type)
Type-casting convenience method which obtains an object from the map, the
object obtained should have been created with
CallableStatementMapper |
Short |
getShort(int pos) |
Short |
getShort(String name) |
String |
getString(int pos) |
String |
getString(String name) |
Timestamp |
getTimestamp(int pos) |
Timestamp |
getTimestamp(String name) |
public byte[] getBytes(int pos)
public byte[] getBytes(String name)
public Date getDate(int pos)
public Double getDouble(int pos)
public Float getFloat(int pos)
public Integer getInt(int pos)
public Long getLong(int pos)
public Object getObject(int position)
CallableStatementMapper
position
- The out parameter namepublic <T> T getObject(int pos, Class<T> type)
CallableStatementMapper
pos
- The out parameter positiontype
- The java type to obtainpublic Object getObject(String name)
CallableStatementMapper
name
- The out parameter namepublic <T> T getObject(String name, Class<T> type)
CallableStatementMapper
name
- The out parameter nametype
- The java type to obtainpublic Short getShort(int pos)
public String getString(int pos)
public Timestamp getTimestamp(int pos)
Copyright © 2018. All rights reserved.