JDeveloper supports two mechanisms for embedding SQL in Java programs:
SQLJ allows you to code at a higher level than JDBC, by embedding SQL statements directly in your Java code. The SQLJ precompiler that is integrated into JDeveloper translates the SQL into Java plus JDBC code for you. SQLJ with JDeveloper lets you write and debug applications much faster than you can using just JDBC.
You can mix JDBC calls with SQLJ statements in your program. One way to do this is through connection context sharing.