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?