on ‎2018 Mar 21 7:19 AM
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
Request clarification before answering.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
CARTENTRIES44SN should be associated with "cartentry" model
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.