I've been trying to find an iBatis equivalent as well.
So far I tried the following:
- jdbcType="NCHAR" in parameter map
- TO_NCHAR and TRANSLATE in insert statement

Any suggestions are appreciated.



Gwyn wrote:
> 
> 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
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Oracle-setFormOfUse-suggestions--tp17809529p18444773.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.

Reply via email to