fuadhamidov
Programmer
hi
i have used odbc:jdbc to connect to MS SQL , but i get some regional character problem . so now i try microsoft JDBC Driver. at background there is a connection pool that create a number of connection.
i call this connection pool by following statament:
private static ConnectionPool con = new ConnectionPool
("sun.jdbc.odbc.JdbcOdbcDriver", "jdbcdbc:datasourcename;Connect Timeout=100",
userName, pass, anyInt1, anyInt2, anyBoolean );
now i replace some (bold) part for MS JDBC Driver:
private static ConnectionPool con = new ConnectionPool("com.microsoft.jdbc.sqlserver.SQLServerDriver", "jdbc:microsoft:sqlserver://localhost:80",
userName, pass, anyInt1, anyInt2, anyBoolean );
where is the error i dont know.is there any who can help me
i have used odbc:jdbc to connect to MS SQL , but i get some regional character problem . so now i try microsoft JDBC Driver. at background there is a connection pool that create a number of connection.
i call this connection pool by following statament:
private static ConnectionPool con = new ConnectionPool
("sun.jdbc.odbc.JdbcOdbcDriver", "jdbcdbc:datasourcename;Connect Timeout=100",
userName, pass, anyInt1, anyInt2, anyBoolean );
now i replace some (bold) part for MS JDBC Driver:
private static ConnectionPool con = new ConnectionPool("com.microsoft.jdbc.sqlserver.SQLServerDriver", "jdbc:microsoft:sqlserver://localhost:80",
userName, pass, anyInt1, anyInt2, anyBoolean );
where is the error i dont know.is there any who can help me