To import data from the database instance into a Java application or to export it from a Java application, use the Loader Java classes.
● You have installed the software component JDBC (see Installation Manual, Software Components).
● You have added the sapdbc.jar path to the CLASSPATH environment variable.
The Loader Java classes are contained in the file <independent_program_path>\runtime\jar\sapdbc.jar.
C:\Program Files\sdb\programs\runtime\jar\sapdbc.jar
Loader Java Classes
Class |
Task |
com.sap.dbtech.powertoys.Loader |
Establishing/closing the connection to the database instance Executing Loader commands (commands of the Loader tool) and SQL statements |
com.sap.dbtech.powertoys.LoaderException |
Error handling |
Methods of the com.sap.dbtech.powertoys.Loader Classes
Method |
Task |
Connecting Java applications to the Loader |
|
Executing Loader command or SQL statement |
|
Cancelling Loader command or SQL statement |
|
finalize |
This method overwrites the finalize()method of the class java.lang.Object. |
Ending the connection to the Loader |
Methods of the com.sap.dbtech.powertoys.LoaderException Classes
See also:
Loader, Commands and SQL Statements