Wikum Weerakutti

Results 66 comments of Wikum Weerakutti

@dkayiwa you need to add both of these properties to the runtime properties file. ``` hibernate.integration.envers.enabled=true hibernate.hbm2ddl.auto=update ```

I don't think there are any other viable ways. This is the recommended approach in the Hibernate documentation: https://docs.jboss.org/hibernate/orm/current/userguide/html_single/Hibernate_User_Guide.html#envers

> @wikumChamith is this ready? Still, the application does not generate audit tables for `user_properties`. I'll give it another try and let you know.

@dkayiwa I created a wiki page: https://openmrs.atlassian.net/wiki/spaces/docs/pages/113999876/Enabling+Hibernate+Envers+Audit+Logging+in+OpenMRS I'm not entirely sure if I created it in the correct section :sweat_smile:. Could you please take a look?

> Thanks, let me take a look. Did you figure out the issue with `user_properties`? If not yet, can you just move on with the rest of the tables? All...

I am totally happy to forget the user properties :joy: > Secondly, when i looked at the log tables, i did not see which user made the change. Those data...

> Seen them. Can you now proceed with the next steps? Could you please clarify what the next steps are?

> A module for visualising those logs to the user. Shouldn't we merge this before proceeding with the module??

> @wikumChamith you have not yet responded to my comment. ![Screenshot from 2024-05-19 19-06-14](https://github.com/openmrs/openmrs-core/assets/61653572/5ac68ca0-85aa-46d2-84bd-d16cf61d1058) Am I missing something :sweat_smile:

I replied to your question before. In case you are not seeing it, I have my answer here. > To replace this composite key. > > ``` > > >...