As I mentioned in the summary: size of the sql var char is hard coded to 10,000 bytes. This should be configurable.
Due to this hard coded value we can store maximum up to 10,000 bytes for each Entity_state column. which means that size of the entity cannot exceed 10,000 bytes.
protected SQLDataType getStateType()
return this.vendor.getDataTypeFactory().sqlVarChar( 10000 );
Reference discussion for the same: