A new topic, 'nvarchar(max) not supported on SQL Server', has been made on a 
board you are watching.

You can see it at
http://liquibase.org/forum/index.php?topic=601.new#new

The text of the topic is shown below:

Hi
I've been using this great tool for a while and just want to say that it has 
saved our team lots of times when trying to resolved schema upgrade problems. 

I'm using a build of liquibase based on revision 1586 (RC3-SNAPSHOT) and I have 
an exception being thrown on a NVarchar column in a SQL Server 2005 defined as:
Code:
<column name="messages" type="NVARCHAR(MAX)">
                <constraints nullable="true"/>
            </column>

the exception is
Code:
java.lang.NumberFormatException: For input string: "MAX"
        at 
java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
        at java.lang.Integer.parseInt(Integer.java:447)
        at java.lang.Integer.parseInt(Integer.java:497)
        at 
liquibase.database.typeconversion.core.AbstractTypeConverter.addPrecisionToType(AbstractTypeConverter.java:234)
        at 
liquibase.database.typeconversion.core.AbstractTypeConverter.getDataType(AbstractTypeConverter.java:226)
        at 
liquibase.database.typeconversion.core.MSSQLTypeConverter.getDataType(MSSQLTypeConverter.java:56)
        at 
liquibase.database.typeconversion.core.AbstractTypeConverter.getDataType(AbstractTypeConverter.java:162)
        at 
liquibase.database.typeconversion.core.MSSQLTypeConverter.getDataType(MSSQLTypeConverter.java:42)
        at 
liquibase.change.core.CreateTableChange.generateStatements(CreateTableChange.java:48)

Is there any known work-around for this column type?

TIA

Unsubscribe to new topics from this board by clicking here: 
http://liquibase.org/forum/index.php?action=notifyboard;board=1.0

Regards,
The Liquibase Community Forum Team.
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Liquibase-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/liquibase-user

Reply via email to