|
WebLogic Server 6.0 Code Examples, BEA Systems, Inc. | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--examples.jdbc.oracle.exsql
This simple example shows how JDBC Extended SQL can be embedded in standard SQL sent to the DBMS. Extended SQL is part of the JDBC spec, and provides a DBMS-neutral way of using the many secondary functions that all DBMSes provide, but in a proprietary syntax. The WebLogic JDBC drivers will convert extended SQL syntax to the DBMS-specific syntax for the relevant function. Please see our documentation for links to the complete Extended SQL specification.
This example is run on the command line and is output to System.out.
$ javac -d %CLIENT_CLASSES% exsql.java
$ java examples.jdbc.oracle.exsql
Constructor Summary | |
exsql()
|
Method Summary | |
static void |
main(java.lang.String[] argv)
In the main, we set properties for the connection, acquire a Connection object, and then create the Extended SQL and execute it in the Statement. |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public exsql()
Method Detail |
public static void main(java.lang.String[] argv) throws java.lang.Exception
|
Documentation is available at http://e-docs.bea.com/wls/docs60 |
|||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |