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 |