Thread:
 Concerning previous comment... 
 cblin   05 Mar 2007, 05:38 

Comment
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
From: cblin (05 Mar 2007, 05:38) Replies: 0, Views: 10318
Subject: Concerning previous comment...
You still have to do <propert name="whatever" type="text" length="X" />

with X = 2147483647 if you want a longtext (i.e 2^32 / 2 -1 because the
hibernate parser expect a integer) and 16777215 (2^24 - 1) if you want a
mediumtext

see also www.hibernate.org/56.html
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]