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 Sat, 16 May 2009 03:58:14 GMT
NVARCHAR is not a supported data type in JDBC before JDBC 4.0 (Java SE
6).  iBATIS does not support JDBC 4.0 currently, neither does Ibator.

However, you may find that casting the generated Object variable to a
String will work.  Try it and let us know.

Jeff Butler


On Fri, May 15, 2009 at 6:45 PM, NathanM <nathan.mellor@infdig.com> wrote:
>
> Is NVarChar not supported? It seems to throw a lot of generation warnings in
> ibator, and
>
> Generation Warnings Occured
>  Unsupported Data Type in table .. ..  column:  ... ,property defaults to
> Object type.
>
> I'm running it against SQL Server, and there are plenty of NVARCHAR columns
> in the data.
> --
> View this message in context: http://www.nabble.com/NVARCHAR-not-supported--tp23568890p23568890.html
> Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
>
>

Mime
View raw message