Good written jdbc app or not ?

From: Geiregat Jonas (eniac_at_sdf-eu.org)
Date: 03/31/04


Date: Tue, 30 Mar 2004 22:51:47 +0000


I have a class with several methods that need to use data from a db
(jdbc). Is it a good idea to add the basic connection code in each
method or is there a better way , my code (one small file)
http://jonasg.ath.cx/jdbc/dbcon.java