:: com :: sun :: star :: sdb ::

constants group CommandType
Description
indicates the type of a command.
Developers Guide
Database - PreparedStatement From DataSource Queries

Constants
TABLE indicates that a command contains a table name, which can be used to process a command like "select * from tablename".  
QUERY indicates that a command contains a name of a query component, which contains a certain statement.  
COMMAND indicates that the command is an SQL-Statement.  
Constants' Details
TABLE
const long TABLE = 0;
Description
indicates that a command contains a table name, which can be used to process a command like "select * from tablename".
QUERY
const long QUERY = 1;
Description
indicates that a command contains a name of a query component, which contains a certain statement.
COMMAND
const long COMMAND = 2;
Description
indicates that the command is an SQL-Statement.
Top of Page