ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gwyn Evans" <gwyn.ev...@gmail.com>
Subject Oracle setFormOfUse suggestions?
Date Thu, 12 Jun 2008 20:56:58 GMT
Hi - I'm windering if anyone's got any suggestions as how it might be
possible to use iBatis to replace some raw JDBC coding where there's this
sort of Oracle-specific extension in use?

      pstmt = (OraclePreparedStatement) con.prepareStatement(sqlStmt);
      ...
      pstmt.setFormOfUse(3, OraclePreparedStatement.FORM_NCHAR);
      pstmt.setString(3, record.getVCard());
      ...
      pstmt.executeUpdate();

/Gwyn

Mime
View raw message