Contents Index Running the external connection example Server-side connection example code

ASA Programming Guide
  JDBC Programming
    Establishing JDBC connections

Establishing a connection from a server-side JDBC class


SQL statements in JDBC are built using the createStatement method of a Connection object. Even classes running inside the server need to establish a connection to create a Connection object.

Establishing a connection from a server-side JDBC class is more straightforward than establishing an external connection. Because a user already connected executes the server-side class, the class simply uses the current connection.


Server-side connection example code
How the server-side connection example works
Running the server-side connection example

Contents Index Running the external connection example Server-side connection example code