I´m trying to map a text field from Sql Server into
a java.lang.String using hibernate, but hibernate show the follow
error:
net.sf.hibernate.JDBCException: could not load:
[gncoc.entidade.pojo.TbConteudo#1]
This is my
XML:
<property
name="descricao" type="string">
<column name="descricao" not-null="true"
sql-type="TEXT"/>
</property>
In the pojo I´m
using:
/** persistent field
*/
private String descricao; What can I do to map the text field?
Thanks!
|