Results 1 to 2 of 2
  1. #1
    Join Date
    May 2003
    Posts
    1

    Question Unanswered: DB2

    I am using DB2 UDB. I am connecting DB2 UDB Database through JDBC DataSource by Websphere Application Server.

    I am Selecting and inserting data into DB2 UDB Database, I am getting ERROR "com.ibm.ejs.container.UncheckedException: ; nested exception is:java.lang.NullPointerException"

    I would like to have suggestion or tips to resolve this problems.

    Regards
    Satish.

  2. #2
    Join Date
    May 2003
    Posts
    2
    put the statement that connects you to the database in a try block and in the catch find out what caused the exception.

    try
    {
    ... Connection statement goes here ...
    }
    catch(Exception ex)
    {
    System.out.println("Exception Reason: " + ex.toString());
    }

Posting Permissions

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