Hi,
I want to know about
JDBC DB2 Type 4 driver.
I am written a
test JSP. Can you please tell me if it confirms to Type 4 specification?
<BODY>
<%try {
Class.forName("com.ibm.db2.jcc.DB2Driver");
String url= "jdbc:db2://MYDB.domain.com:446/MYDB";
%>
<% java.sql.Connection connection = java.sql.DriverManager.getConnection(url,"myuser","mypass");%>
<%
connection.close();
} catch (Exception e) {
%>
Error : <%=e%>
<%
}
%>
</BODY>
Can some one please help me make sure that this is Type 4? What are the requirements and conditions for Type 4?
Thanks