AnsweredAssumed Answered

on deploy ERROR: value too long for type character varying

Question asked by campa on Jun 14, 2011
Hi guys,

On deploy a process definition, using postgresql 8.3
DeploymentBuilder db = repositoryService.createDeployment();
….
db.addInputStream([b]fileName[/b], in);
….
db.deploy().getId();
I get
org.postgresql.util.PSQLException: ERROR: value too long for type character varying(255)
The problem is related to the  too long file name ( …bpmn20.xml ) .

Hope this help someone.
Bye

Outcomes