private void setObjectForStatement ( PreparedStatement stmt , int index , Object value , int sqlType ) throws SQLException { if ( value == null ) { m_platform . setNullForStatement ( stmt , index , sqlType ) ; } else { m_platform . setObjectForStatement ( stmt , index , value , sqlType ) ; } }
Sets object for statement at specific index adhering to platform - and null - rules .