[jboss-user] [Beginner's Corner] - Re: Backups and migrations

Wolf-Dieter Fink do-not-reply at jboss.com
Thu Mar 17 15:12:59 EDT 2011

Wolf-Dieter Fink [http://community.jboss.org/people/wdfink] created the discussion

"Re: Backups and migrations"

To view the discussion, visit: http://community.jboss.org/message/593893#593893

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110317/f6f1bd01/attachment.html 

More information about the jboss-user mailing list