Search code examples
javapostgresqlwildfly-8

Postgres 9.4.4 value too long for type character varying


When i try to login into our java application i'am getting error below. When i submit again it successfully loggedin

ERROR: value too long for type character varying(32) getting .

Postgres9.4.4 is using in app with java 1.6 and wildlfy 8 as server.


Solution

  • Column which has current url as value makes this issue.

    Change the column with character varying(32) to character varying(200) resolves the issue.