Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-05

oracle.apps.fnd.applcore.flex.common.sql
Class SQLUtils

java.lang.Object
  extended by oracle.apps.fnd.applcore.flex.common.sql.SQLUtils

public class SQLUtils
extends java.lang.Object


Constructor Summary
SQLUtils()
           
 
Method Summary
static void validateSQLSelectStatement(java.lang.String sql, oracle.jbo.ApplicationModule am)
          Validates the syntax of the SQL select statement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLUtils

public SQLUtils()
Method Detail

validateSQLSelectStatement

public static void validateSQLSelectStatement(java.lang.String sql,
                                              oracle.jbo.ApplicationModule am)
Validates the syntax of the SQL select statement. If the SQL contains bind variables, they must use either the Oracle Named or Positional syntax; JDBC Positional syntax using the question mark as a placeholder is not supported.

Parameters:
sql - the SQL select statement to validate
am - the Application Module from which to get the database connection
Throws:
oracle.jbo.SQLStmtException - if there is an error in the SQL syntax

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-05

Copyright © 2012 Oracle. All Rights Reserved.