Code example for PreparedStatement

Methods: setShort

0
	} 
 
	@Override 
	public void setParameter( int index, short value ) {
		try { 
			statement.setShort( index, value );
		} catch( SQLException exception ) {
			throw new RuntimeException( exception );
		} 
	} 
 
	@Override 
	public final void run() { 
		try { 
			statement.execute();
		} catch( SQLException exception ) {
			throw new RuntimeException( exception );
		} 
	} 
 
}