Results 1 to 2 of 2
  1. #1
    digioleg is offline Member
    Join Date
    Aug 2009
    Posts
    8
    Rep Power
    0

    Default Oracle connection and register

    I am trying to maek oracle connection , then SP call

    String sql = “begin ? := p_get_Params (?); end;”

    CallableStatement cst con.prepareCall(sql);

    cst.registerOutParameter(1, OracleTypes.CURSOR); //this is for SP returning Result set

    cst.registerOutParameter(1, OracleTypes.INTEGER); //this is for SP Performing update

    The java prorgam does not understand OracleTypes.
    What do I have to do in such case? Did I missed something?

    Thanks,
    Oleg

  2. #2
    digioleg is offline Member
    Join Date
    Aug 2009
    Posts
    8
    Rep Power
    0

Similar Threads

  1. I need help with java-oracle connection
    By digioleg in forum JDBC
    Replies: 1
    Last Post: 08-08-2009, 09:29 AM
  2. Replies: 7
    Last Post: 04-07-2009, 06:04 AM
  3. connection with Oracle 10g
    By Somitesh Chakraborty in forum New To Java
    Replies: 5
    Last Post: 11-20-2008, 07:19 PM
  4. Register a callback function in other class
    By barts2108 in forum New To Java
    Replies: 2
    Last Post: 11-10-2008, 04:24 PM
  5. can't register a MySQL driver
    By prfalco in forum New To Java
    Replies: 4
    Last Post: 02-03-2008, 11:13 PM

Posting Permissions

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