#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2013
    Posts
    2
    Rep Power
    0

    Exclamation Explain this code Please


    This is a continuation thread of my previous one.


    This particular code gives me error when i'm running my project in empty db.
    "
    st1 = con.prepareCall("{call sp_regtn_student_info_03(?)}");
    st1.setInt(1, Integer.parseInt(ai_id));
    "
    This same code runs perfectly when i run it using Existing DB.

    Note:
    There is no difference in stored procedure.
    I can print ai_id value in the Existing DB.
    But in Empty Db it doesn't run into the callable statement st1 itself.
  2. #2
  3. No Profile Picture
    Problem Solver
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jan 2001
    Location
    Stockholm, Sweden
    Posts
    4,495
    Rep Power
    534
    What is the detailed error message?
    /Stefan

IMN logo majestic logo threadwatch logo seochat tools logo