GeeCON Prague 2014*
The moose likes JDBC and the fly likes Writing data to DB asynchronously Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Bookmark "Writing data to DB asynchronously" Watch "Writing data to DB asynchronously" New topic
Author

Writing data to DB asynchronously

Johnny Belab
Greenhorn

Joined: Oct 05, 2005
Posts: 12
Hello!

How should I implement a class that would write data (e.g. logging data)
asynchronously to database using JDBC?

I'm using J2SE 1.4 and 1.5.


Cheers!
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

There should be a DB appender in Log4J. Have a look there first, I wouldn't re-invent the wheel.

Dave
 
GeeCON Prague 2014
 
subject: Writing data to DB asynchronously