nativeSQL(String sql)

Syntax:

String nativeSQL(String sql) throws SQLException

Description:

Converts the given SQL statement into the system's native SQL grammar. A driver may convert the JDBC SQL grammar into its system's native SQL grammar prior to sending it. This method returns the native form of the statement that the driver would have sent.

Parameters:

sql

Type: String 

an SQL statement that may contain one or more '?' parameter placeholders

Returns:

Type: String 

the native form of this statement

Throws:

SQLException - if a database access error occurs

Reference:

For more information, reference JDBC documentation for: Connection.nativeSQL(String)