...
1. Cal the Loader.
import com.sap.dbtech.powertoys.*;
…
<lvalue> = new Loader ();
<lvalue> = new Loader (<loader_computer>);
Parameter |
Description |
<lvalue> |
Expression of the class Loader (such as a variable) to which a value can be assigned |
<loader_computer> |
Name of the computer on which the Loader is called You can call the Loader on a remote computer. When you call the constructor Loader (<loader_server_name>), the Loader is started on the remote computer. If you specify file names in the Loader commands while connected to this remote computer, then these file names refer to the file system of this computer. |
2. To establish a connection to the database instance, execute Loader commands USE SERVERDB and USE USER.
See also:
Executing Loader Commands and SQL Statements with Java
Example for Creating a Table with Java