audit search
I'm working with audit search. Using the AuditQueryBuilder
class. In the unit test environment, the following code…
Calendar cal = Calendar.getInstance();
AuditQueryBuilder builder = new AuditQueryBuilder().predicates(Predicates.gte("eventDate", cal.getTime()));
Framework.getService(AuditReader.class).queryLogs(builder);
…throws down in: org.hiberate.type.TimeStampType.toString()
with a ClassCastException
. The hibernate code is manipulating the Date instance from Nuxeo and then failing when it tries to map the parameter into a query. Does anyone know of a way around this for unit testing? Thanks
0 votes
1 answers
1198 views