Book a Demo

Author Topic: ClearAuditLogs does not work using Java  (Read 3082 times)

iMikel

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
ClearAuditLogs does not work using Java
« on: January 24, 2008, 09:09:34 am »
Hello,

i try to delete AuditLogs using a Java-script.

But the method Repository.ClearAuditLogs(Date start, Date end)
always returns false.

1) What Java-Class has "Date" (above) exactly to be: java.util.Date or java.sql.Date (both do not work).
and with what "Format" for the constructor (simply milliseconds?)?

2) Is the method in Java just "dummy implemented", that is
regardless of parameters it always returns false?

3) Our Problem is, that some user activated Audit-View; as a consequence the amount auf audit data has increased ... even
the clear Audit Log function leads to a time out of the underlying SQL-Server.

Greetings

iMikel