Thread:
 Alternative: use the "text" type (Hibernate 2.1+) 
 brenuart   21 Nov 2003, 16:11 

Comment
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
From: brenuart (21 Nov 2003, 16:11) Replies: 0, Views: 40234
Subject: Alternative: use the "text" type (Hibernate 2.1+)
With Hibernate 2.1-* you can use the following mapping strategy:

   <property name="name" type="text" />

It will map your string to a TEXT column if supported (it is for 
MySQL) or CLOB... (cfr. Reference doc, 4.2.2. Basic value types)
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
© Copyright 2006, Red Hat Middleware, LLC. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc. [Privacy Policy]