Thanks for the replies. Chris, here is a snippet of the code....
I have implemented the DAO
pattern so this is a method on the implementation class that I am using....I have the connection as a variable on the class that is initialized as part of the constructor. This is used within the getConnection() method below....This connection is just the basic grab datasource from JNDI which is pointing to a pool, and return the connection to me.
Ok, now the DBUtilities class is simply a class to close statements, connections, etc.....so, it will have a similar method for each type.
[Added code tags for formatting. - CM]
Thanks so much for looking at this....and please, no one be shy about telling me if I did something totally ridiculous.....seriously
Thanks again!
Blaine
[ April 22, 2004: Message edited by: Blaine Mincey ]
[ April 23, 2004: Message edited by: Chris Mathews ]