cancel
Showing results for 
Search instead for 
Did you mean: 

How to increase the OOTB abstract parent type qualifier length???

ramhybris19
Explorer
0 Kudos

Hi Hybris experts,

Need your help in increasing the qualifier(ie emailAddress) length of a parent item type which is abstract.

Here is the code snippet.

<itemtype code="AbstractWorkflowAction" abstract="true"
			jaloclass="de.hybris.platform.workflow.jalo.AbstractWorkflowAction"
			extends="GenericItem" autocreate="true" generate="true">
			<deployment table="WorkflowActions" typecode="1113" />

<attribute qualifier="emailAddress" type="java.lang.String">
					<modifiers read="true" write="true" initial="false" optional="true" />
					<persistence type="property" />
					<custom-properties>
						<property name="hmcIndexField">
							<value>"thefield"</value>
						</property>
					</custom-properties>
					<description>e-mail address where notification e-mail will be sent to</description>
				</attribute>

Thanks in advance.

Regards,

Accepted Solutions (0)

Answers (1)

Answers (1)

crescenzorega
Active Participant
0 Kudos

Hi,

usually a String type has a length of 256 characters.

Before the cloud version the element was redefined by adding the persistence type, in the cloud version the database is not managed from the outside

<persistence type="property">
         <columntype database="oracle">
             <value>CLOB</value>
         </columntype>
         <columntype database="mysql">
             <value>TEXT</value>
         </columntype>
         <columntype database="sqlserver">
             <value>NTEXT</value>
         </columntype>
         <columntype>
             <value>HYBRIS.LONG_STRING</value>
         </columntype>
     </persistence>