statements in my own sqlj files?
These packages belong to the JDBC API (java.sql.*) and to the SQLJ runtime API. In order to simplify the exposition in the examples, we import entire packages. However, you may just import those classes that you refer to in your sqlj program: package java.sql contains the JDBC API: SQLException – all exceptions raised by SQLJ at runtime are SQLExceptions (or a subclass thereof) any classes (such as java.sql.Date, java.sql.ResultSet) that you refer to explicitly package sqlj.runtime contains SQLJ types: SQLJ stream types that are referenced explicitly (e.g. BinaryStream) the ConnectionContext class package sqlj.runtime.ref contains reference implementations of SQLJ classes: the default context is set via the DefaultContext class.
Related Questions
- I recently reviewed my personnel work files and was horrified to read that some of the statements written by my supervisor were flat out wrong. Do I have grounds for a defamation suit?
- Can/Should individual committers added copyright statements to the NOTICE or source code files?
- statements in my own sqlj files?