Hi,

Does anyone run into this error:
exception is <openjpa-1.0.0-r420667:568756 fatal user error>
org.apache.openjpa.persistence.ArgumentException:
"com.inxight.mdr.dao.model.Sentence.text" declares a column that is not
compatible with the expected type "clob".  Column details:
Full Name: sentence.text
Type: integer
Size: 0
Default: null
Not Null: true

Here's my persistence class:
@javax.persistence.Entity
@Table(name = "sentence")
public class Sentence implements Serializable {
    // ...
    @Lob
    @Column(name = "text", length = -1, nullable = false)
    private String text;
}


OpenJPA 1.0.0
Oracle XE 10G R2

TIA,
Frank

-- 
View this message in context: 
http://www.nabble.com/ERROR%3A-declares-a-column-that-is-not-compatible-with-the-expected-type-%22clob%22-tf4431073.html#a12640914
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to