Use this page to specify information for the SQLJ connection declaration
clause that you are creating.
In an SQLJ application, you must be connected to a database server
before you can run SQL statements. An SQLJ connection declaration clause generates
a connection context class that uses the JDBC DriverManager interface to create
the connection.
- Name
- The valid Java™ identifier to use for the generated
connection context class.
- Modifiers
- The access modifiers for the generated class. You
can choose one of the following access modifiers: public, protected, private,
or default.
- static
- Declares the generated class static.
- Implements: User interface
- The names of the interfaces that the generated
class implements. The interface names in the list must be separated by
commas. (Optional)
- With: DataSource
- The JNDI name of the DataSource object that represents
the data source to which the application will connect. (Optional)