How to set value size limit in JPA storage service ?
Cantor, Scott
cantor.2 at osu.edu
Mon Aug 11 14:37:30 EDT 2014
On 8/11/14, 2:28 PM, "Tom Zeller" <tzeller at dragonacea.biz> wrote:
>> How should I set the value size limit when using a JPA storage service ?
>
>Looks like the length of the "value" column is controlled by
>JPAStorageRecord.VALUE_SIZE, and is not configurable at the moment.
Bearing on the implementation, you really can't make the API work unless
you handle long text. The contract is very much designed to assume very
long data length. The C++ version makes this explicit, but Marvin and
others suggested I pull that and leave it to implementations to optimize
record storage, which is fine, but it doesn't mean that storing the data
in varchar() exclusively will work; there's not much chance of that. Maybe
varchar(8192) or so, I don't know exactly what the upper bound is these
days on varchars in real databases.
-- Scott
More information about the dev
mailing list