public class ShortPreparedStatementSetter extends Object implements Setter<PreparedStatement,Short>, ShortSetter<PreparedStatement>
Constructor and Description |
---|
ShortPreparedStatementSetter(int columnIndex) |
Modifier and Type | Method and Description |
---|---|
void |
set(PreparedStatement target,
Short value)
Set the properties on the target object to value.
|
void |
setShort(PreparedStatement target,
short value) |
public ShortPreparedStatementSetter(int columnIndex)
public void set(PreparedStatement target, Short value) throws Exception
Setter
set
in interface Setter<PreparedStatement,Short>
target
- the target to set the value onvalue
- the value to setException
- if anything goes wrongpublic void setShort(PreparedStatement target, short value) throws Exception
setShort
in interface ShortSetter<PreparedStatement>
Exception
Copyright © 2016. All rights reserved.