title: How do I print the default value in Java without adding the default parameterized value in Oracle Function?
body: <p>My Oracle Script:</p>
  <pre><code>function emir_ilet_p(p_customer_no number,p_buy_sel varchar2,p_kontrat varchar2, p_miktat number,p_fyt_tipi varchar2 default 'PYS',p_fiyat number default 0,p_record_no number default null ) return varchar2;
  </code></pre>
  <p>My Java Code:</p>
  <pre><code>  CallableStatement  stmt;    
           try {
              
              stmt = Sv.connection.prepareCall(&quot;? = call PKG_VIOP_SO.emir_ilet_p(?,?,?,?,?,?,?)&quot;);
              stmt.setInt(1, 11111);
              stmt.setString(2, &quot;S&quot;);
              stmt.setString(3, &quot;Test&quot;);
              stmt.setInt(4, 2);
              stmt.execute();
                          
          } catch (SQLException e) {
              e.printStackTrace();
          }      
  </code></pre>
  <p>I want to send to Oracle default last 3 parameters. How Can I do this?  I'am gettin sqlException with this code.</p>