ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: RE : About to write a "DatabaseLogger" - any advice ?
Date Wed, 19 Mar 2003 10:01:17 GMT
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@AirLiquide.com]
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@progress.com] 
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@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message