Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.adfnmc.java.sql
Interface PreparedStatement2


public interface PreparedStatement2


Method Summary
 int getFormalIndex(java.lang.String name)
          When using named bind parameters, calling this method will return the 1-based index of the specified parameter name.
 java.lang.String getFormalName(int index)
          When using named bind parameters, calling this method will return the name of the specified 1-based parameter index.
 void setNullAtName(java.lang.String paramName, int sqlType)
          Binds the named parameter to null
 void setObjectAtName(java.lang.String paramName, java.lang.Object value)
          Binds the specified value for the parameter named by paramName
 

Method Detail

getFormalIndex

int getFormalIndex(java.lang.String name)
When using named bind parameters, calling this method will return the 1-based index of the specified parameter name.

Parameters:
name -
Returns:
Throws:
SQLException

getFormalName

java.lang.String getFormalName(int index)
When using named bind parameters, calling this method will return the name of the specified 1-based parameter index.

Parameters:
index -
Returns:
Throws:
SQLException

setObjectAtName

void setObjectAtName(java.lang.String paramName,
                     java.lang.Object value)
Binds the specified value for the parameter named by paramName

Parameters:
paramName - Name of parameter to bind
value - Value to bind for the specified parameter

setNullAtName

void setNullAtName(java.lang.String paramName,
                   int sqlType)
Binds the named parameter to null

Parameters:
paramName -
sqlType -

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.