rzo1 commented on PR #220:
URL: https://github.com/apache/openjpa/pull/220#issuecomment-6365034569

   @ilgrosso regarding the `BYTEA` column for `@Lob @Convert(converter = 
ProvisionListConverter.class) List<Provision> provisions` from your mail: with 
`@Lob`, OpenJPA chose CLOB or BLOB from the attribute type (`List`, so BLOB) 
instead of the converter database type (`String`, so CLOB). This is 
[OPENJPA-3020](https://issues.apache.org/jira/browse/OPENJPA-3020), fixed in 
#222, which is based on this branch. The same applies to MySQL, MariaDB and 
Oracle, where you get a BLOB instead of TEXT or CLOB.
   
   Until it is merged, you can drop `@Lob` and declare the column type, e.g. 
`@Column(columnDefinition = "TEXT")` on PostgreSQL. With #221 no length is 
appended to `TEXT`.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to