Hi,

I am using JDBCAppender.

I am using the following sql for inserting into the logs table.

<param name="sql" value="INSERT INTO LOGSTAB (id, prio, cat, thread, msg,
throwable, ndc, the_timestamp, created_by) VALUES
(...............................)" />

Is there some way in which I can use hibernate statements in my log4j.xml so
that hibernate logs the data into the table?

I need this to achieve database independence.

Thanks & Regards
Merin

Reply via email to