Re: [Fornax-developer] Audit in a separable table

2010-08-15 Thread Patrik Nordwall
I can reproduce the "argument type mismatch" if I change the parameter type of the method void recordAuditInformation(Identifiable entity) in the AuditRecordListener Have you used correct import? org.fornax.cartridges.sculptor.framework.domain.Identifiable Are your domain objects implementing I

Re: [Fornax-developer] Audit in a separable table

2010-08-15 Thread Patrik Nordwall
BTW, I found that you must avoid recursion of the listener. In SpecialCases.xpt you should use this instead of my previous suggestion: «AROUND templates::DomainObject::jpaEntityListenersAnnotation FOR DomainObject -» «IF name == 'AuditRecord'-» «targetDef.proceed()» «ELSE -» @javax.persis