JBoss Community

Re: Backups and migrations

created by Wolf-Dieter Fink in Beginner's Corner - View the full discussion

The EntityManager try to map your text to int,

do you set the persistence.xml correct?

     <property name="hibernate.dialect" value="org.hibernate.dialect.<your dialect>"/>

also this might help to analyze:

      <property name="hibernate.show_sql" value="true" />

      <property name="hibernate.format_sql" value="true" />

 

Also you should set the 'org.hibernate' to logging level 'TRACE' to find out what happen.

 

I suppose that the handling of @Lob will be different, does it work if you remove @Lob?

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community