posted 19 years ago
You are getting confused between a static method, which is just a class method, and a static Connection variable. A static method is fine, I believe, but the Connection variable should always be local.
Incidentally, it's a good idea that the DataSource variable should be static.
SCJP 1.4, SCWCD 1.3, SCBCD 1.3