What I found that worked was leaving the type as "string" in the hbm.xml file and then just going into the table directly and changing the column to "text" type.
I'll try this out and let you know how it works.. it would be nice if there was a way to specify a more specific database type in the configuration file though. Thanks! ----- Original Message ----- From: <[EMAIL PROTECTED]> To: "Justen Stepka" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, February 13, 2003 1:26 AM Subject: Re: [Hibernate] huge tring storage > > Try using the Hibernate "clob" type. > > You can use Hibernate.createClob() to instantiate a new "fake" Clob. > > Note that JDBC driver support for Clobs is patchy and inconsistent and I do > not guarantee that the Clob support will work on all platforms. > > > > > > > > "Justen Stepka" > <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> > Sent by: cc: > [EMAIL PROTECTED] Subject: [Hibernate] huge tring storage > eforge.net > > > 13/02/03 03:39 AM > > > > > > > Regard, > > I am looking to store a String to the database that would be a legal > contract so the amount of space necessary would be rather large in the > database. > > What type of mapping declaration do I want for my <property .. /> tag? I > have tried serializable and object but both are just not enough... I was > hoping there might be some type for 'text' but that turned up dead ends. > > Thanks! > > Justen Stepka > > > > ********************************************************************** > Any personal or sensitive information contained in this email and > attachments must be handled in accordance with the Victorian Information > Privacy Act 2000, the Health Records Act 2001 or the Privacy Act 1988 > (Commonwealth), as applicable. > > This email, including all attachments, is confidential. If you are not the > intended recipient, you must not disclose, distribute, copy or use the > information contained in this email or attachments. Any confidentiality or > privilege is not waived or lost because this email has been sent to you in > error. If you have received it in error, please let us know by reply > email, delete it from your system and destroy any copies. > ********************************************************************** > > > > ------------------------------------------------------- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel