On 16/02/24 15:40, GCHQDeveloper29 wrote:
Currently, string value'd schema are limited to 255 characters in length due to 
OpenJPA defaults.
It would be beneficial to either have this length as adjustable, increased or 
converted to a Lob.
The relevant code is within 
core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/entity/AbstractPlainAttrValue.java

Hi,
you should be able to tweak any column definition by adjusting your local ORM 
file.
The actual file to change is the one indicated by the

persistence.domain[0].orm

property, e.g. spring-orm.xml by default.

The OpenJPA settings will in fact get metadata definitions both from Java 
annotations (which are in fact immutable) and ORM xml file, with the latter 
taking precedence over the former.

HTH
Regards.

--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/

Reply via email to