setLocal(boolean local)

Syntax:

void setLocal(boolean local) throws SQLException

Description:

Sets the local mode. If local mode is enabled any server name and port will be ignored. If local mode is disabled, the server name and port will be used.

Parameters:

local

the requested local mode: true to enable local mode, false to disable it

Throws:

SQLException - if a database access error occurs