[keycloak-user] ERROR: value too long for type character varying(255)

Stian Thorgersen sthorger at redhat.com
Mon Oct 12 02:27:57 EDT 2015


255 is the "default" length, no other good explanation why it's that short.
Create a JIRA and we can increase it. Text is not supported by all database
we support so we can't use that, but we can at least increase the size.

We use Liquibase to create db schema, not Hibernate.

On 9 October 2015 at 18:35, Remi Cartier <remi.cartier at imetrik.com> wrote:

> Hi guys,
>
> it seems the size of an attribute is limited to 255 characters.
> That is quite small considering one might want to store JSON into
> attributes.
>
> Would simply change the hibernate config file to use TEXT vs VARYING(255)
> be enough ?
>
> any reason for that artificial limitation ?
>
> Cheers !
>
> ------------------------------
>
>
> REMI CARTIER
> B.O.S.S. (Business & Operation Support Systems) P.O (Product Owner)
>
> *IMETRIK GLOBAL INC.*
> *T :* +1 514 448-6407 x2009
> *T :* +1 866 276-5382 (toll free)
> *F :* +1 514 904-0611
>
> 740 Notre Dame St. West, Suite 1575
> Montreal, Quebec, Canada H3C 3X6
> imetrik.com <http://www.imetrik.com/>
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20151012/1924e0b4/attachment-0001.html 


More information about the keycloak-user mailing list