Ok so I changed the last handler (in mySQLHandlerTest) to look like this:
and now I get:
Which leads me to conclude that 'con' is never made or the connection object isn't passed back to mySQLHandlerTest properly. I'd suspect the latter, since
doesn't throw the exception. It looks like the Connection object 'con' isn't being passed back properly, but I'm not sure how to check.
Z
Edit: Whoops, looks like I never set up the boolean loginSuccess in mySQLHandler.java . Working on it now.
[ March 01, 2006: Message edited by: Zach Burnham ]
Edit 2: Uh. Well when you instantiate an object twice it gets grouchy. Especially when the method tries to return that object when it's out of its scope. So I edited line 36 of mySQLHandler.java to read
con = DriverManager.getConnection((location + database), username, pass);
instead of Connection con = etc
Hopefully someone will learn from my dunderhead newbie mistake
[ March 01, 2006: Message edited by: Zach Burnham ]