Configurations of the i-net JDBC drivers for Oracle Server

Classic Application

To use the driver in a classic application (not an application server) you can use the follow Java source sequence:

Class.forName("com.inet.ora.OraDriver");
Connection con = DriverManager.getConnection
("jdbc:inetora:<hostname>", "<user>", "<password>" )

Replace hostname, user and password with your values. For more details and additional properties see the manual.

Classic Application with connection pooling

This works only with SEROPTO and ORANXO. You can use the following Java source sequence:

Class.forName("com.inet.pool.PoolDriver");
Connection con = DriverManager.getConnection
("jdbc:inetpool:inetora:<hostname>", "<user>", "<password>" )

Replace hostname, user and password with your values. For more details and additional properties see the manual.

 

© Copyright 1996 - 2024, i-net software; All Rights Reserved.