Change the Table Name Length Limit in SAP Hybris Commerce

The maximum length for a deployment table name in Hybris is 24 characters.

This is defined in hybris/bin/platform/resources/advanced.properties:

deployment.tablename.maxlength=24

We can override the default value by specifying our own value in config/local.properties:

deployment.tablename.maxlength=32

Be sure to check the database server which may have its own limitations. For example, older versions of Oracle limit the table name length to 30 characters.