cancel
Showing results for 
Search instead for 
Did you mean: 

Lenth of act_ge_byte_bytearray column: name_

jarle
Champ in-the-making
Champ in-the-making
We are getting some excessively long pathnames in the name column of this table, lately resulting in this error message:

### The error may involve org.activiti.engine.impl.persistence.entity.ResourceEntity.insertResource-Inline
### The error occurred while setting parameters
### SQL: insert into ACT_GE_BYTEARRAY(ID_, REV_, NAME_, BYTES_, DEPLOYMENT_ID_, GENERATED_)     values (?, 1, ?, ?, ?, ?)
### Cause: java.sql.SQLException: ORA-12899: verdien er for stor for kolonnen "ZO"."ACT_GE_BYTEARRAY"."NAME_" (faktisk: 256, maksimum: 255)

Is there any way to override the value in the name column some how.. ?
I know we could just shorten the names of the process definitions and/or war file but I am looking for another solution.

Example of entry in our environment (this actaually works, but when given a new longer name on the war file, it breaks):
/var/lib/jetty/transient/jetty-server/batch-u1/workdir/aps/jetty/work/jetty-0.0.0.0-14037-no.storebrand.aps.aps-impl.15.7.0-SNAPSHOT.war-_aps-any-/webapp/WEB-INF/classes/bpmn-models/the_watchman_ajourhold.theWatchManMonitorProcess.png


Regards
Jarle
1 REPLY 1

trademak
Star Contributor
Star Contributor
You could increase the NAME_ column length in your database. Overriding the value is not something that can be done easily. In Activiti 6 we have better persistence pluggability, which would make override the name value possible.

Best regards,