-->
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.  [ 4 posts ] 
Author Message
 Post subject: Handling SQL Server text types
PostPosted: Fri Feb 10, 2006 8:19 pm 
Newbie

Joined: Sat Jul 09, 2005 1:17 pm
Posts: 17
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version:1.0

Name and version of the database you are using: SQL Server 2000


I am interested in knowing how to insert a value into a database column that has a text type


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 11, 2006 7:44 am 
Contributor
Contributor

Joined: Wed May 11, 2005 4:59 pm
Posts: 1766
Location: Prague, Czech Republic
Use type="StringClob" for the property.


Top
 Profile  
 
 Post subject: StringClob
PostPosted: Tue Feb 14, 2006 3:54 pm 
Newbie

Joined: Sat Jul 09, 2005 1:17 pm
Posts: 17
in my class definition does that property need to be given a StringClob type or is that only for the XML mapping file?


Top
 Profile  
 
 Post subject: StringClob
PostPosted: Tue Feb 14, 2006 11:45 pm 
Regular
Regular

Joined: Tue Jan 03, 2006 7:21 am
Posts: 85
Your property definition in XML file needs to be StringClob while the property in the class would be String type.


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

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.