You didnt use any wizard gui to create your db connection either? If you just press F11 you can step through your entire program. Step through it and check EM to see where the connection gets created and continue on until you get to the second one.