Hi! I am trying to create a table in postgresql but when I check my database using pgAdmin, the Table isn't there. I have done a simple postgresql connection java application, so, I know that I can connect to my database. And, I know where to place my postgresql connector jar. I am quite new to database programming, so, please patient with me. Thanks! Here is my servlet init code:
Tim Holloway wrote:Your code will leak database resources when exceptions are thrown.
You mean the e.printStackTrace(); I used for the catch block. I've read something like that before but I couldn't remember all the details. I think I should replace it with another more secure error logging, I am not sure. Thanks for reminding me. Currently, I running and testing my codes in eclipse. I also have a question about deregistering jdbc, isn't that the same as a closing connection?