-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: SchemaExportTask query
PostPosted: Tue Oct 23, 2007 4:18 am 
Newbie

Joined: Fri Oct 12, 2007 2:58 am
Posts: 3
Hi,

I am using this task for converting my hbm.xml files to and sql script for SQL Server 2005. My problem is this - my hbm.xml file contains a field which is of type String with length 2147483647. When I run the schemaExportTask, it maps this field to varchar(2147483647). This is incorrect since in SQL Server 2005, varchar cannot have size more than 8000.

Basically, the field should be mapped to text and not to varchar(2147483647).

Is there any way of changing this (other than writing a custom dialect?)

Thanks,
Neha.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.