cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Need to know the corresponding model for audit tables in hybris 6.6?

Former Member
0 Likes
3,164

Hi Team,

Recently we have moved to hybris 6.6 from 6.2 and as per the documentation audit tables are enabled by default, I would like to know the corresponding Model for the table. Example is we have 'CARTENTRIES44SN' table which holds the audit logs , what will be the corresponding model for this ?

the link which I have referred is : https://help.hybris.com/6.6.0/hcd/3e2b8491449d43b391eb1ce9c73cbb7f.html

Regards, Gaurav

Accepted Solutions (0)

Answers (3)

Answers (3)

arvind-kumar_avinash
Active Contributor
0 Likes

The table name follows the <deploymentName><numericTypeCode>sn naming convention. For example, an audit table for the User type would be called users4sn.

Similarly, the table, CartEntries44sn is responsible for recording the audit entries for the itemtype, CartEntry as you can understand from the itemtype definition given below:

 <itemtype code="CartEntry"
                   extends="AbstractOrderEntry"
                   jaloclass="de.hybris.platform.jalo.order.CartEntry"
                   autocreate="true"
                   generate="true">
             <deployment table="CartEntries" typecode="44"/>

Note: for each type, a new corresponding table is created during initialization or update.

StephenX
Associate
Associate
0 Likes

audit log is stored by JDBC persistence, which is not based on item type system, Hybris provide read and write API to manage them.

Please reference this: https://help.hybris.com/6.7.0/hcd/3e2b8491449d43b391eb1ce9c73cbb7f.html

Former Member
0 Likes

CARTENTRIES44SN should be associated with "cartentry" model