Caused by: org.postgresql.util.PSQLException: Bad value for type long : This is a test at org.postgresql.jdbc2.AbstractJdbc2ResultSet.toLong(AbstractJdbc2ResultSet.java:2796) at org.postgresql.jdbc2.AbstractJdbc2ResultSet.getLong(AbstractJdbc2ResultSet.java:2019) at org.postgresql.jdbc4.Jdbc4ResultSet.getClob(Jdbc4ResultSet.java:43) at com.avaje.ebeaninternal.server.type.RsetDataReader.getStringClob(RsetDataReader.java:190) at com.avaje.ebeaninternal.server.type.ScalarTypeClob.read(ScalarTypeClob.java:56) at com.avaje.ebeaninternal.server.type.ScalarTypeClob.read(ScalarTypeClob.java:32) at com.avaje.ebeaninternal.server.deploy.BeanProperty.read(BeanProperty.java:611) at com.avaje.ebeaninternal.server.query.SqlBeanLoad.load(SqlBeanLoad.java:111) ... 18 more
See TestBasicClobNoVer.
This logged based on http://groups.google.com/group/ebean/browse_thread/thread/b9c09e6522af453b
Fixed in HEAD.