This code
fragment illustrates how to load the USoft JDBC driver classes
within a Java program:
//Step 1
try
{
Class.forName("com.usoft.jrec.JrecDriver");
}
catch (ClassNotFoundException
e)
{
System.err.println("USoft JDBC
driver not found: " +
e.getMessage());
}
|