This guide describes required modifications for the migration of the customization class ExpandedExecutionBeanDefDo
and is addressed to developers and administrators who execute migration tasks.
The names of extended enum values defined in ExpandedExecutionBeanDefDO
were not persisted within the database (column "ExpandedExecutionBeanDefDO".description
). Moreover, this column does not allow null values since IOM 2.9.0.0.
For projects using this customization class, the code must be modified as follows:
Existing null values will first be set to a dummy value during DBMigrate. The correct names will then be set automatically at the next deployment.
Replace the annotations @Override
and @Transient
with @Column(name = "`description`")
:
@Override @Transient public String getName() { return PersistenceUtils.constantToHungarianNotation( this.name(), PersistenceUtils.FLAG_FIRST_LOWER ); }
@Column(name = "`description`") public String getName() { return PersistenceUtils.constantToHungarianNotation(this.name(), PersistenceUtils.FLAG_FIRST_LOWER); }
The function is now linked to an existing database column.
The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.