Hi,
I have a table in a MySQL 5.0.45 database schema with a text type as in: profile text
I could successfully build an Hibernate based Dao with the mapping: <property name="profile" type="text"> <column name="profile" length="65535" /> </property> with the Maven integration test working fine both against the MySQL and HSQLDB databases.
Now I'm trying to move on to a JPA repository to replace the legacy Hibernate Dao.
So I created another domain class in which I annotated the property as in: @Lob @Column(columnDefinition = "TEXT", length = 65535) private String profile;
The Maven integration test works fine against the MySQL database too but fails against the HSQLDB one.
I'm using hibernate-jpa-2.0-api 1.0.1.Final and hibernate-annotations 3.5.6-Final and hsqldb 2.2.9 and spring-data-jpa 1.3.0.RELEASE and mysql-connector-java 5.1.12
I would like the Maven integration test work fine against the HSQLDB database on the JPA repository environment, just like it does on the legacy Hibernate Dao environment.
Any clue ?
|