ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Butler <jeffgbut...@gmail.com>
Subject Re: NVARCHAR not supported?
Date Mon, 18 May 2009 23:10:35 GMT
Currently, you have these options with Ibator:

1. Write your own type resolver
2. Use column overrides on each NVARCHAR column

I've got an idea for the Ibator type resolver where you can configure
this globally, but there's no scheduled delivery date for that.

As far as iBATIS goes, as long as the driver allows treating the
NVARCHAR column as VARCHAR, it should work out of the box.  If the
driver requires you to call the new JDBC 4.0 methods, then you'll have
to write a custom type handler.

Jeff Butler

On Mon, May 18, 2009 at 3:31 PM, NathanM <nathan.mellor@infdig.com> wrote:
> I've tried a test case and casting it to a String works. It also gave the
> correct string value. I have not tried an actual UTF-16 valeu because I
> don't know how to enter one in SQL Server Management Studio.
> What is the best way to generate code to retrieve nvarchar as a string?
> Should I use a plugin or some config parameters?
> Nathan
> --
> View this message in context: http://www.nabble.com/NVARCHAR-not-supported--tp23568890p23604538.html
> Sent from the iBATIS - User - Java mailing list archive at Nabble.com.

View raw message