www.webdeveloper.com
Results 1 to 2 of 2

Thread: Connection propblem

  1. #1
    Join Date
    Feb 2005
    Location
    Middle Village, NY
    Posts
    203

    Connection propblem

    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.
    Last edited by keko2005; 11-17-2005 at 07:46 PM.

  2. #2
    Join Date
    May 2004
    Location
    Perth, WA
    Posts
    171
    Please post the offending code and the stack trace.
    Australian Business Directory
    Web Developer
    Perth, Western Australia

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles