Configurations of the i-net JDBC drivers for MS SQL Server

Classic Application

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

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

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

see also:

Classic Application with connection pooling

This work only with OPTA and MERLIA. You can use the follow Java source sequence:

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

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

 

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