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:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Reply via email to