[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3137?page=c...
]
Johannes Rudolph commented on HHH-3137:
---------------------------------------
In the german version of SQL Server 2005 the error message sound like this:
Msg 131, Level 15, State 2, Line 278
Die Größe (104857600) für 'bemerkungen' (Spalte) überschreitet den für einen
beliebigen Datentyp (8000) zulässigen Wert.
SQLServerDialect: Schemaexport generates varchar columns for
length>8000 which is not allowed in SQL Server
-----------------------------------------------------------------------------------------------------------
Key: HHH-3137
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3137
Project: Hibernate3
Issue Type: Bug
Affects Versions: 3.2.4.sp1
Environment: Microsoft SQL Server 2005
Reporter: Johannes Rudolph
Priority: Minor
Attachments: sqlserver.patch
MS SQL Server allows varchar columns to be only a maximum of 8000 bytes long. With
length>8000 you have to use the 'text' type in SQL Server < 2005 and from
2005 on 'varchar(max)'.
Supplied a patch which fixes this.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira