How to set value size limit in JPA storage service ?

Marvin Addison marvin.addison at gmail.com
Mon Aug 11 15:26:17 EDT 2014


> Looks like the length of the "value" column is controlled by
> JPAStorageRecord.VALUE_SIZE, and is not configurable at the moment.

I don't see any way to make it configurable since the @Column JPA
annotation is used to drive the schema generation and the values for
annotation fields must be constant. I suppose you could add @Lob to
trigger use of a CLOB in the database, then impose client-side limits.

M


More information about the dev mailing list