The server-side connection example is almost identical to the client-side connection example, with the following exceptions:
The JDBC driver does not need to be preloaded.
It connects to the default running database using the current connection. The URL in the getConnection call has been changed as follows:
Connection con = DriverManager.getConnection( "jdbc:default:connection" );
System.exit() statements have been removed.
Discuter à propos de cette page dans DocCommentXchange.
|Copyright © 2013, SAP AG ou société affiliée SAP - SAP Sybase SQL Anywhere 16.0|