The server-side connection example is almost identical to the client-side connection example, with the following exceptions:
DriverManager.registerDriver( (Driver) Class.forName( // "com.sybase.jdbc3.jdbc.SybDriver").newInstance() "ianywhere.ml.jdbcodbc.IDriver").newInstance() ); |
Connection con = DriverManager.getConnection( "jdbc:default:connection" ); |
System.exit()
statements have been removed.
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |