I'm having some problems using an entity that has a field with a CLOB data type.
I've annotated the field @Lob, roo has helpfully converted the web scaffolding so that the field now uses a textarea, however if I try to insert a new record I get the following error -
Is there a way around this? I've tried turning off auto commit by adding the following line to persistence.xml
2011-12-15 12:01:13,063 [tomcat-http--19] ERROR org.hibernate.util.JDBCExceptionReporter - Large Objects may not be used in auto-commit mode.
but this doesn't seem to have helped. Are clobs fully supported in Roo? Is there something I'm missing?
<property name="hibernate.connection.autocommit" value="false"/>
I'm using postgresql / hibernate / Roo 1.1.5.
Any help would be much appreciated!