Skip to Content

SAP Commerce Update System does not create column in Database


I'm facing an issue related to Hybris Update System. I'm trying to create some new property inside "B2BUnit" type. However, this property is not being created in the "usergroups" table.

When I run the "SQL Scripts" generator on HAC, this property does not appear in any ALTER TABLE. However, if I generate the Initialization script, the column is there.

It's happening to any column type, even if I declare this column as String. Any thoughts about this issue? I'm using SAP Commerce 1905 with MySQL 5.7.


Add a comment
10|10000 characters needed characters exceeded

  • Hi Antonio, thanks for your time!

    Sure, this is the attribute that I'm trying to extend into B2BUnit:

    <attribute qualifier="blockReason" type="CustomBlockReason">
        <modifiers optional="true" write="true" read="true" unique="false"/>
        <persistence type="property"/>

    This is my "CustomBlockReason" model:

     <itemtype code="CustomBlockReason" autocreate="true" generate="true">
        <deployment table="CustomBlockReason" typecode="11167"/>
            <attribute qualifier="code" type="java.lang.Integer">
                <modifiers optional="false" unique="true"/>
                <persistence type="property"/>
            <attribute qualifier="description" type="java.lang.String">
                <persistence type="property"/>
            <index name="blockReasonCodeIDX" unique="true">
                <key attribute="code"/>
  • Hi Guilherme, could you please post the items.xml code fragment, so I can test this issue on my machine? Thanks! Antonio

Related questions

1 Answer

  • Posted on Jul 20, 2020 at 07:46 AM

    Something new for this issue?
    We have the same problem and would be interested in a solution!

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.