Hi Tom!

On 28/07/05, Thomas Dudziak <[EMAIL PROTECTED]> wrote:
> Bobby is right, Oracle does not seem to be able to handle NCHAR
> directly in the JDBC driver; you are required to use the
> Oracle-specific extension.
> This might be a useful enhancement in the Oracle platform ...
> Guillaume, could you raise a JIRA issue for this ?

Well, yes and no. Should I create an issue or not?
Since the problem can be considered a database configuration issue?
Simply setting the NLS_CHARACTERSET to UTF8 makes the JDBC driver and
the Oracle instance to talk together flawlessly. So should the Oracle
platform support use the OraclePreparedStatement.setForUse() trick?
If yes, yeah, I can create an issue for that.
The setForUse() trick (+Bobby's solution) works if your default
charset is an 8-bit charset, but if you're using UTF8, it's not
needed.

-- 
Guillaume Laforge
http://glaforge.free.fr/weblog/?catid=2

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to