hey guys, im having a weird problem, and i have no clue why. its not making any sence. i have a Connection variable conn(Connection conn = null. then i have a makeConnection() method, which will connect to a db. blah blah blah. now when i get down to using conn = DriverManager.getConnection(parameters);
i get an error, incompatible types: says found java.sql.Connection, and required Connection(they are both the same types arnt they?). i didnt have this problem the other day, only today, and yes i am importing the java.sql package. any suggestions?
NEVER MIND, ABOUT 2 SECONDS LATER I FIGUERED OUT WHA I WAS DOING WRONG. THANKS.
Bookmarks