Top
Symfoware Server V12.1.0 Application Development Guide
FUJITSU Software

10.3 Connecting to the Database

The Java application uses the JDBC connection pool to connect to the database.

However, when using an integrated development environment such as Interstage Studio for testing during the Java application development stage, the JDBC driver is called directly in order to connect to the database.

Select the connection methods shown below according to the phase.

Development/testing phase

Call the JDBC directly to connect to the database.

Operation phase

The JDBC connection pool of PL/extJava is used to connect to the database.

Use DriverManager.getConnection() to obtain the connection.
"jdbc:default:connection" must be specified as the DriverManager.getConnection() argument.

java.sql.Connection conn = DriverManager.getConnection("jdbc:default:connection");