Results 1 to 2 of 2

Thread: Unknown SQLException

  1. #1
    Senior Member
    Join Date
    Jul 2005
    Posts
    277

    Unknown SQLException

    Hey errbody,

    I'm tryin to do some jdbc connection stuff.

    I keep getting an error that says "SQLException: Io exception SO Exception was generated."
    The error is attached to the line below.


    Connection con = DriverManager.getConnection("jdbcracle:thin:@SAMPLE1",info);

    The name of the DB is Sample1.world and info is a java.util.properties object that holds my username, etc.

    I cant find what an SO exception is anywhere! Does anyone here know what it is?

    thx
    Difficult takes a day, Impossible takes a week~Kthln01!

  2. #2
    Senior Member
    Join Date
    Jul 2005
    Posts
    277
    Please ignore the above; it has been fixed.

    However, now I am trying to figure out how to get a String variable into a JAVA executeUpdate statement.

    I am randomly picking strings from vectors and I want to have them put into a oracle table.
    How can i convert that string so as to have it inside the executeUpdate command.

    any help is appreciated.
    Difficult takes a day, Impossible takes a week~Kthln01!

Posting Permissions

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