Robert Oschwald
Robert Oschwald
any news on this @msg4ashis ?
Requirement: 1. orm-independent way 2. independent of mapping config
Would be great if you can form a PR.
Any news on this? Will you provide a PR?
@dmahapatro I think setting in applicationContext config is too late at that point. See the new TruncateSpec how I change it directly in the listeners. https://github.com/robertoschwald/grails-audit-logging-plugin/blob/master/audit-test/src/integration-test/groovy/test/AuditTruncateSpec.groovy#L136 Please mark it the...
feel free to send in a PR.
In the AuditLoggingGrailsPlugin descriptor, we register an AuditLogListener per DataSource. So you need to enable multi tenancy in the audit-test sub-project's AuditTrail domain class, as you write tests for this...
See also #17
robertoschwald said: Maybe we should switch to withNewTransaction to decouple audit logging from the main transaction.
bdrhoa said: If I understand what you're saying correctly, then we would in fact have two separate transactions, one for the application transaction and one to create the audit record....