[hibernate-issues] [Hibernate-JIRA] Created: (HHH-3137) SQLServerDialect: Schemaexport generates varchar columns for length>8000 which is not allowed in SQL Server
Johannes Rudolph (JIRA)
noreply at atlassian.com
Thu Feb 28 05:38:33 EST 2008
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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list