Skip to Main Content
Oracle in a Nutshell
book

Oracle in a Nutshell

by Rick Greenwald, David C. Kreines
December 2002
Intermediate to advanced content levelIntermediate to advanced
928 pages
85h 29m
English
O'Reilly Media, Inc.
Content preview from Oracle in a Nutshell

Compiling SQLJ Code

Once you have created a Java program using SQLJ, you use the sqlj program to compile the code. You can invoke this program using the following syntax:

sqlj [option_list] file_list

The flags available for the option list are:

-cache [=True | False]

Boolean indicating whether to enable caching of results of online semantics checking. Default is False.

-checkfilename [=True | False]

Boolean indicating whether to display warnings if source filename does not match name in public class. Default is True.

-classpath

Specifies Java CLASSPATH.

-codegen=oracle

Suppresses creation of profile files. New with Oracle9i.

-compile [=True | False]

Boolean indicating whether .java file produced should be compiled. Default is True.

-compiler-executable

Executable name of Java compiler.

-compiler-output-file

File for output from compiler. If not present, displayed on screen.

-Coption

Option to be passed to Java compiler.

-d

Directory for .ser and .class files produced.

-default-customizer

Class name for profile customizer. Default is oracle.sqlj.runtime.util.OraCustomizer.

-dir

Directory for .java files produced.

-driver

Class name for JDBC driver to use. Default is oracle.jdbc.driver.OracleDriver.

-explain [=True | False]

Boolean indicating whether to turn on detailed error messages. Default is False.

-g

Causes compiler to include debugging code.

-help

Displays list of options.

-Joption

Option to be passed to JVM.

-linemap [=True | False]

Boolean indicating whether to enable the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Oracle Internals

Oracle Internals

Donald K. Burleson
Oracle PL/SQL

Oracle PL/SQL

Lewis Cunningham
Oracle Essentials: Oracle9i, Oracle8i and Oracle8, Second Edition

Oracle Essentials: Oracle9i, Oracle8i and Oracle8, Second Edition

Rick Greenwald, Robert Stackowiak, Jonathan Stern

Publisher Resources

ISBN: 0596003366Errata Page