Overview | Module | Use | Devguide | Index

Constants | Constants' Details

:: com :: sun :: star :: sdb ::
constants group CommandType
Description indicates the type of a command. Developers Guide 12.3.6 Database Access - Manipulating Data - 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

Copyright © 2003 Sun Microsystems, Inc.