| AW: RE : About to write a "DatabaseLogger " - any advice ? | AW: RE : About to write a "DatabaseLogger " - any advice ? 2003-03-19 - By Jan.Materne@(protected)
I have written a JDBCAppender where you can configure the insert-statement, a create-statement (multiple seperated by ';'), and how to get the connection (set url,user,pwd + factory + jndi) . In one configuration I create a table AND a sequence on oracle. The insert statement uses the sequence.next for generating a primary key.
I can give it to you (mmhh I should send it log4j group ...)
Jan Mat?rne
-----Urspr?ngliche Nachricht----- Von: ALIA-SC, David [mailto:David.ALIA-SC@(protected)] Gesendet am: Mittwoch, 19. M?rz 2003 10:55 An: Ant Users List Betreff: RE : About to write a "DatabaseLogger" - any advice ?
Thanks for your advice Bill and Erik, I'll try first to check this opportunity...
David
-----Message d'origine----- De : Bill Burton [mailto:billb@(protected)] Envoy? : mardi 18 mars 2003 17:45 ? : Ant Users List Objet : Re: About to write a "DatabaseLogger" - any advice ?
Hello,
ALIA-SC, David wrote: > Hi, > > I'm about to write another logger, that inserts into a database each > action (I need it for precise reporting).
Log4J (http://jakarta.apache.org/log4j) interfaces with Ant and has a JDBC Appender. It may not do exactly what you want but could be a good place to start.
-Bill
--------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
--------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|
 |