org.firebirdsql.gds.ISCConstants Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jaybird-jdk17 Show documentation
Show all versions of jaybird-jdk17 Show documentation
JDBC Driver for the Firebird RDBMS
/*
* Public Firebird Java API.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. The name of the author may not be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
* EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/* The Original Code is the Firebird Java GDS implementation.
*
* The Initial Developer of the Original Code is Alejandro Alberola.
* Portions created by Alejandro Alberola are Copyright (C) 2001
* Boix i Oltra, S.L. All Rights Reserved.
*
*/
package org.firebirdsql.gds;
/**
* The interface GDS
has most of the C client interface functions
* lightly mapped to java, as well as the constants returned from the server..
*
* @author Alejandro Alberola
* @author David Jencks
* @version 1.0
*/
public interface ISCConstants {
public final static int SQLDA_VERSION1 = 1;
public final static int SQL_DIALECT_V5 = 1;
public final static int SQL_DIALECT_V6_TRANSITION = 2;
public final static int SQL_DIALECT_V6 = 3;
public final static int SQL_DIALECT_CURRENT = SQL_DIALECT_V6;
public final static int DSQL_close = 1;
public final static int DSQL_drop = 2;
/**********************************/
/* Database parameter block stuff */
/**********************************/
public final static int isc_dpb_version1 = 1;
public final static int isc_dpb_cdd_pathname = 1;
public final static int isc_dpb_allocation = 2;
public final static int isc_dpb_journal = 3;
public final static int isc_dpb_page_size = 4;
public final static int isc_dpb_num_buffers = 5;
public final static int isc_dpb_buffer_length = 6;
public final static int isc_dpb_debug = 7;
public final static int isc_dpb_garbage_collect = 8;
public final static int isc_dpb_verify = 9;
public final static int isc_dpb_sweep = 10;
public final static int isc_dpb_enable_journal = 11;
public final static int isc_dpb_disable_journal = 12;
public final static int isc_dpb_dbkey_scope = 13;
public final static int isc_dpb_number_of_users = 14;
public final static int isc_dpb_trace = 15;
public final static int isc_dpb_no_garbage_collect = 16;
public final static int isc_dpb_damaged = 17;
public final static int isc_dpb_license = 18;
public final static int isc_dpb_sys_user_name = 19;
public final static int isc_dpb_encrypt_key = 20;
public final static int isc_dpb_activate_shadow = 21;
public final static int isc_dpb_sweep_interval = 22;
public final static int isc_dpb_delete_shadow = 23;
public final static int isc_dpb_force_write = 24;
public final static int isc_dpb_begin_log = 25;
public final static int isc_dpb_quit_log = 26;
public final static int isc_dpb_no_reserve = 27;
public final static int isc_dpb_user_name = 28;
public final static int isc_dpb_user = 28; // alias to isc_dpb_user_name
public final static int isc_dpb_password = 29;
public final static int isc_dpb_password_enc = 30;
public final static int isc_dpb_sys_user_name_enc = 31;
public final static int isc_dpb_interp = 32;
public final static int isc_dpb_online_dump = 33;
public final static int isc_dpb_old_file_size = 34;
public final static int isc_dpb_old_num_files = 35;
public final static int isc_dpb_old_file = 36;
public final static int isc_dpb_old_start_page = 37;
public final static int isc_dpb_old_start_seqno = 38;
public final static int isc_dpb_old_start_file = 39;
public final static int isc_dpb_drop_walfile = 40;
public final static int isc_dpb_old_dump_id = 41;
public final static int isc_dpb_wal_backup_dir = 42;
public final static int isc_dpb_wal_chkptlen = 43;
public final static int isc_dpb_wal_numbufs = 44;
public final static int isc_dpb_wal_bufsize = 45;
public final static int isc_dpb_wal_grp_cmt_wait = 46;
public final static int isc_dpb_lc_messages = 47;
public final static int isc_dpb_lc_ctype = 48;
public final static int isc_dpb_cache_manager = 49;
public final static int isc_dpb_shutdown = 50;
public final static int isc_dpb_online = 51;
public final static int isc_dpb_shutdown_delay = 52;
public final static int isc_dpb_reserved = 53;
public final static int isc_dpb_overwrite = 54;
public final static int isc_dpb_sec_attach = 55;
public final static int isc_dpb_disable_wal = 56;
public final static int isc_dpb_connect_timeout = 57;
public final static int isc_dpb_dummy_packet_interval = 58;
public final static int isc_dpb_gbak_attach = 59;
public final static int isc_dpb_sql_role_name = 60;
public final static int isc_dpb_set_page_buffers = 61;
public final static int isc_dpb_working_directory = 62;
public final static int isc_dpb_sql_dialect = 63;
public final static int isc_dpb_set_db_readonly = 64;
public final static int isc_dpb_set_db_sql_dialect = 65;
public final static int isc_dpb_gfix_attach = 66;
public final static int isc_dpb_gstat_attach = 67;
public final static int isc_dpb_set_db_charset = 68;
// Firebird 2.1 constants
public final static int isc_dpb_gsec_attach = 69;
public final static int isc_dpb_address_path = 70;
public final static int isc_dpb_process_id = 71;
public final static int isc_dpb_no_db_triggers = 72;
public final static int isc_dpb_trusted_auth = 73;
public final static int isc_dpb_process_name = 74;
// Firebird 2.5 constants
public final static int isc_dpb_trusted_role = 75;
public final static int isc_dpb_org_filename = 76;
public final static int isc_dpb_utf8_filename = 77;
public final static int isc_dpb_ext_call_depth = 78;
/*
* Driver-specific DPB params that will be removed before sending them
* to the server. These params influence only client side.
*/
public final static int isc_dpb_socket_buffer_size = 129;
public final static int isc_dpb_blob_buffer_size = 130;
public final static int isc_dpb_use_stream_blobs = 131;
public final static int isc_dpb_paranoia_mode = 132;
public final static int isc_dpb_timestamp_uses_local_timezone = 133;
public final static int isc_dpb_use_standard_udf = 134;
public final static int isc_dpb_local_encoding = 135;
public final static int isc_dpb_mapping_path = 136;
public final static int isc_dpb_no_result_set_tracking = 137;
public final static int isc_dpb_result_set_holdable = 138;
public final static int isc_dpb_filename_charset = 139;
public final static int isc_dpb_octets_as_bytes = 140;
public final static int isc_dpb_so_timeout = 141;
public final static int isc_dpb_column_label_for_name = 142;
public final static int isc_dpb_use_firebird_autocommit = 143;
/*************************************/
/* Transaction parameter block stuff */
/*************************************/
public final static int isc_tpb_version1 = 1;
public final static int isc_tpb_version3 = 3;
public final static int isc_tpb_consistency = 1;
public final static int isc_tpb_concurrency = 2;
public final static int isc_tpb_shared = 3;
public final static int isc_tpb_protected = 4;
public final static int isc_tpb_exclusive = 5;
public final static int isc_tpb_wait = 6;
public final static int isc_tpb_nowait = 7;
public final static int isc_tpb_read = 8;
public final static int isc_tpb_write = 9;
public final static int isc_tpb_lock_read = 10;
public final static int isc_tpb_lock_write = 11;
public final static int isc_tpb_verb_time = 12;
public final static int isc_tpb_commit_time = 13;
public final static int isc_tpb_ignore_limbo = 14;
public final static int isc_tpb_read_committed = 15;
public final static int isc_tpb_autocommit = 16;
public final static int isc_tpb_rec_version = 17;
public final static int isc_tpb_no_rec_version = 18;
public final static int isc_tpb_restart_requests = 19;
public final static int isc_tpb_no_auto_undo = 20;
public final static int isc_tpb_lock_timeout = 21;
/*************************************/
/* Service parameter block stuff */
/*************************************/
public final static int isc_spb_version1 = 1;
public final static int isc_spb_current_version = 2;
public final static int isc_spb_version = isc_spb_current_version;
public final static int isc_spb_user_name = isc_dpb_user_name;
public final static int isc_spb_sys_user_name = isc_dpb_sys_user_name;
public final static int isc_spb_sys_user_name_enc = isc_dpb_sys_user_name_enc;
public final static int isc_spb_password = isc_dpb_password;
public final static int isc_spb_password_enc = isc_dpb_password_enc;
public final static int isc_spb_command_line = 105;
public final static int isc_spb_dbname = 106;
public final static int isc_spb_verbose = 107;
public final static int isc_spb_options = 108;
public final static int isc_spb_connect_timeout = isc_dpb_connect_timeout;
public final static int isc_spb_dummy_packet_interval = isc_dpb_dummy_packet_interval;
public final static int isc_spb_sql_role_name = isc_dpb_sql_role_name;
/*****************************************
* Parameters for isc_action_svc_nbak *
* New with Firebird 2.5
*****************************************/
public final static int isc_spb_nbk_level = 5;
public final static int isc_spb_nbk_file = 6;
public final static int isc_spb_nbk_no_triggers = 0x01;
/*****************************
* Service action items *
*****************************/
public final static int isc_action_svc_backup = 1; /* Starts database backup process on the server */
public final static int isc_action_svc_restore = 2; /* Starts database restore process on the server */
public final static int isc_action_svc_repair = 3; /* Starts database repair process on the server */
public final static int isc_action_svc_add_user = 4; /* Adds a new user to the security database */
public final static int isc_action_svc_delete_user = 5; /* Deletes a user record from the security database */
public final static int isc_action_svc_modify_user = 6; /* Modifies a user record in the security database */
public final static int isc_action_svc_display_user = 7; /* Displays a user record from the security database */
public final static int isc_action_svc_properties = 8; /* Sets database properties */
public final static int isc_action_svc_add_license = 9; /* Adds a license to the license file */
public final static int isc_action_svc_remove_license =10; /* Removes a license from the license file */
public final static int isc_action_svc_db_stats =11; /* Retrieves database statistics */
public final static int isc_action_svc_get_ib_log =12; /* Retrieves the InterBase log file from the server */
int isc_action_svc_get_fb_log = 12; /* Retrieves the Firebird log file from the server */
// NBackup - New with Firebird 2.5
public final static int isc_action_svc_nbak = 20; // Starts Nbackup
public final static int isc_action_svc_nrest = 21; // Restores Nbackup
// Trace - New with Firebird 2.5
public final static int isc_action_svc_trace_start = 22; // Starts a trace
public final static int isc_action_svc_trace_stop = 23; // Stops a trace
public final static int isc_action_svc_trace_suspend = 24; // Suspends a trace
public final static int isc_action_svc_trace_resume = 25; // Resumes a trace
public final static int isc_action_svc_trace_list = 26; // Lists all trace sessions
// RDB$ADMIN mapping - New with Firebird 2.5
public final static int isc_action_svc_set_mapping = 27; // Sets RDB$ADMIN auto mapping in security database
public final static int isc_action_svc_drop_mapping = 28; // Drops RDB$ADMIN auto mapping in security database
/*****************************************
* Parameters for isc_action_svc_trace *
*****************************************/
public final static int isc_spb_trc_id = 1; // relevant for stop, suspend and resume
public final static int isc_spb_trc_name = 2; // relevant for start
public final static int isc_spb_trc_cfg = 3; // relevant for start
/*****************************
* Service information items *
*****************************/
public final static int isc_info_svc_svr_db_info =50; /* Retrieves the number of attachments and databases */
public final static int isc_info_svc_get_license =51; /* Retrieves all license keys and IDs from the license file */
public final static int isc_info_svc_get_license_mask =52; /* Retrieves a bitmask representing licensed options on the server */
public final static int isc_info_svc_get_config =53; /* Retrieves the parameters and values for IB_CONFIG */
public final static int isc_info_svc_version =54; /* Retrieves the version of the services manager */
public final static int isc_info_svc_server_version =55; /* Retrieves the version of the InterBase server */
public final static int isc_info_svc_implementation =56; /* Retrieves the implementation of the InterBase server */
public final static int isc_info_svc_capabilities =57; /* Retrieves a bitmask representing the server's capabilities */
public final static int isc_info_svc_user_dbpath =58; /* Retrieves the path to the security database in use by the server */
public final static int isc_info_svc_get_env =59; /* Retrieves the setting of $INTERBASE */
public final static int isc_info_svc_get_env_lock =60; /* Retrieves the setting of $INTERBASE_LCK */
public final static int isc_info_svc_get_env_msg =61; /* Retrieves the setting of $INTERBASE_MSG */
public final static int isc_info_svc_line =62; /* Retrieves 1 line of service output per call */
public final static int isc_info_svc_to_eof =63; /* Retrieves as much of the server output as will fit in the supplied buffer */
public final static int isc_info_svc_timeout =64; /* Sets / signifies a timeout value for reading service information */
public final static int isc_info_svc_get_licensed_users =65; /* Retrieves the number of users licensed for accessing the server */
public final static int isc_info_svc_limbo_trans =66; /* Retrieve the limbo transactions */
public final static int isc_info_svc_running =67; /* Checks to see if a service is running on an attachment */
public final static int isc_info_svc_get_users =68;/* Returns the user information from isc_action_svc_display_users */
/******************************************************
* Parameters for isc_action_{add|delete|modify)_user *
******************************************************/
public final static int isc_spb_sec_userid = 5;
public final static int isc_spb_sec_groupid = 6;
public final static int isc_spb_sec_username = 7;
public final static int isc_spb_sec_password = 8;
public final static int isc_spb_sec_groupname = 9;
public final static int isc_spb_sec_firstname = 10;
public final static int isc_spb_sec_middlename = 11;
public final static int isc_spb_sec_lastname = 12;
/*******************************************************
* Parameters for isc_action_svc_(add|remove)_license, *
* isc_info_svc_get_license *
*******************************************************/
public final static int isc_spb_lic_key = 5;
public final static int isc_spb_lic_id = 6;
public final static int isc_spb_lic_desc = 7;
/*****************************************
* Parameters for isc_action_svc_backup *
*****************************************/
public final static int isc_spb_bkp_file = 5;
public final static int isc_spb_bkp_factor = 6;
public final static int isc_spb_bkp_length = 7;
public final static int isc_spb_bkp_ignore_checksums = 0x01;
public final static int isc_spb_bkp_ignore_limbo = 0x02;
public final static int isc_spb_bkp_metadata_only = 0x04;
public final static int isc_spb_bkp_no_garbage_collect = 0x08;
public final static int isc_spb_bkp_old_descriptions = 0x10;
public final static int isc_spb_bkp_non_transportable = 0x20;
public final static int isc_spb_bkp_convert = 0x40;
public final static int isc_spb_bkp_expand = 0x80;
/********************************************
* Parameters for isc_action_svc_properties *
********************************************/
public final static int isc_spb_prp_page_buffers = 5;
public final static int isc_spb_prp_sweep_interval = 6;
public final static int isc_spb_prp_shutdown_db = 7;
public final static int isc_spb_prp_deny_new_attachments = 9;
public final static int isc_spb_prp_deny_new_transactions = 10;
public final static int isc_spb_prp_reserve_space = 11;
public final static int isc_spb_prp_write_mode = 12;
public final static int isc_spb_prp_access_mode = 13;
public final static int isc_spb_prp_set_sql_dialect = 14;
public final static int isc_spb_prp_activate = 0x0100;
public final static int isc_spb_prp_db_online = 0x0200;
// New shutdown/online modes - New with Firebird 2.5
public final static int isc_spb_prp_force_shutdown = 41;
public final static int isc_spb_prp_attachments_shutdown = 42;
public final static int isc_spb_prp_transactions_shutdown = 43;
public final static int isc_spb_prp_shutdown_mode = 44;
public final static int isc_spb_prp_online_mode = 45;
public final static int isc_spb_prp_sm_normal = 0;
public final static int isc_spb_prp_sm_multi = 1;
public final static int isc_spb_prp_sm_single = 2;
public final static int isc_spb_prp_sm_full = 3;
/********************************************
* Parameters for isc_spb_prp_reserve_space *
********************************************/
public final static int isc_spb_prp_res_use_full =35;
public final static int isc_spb_prp_res =36;
/******************************************
* Parameters for isc_spb_prp_write_mode *
******************************************/
public final static int isc_spb_prp_wm_async =37;
public final static int isc_spb_prp_wm_sync =38;
/******************************************
* Parameters for isc_spb_prp_access_mode *
******************************************/
public final static int isc_spb_prp_am_readonly =39;
public final static int isc_spb_prp_am_readwrite =40;
/*****************************************
* Parameters for isc_action_svc_repair *
*****************************************/
public final static int isc_spb_rpr_commit_trans = 15;
public final static int isc_spb_rpr_rollback_trans = 34;
public final static int isc_spb_rpr_recover_two_phase= 17;
public final static int isc_spb_tra_id = 18;
public final static int isc_spb_single_tra_id = 19;
public final static int isc_spb_multi_tra_id = 20;
public final static int isc_spb_tra_state = 21;
public final static int isc_spb_tra_state_limbo = 22;
public final static int isc_spb_tra_state_commit = 23;
public final static int isc_spb_tra_state_rollback = 24;
public final static int isc_spb_tra_state_unknown = 25;
public final static int isc_spb_tra_host_site = 26;
public final static int isc_spb_tra_remote_site = 27;
public final static int isc_spb_tra_db_path = 28;
public final static int isc_spb_tra_advise = 29;
public final static int isc_spb_tra_advise_commit = 30;
public final static int isc_spb_tra_advise_rollback = 31;
public final static int isc_spb_tra_advise_unknown = 33;
int isc_spb_tra_id_64 = 46;
int isc_spb_single_tra_id_64 = 47;
int isc_spb_multi_tra_id_64 = 48;
int isc_spb_rpr_commit_trans_64 = 49;
int isc_spb_rpr_rollback_trans_64 =50;
int isc_spb_rpr_recover_two_phase_64 =51;
public final static int isc_spb_rpr_validate_db = 0x01;
public final static int isc_spb_rpr_sweep_db = 0x02;
public final static int isc_spb_rpr_mend_db = 0x04;
public final static int isc_spb_rpr_list_limbo_trans= 0x08;
public final static int isc_spb_rpr_check_db = 0x10;
public final static int isc_spb_rpr_ignore_checksum = 0x20;
public final static int isc_spb_rpr_kill_shadows = 0x40;
public final static int isc_spb_rpr_full = 0x80;
int isc_spb_rpr_icu = 0x0800;
/*****************************************
* Parameters for isc_action_svc_restore *
*****************************************/
public final static int isc_spb_res_buffers = 9;
public final static int isc_spb_res_page_size = 10;
public final static int isc_spb_res_length = 11;
public final static int isc_spb_res_access_mode = 12;
public final static int isc_spb_res_deactivate_idx = 0x0100;
public final static int isc_spb_res_no_shadow = 0x0200;
public final static int isc_spb_res_no_validity = 0x0400;
public final static int isc_spb_res_one_at_a_time = 0x0800;
public final static int isc_spb_res_replace = 0x1000;
public final static int isc_spb_res_create = 0x2000;
public final static int isc_spb_res_use_all_space = 0x4000;
/******************************************
* Parameters for isc_spb_res_access_mode *
******************************************/
public final static int isc_spb_res_am_readonly = isc_spb_prp_am_readonly;
public final static int isc_spb_res_am_readwrite = isc_spb_prp_am_readwrite;
/*******************************************
* Parameters for isc_info_svc_svr_db_info *
*******************************************/
public final static int isc_spb_num_att = 5;
public final static int isc_spb_num_db = 6;
/*****************************************
* Parameters for isc_info_svc_db_stats *
*****************************************/
public final static int isc_spb_sts_data_pages = 0x01;
public final static int isc_spb_sts_db_log = 0x02;
public final static int isc_spb_sts_hdr_pages = 0x04;
public final static int isc_spb_sts_idx_pages = 0x08;
public final static int isc_spb_sts_sys_relations= 0x10;
public final static int isc_spb_sts_record_versions = 0x20;
public final static int isc_spb_sts_table = 0x40;
public final static int isc_spb_sts_nocreation = 0x80;
int isc_spb_sts_encryption = 0x100;
/****************************/
/* Common, structural codes */
/****************************/
public final static int isc_info_end = 1;
public final static int isc_info_truncated = 2;
public final static int isc_info_error = 3;
public final static int isc_info_data_not_ready = 4;
public final static int isc_info_flag_end = 127;
/*************************/
/* SQL information items */
/*************************/
public final static int isc_info_sql_select = 4;
public final static int isc_info_sql_bind = 5;
public final static int isc_info_sql_num_variables = 6;
public final static int isc_info_sql_describe_vars = 7;
public final static int isc_info_sql_describe_end = 8;
public final static int isc_info_sql_sqlda_seq = 9;
public final static int isc_info_sql_message_seq = 10;
public final static int isc_info_sql_type = 11;
public final static int isc_info_sql_sub_type = 12;
public final static int isc_info_sql_scale = 13;
public final static int isc_info_sql_length = 14;
public final static int isc_info_sql_null_ind = 15;
public final static int isc_info_sql_field = 16;
public final static int isc_info_sql_relation = 17;
public final static int isc_info_sql_owner = 18;
public final static int isc_info_sql_alias = 19;
public final static int isc_info_sql_sqlda_start = 20;
public final static int isc_info_sql_stmt_type = 21;
public final static int isc_info_sql_get_plan = 22;
public final static int isc_info_sql_records = 23;
public final static int isc_info_sql_batch_fetch = 24;
public final static int isc_info_sql_relation_alias = 25;
/*********************************/
/* SQL information return values */
/*********************************/
public final static int isc_info_sql_stmt_select = 1;
public final static int isc_info_sql_stmt_insert = 2;
public final static int isc_info_sql_stmt_update = 3;
public final static int isc_info_sql_stmt_delete = 4;
public final static int isc_info_sql_stmt_ddl = 5;
public final static int isc_info_sql_stmt_get_segment = 6;
public final static int isc_info_sql_stmt_put_segment = 7;
public final static int isc_info_sql_stmt_exec_procedure = 8;
public final static int isc_info_sql_stmt_start_trans = 9;
public final static int isc_info_sql_stmt_commit = 10;
public final static int isc_info_sql_stmt_rollback = 11;
public final static int isc_info_sql_stmt_select_for_upd = 12;
public final static int isc_info_sql_stmt_set_generator = 13;
public final static int isc_info_sql_stmt_savepoint = 14;
/*****************************/
/* Request information items */
/*****************************/
public final static int isc_info_number_messages = 4;
public final static int isc_info_max_message = 5;
public final static int isc_info_max_send = 6;
public final static int isc_info_max_receive = 7;
public final static int isc_info_state = 8;
public final static int isc_info_message_number = 9;
public final static int isc_info_message_size = 10;
public final static int isc_info_request_cost = 11;
public final static int isc_info_access_path = 12;
public final static int isc_info_req_select_count = 13;
public final static int isc_info_req_insert_count = 14;
public final static int isc_info_req_update_count = 15;
public final static int isc_info_req_delete_count = 16;
/*****************************/
/* Request information items */
/*****************************/
public final static int isc_info_db_id = 4;
public final static int isc_info_reads = 5;
public final static int isc_info_writes = 6;
public final static int isc_info_fetches = 7;
public final static int isc_info_marks = 8;
public final static int isc_info_implementation = 11;
public final static int isc_info_isc_version = 12;
public final static int isc_info_base_level = 13;
public final static int isc_info_page_size = 14;
public final static int isc_info_num_buffers = 15;
public final static int isc_info_limbo = 16;
public final static int isc_info_current_memory = 17;
public final static int isc_info_max_memory = 18;
public final static int isc_info_window_turns = 19;
public final static int isc_info_license = 20;
public final static int isc_info_allocation = 21;
public final static int isc_info_attachment_id = 22;
public final static int isc_info_read_seq_count = 23;
public final static int isc_info_read_idx_count = 24;
public final static int isc_info_insert_count = 25;
public final static int isc_info_update_count = 26;
public final static int isc_info_delete_count = 27;
public final static int isc_info_backout_count = 28;
public final static int isc_info_purge_count = 29;
public final static int isc_info_expunge_count = 30;
public final static int isc_info_sweep_interval = 31;
public final static int isc_info_ods_version = 32;
public final static int isc_info_ods_minor_version = 33;
public final static int isc_info_no_reserve = 34;
public final static int isc_info_logfile = 35;
public final static int isc_info_cur_logfile_name = 36;
public final static int isc_info_cur_log_part_offset = 37;
public final static int isc_info_num_wal_buffers = 38;
public final static int isc_info_wal_buffer_size = 39;
public final static int isc_info_wal_ckpt_length = 40;
public final static int isc_info_wal_cur_ckpt_interval = 41;
public final static int isc_info_wal_prv_ckpt_fname = 42;
public final static int isc_info_wal_prv_ckpt_poffset = 43;
public final static int isc_info_wal_recv_ckpt_fname = 44;
public final static int isc_info_wal_recv_ckpt_poffset = 45;
public final static int isc_info_wal_grpc_wait_usecs = 47;
public final static int isc_info_wal_num_io = 48;
public final static int isc_info_wal_avg_io_size = 49;
public final static int isc_info_wal_num_commits = 50;
public final static int isc_info_wal_avg_grpc_size = 51;
public final static int isc_info_forced_writes = 52;
public final static int isc_info_user_names = 53;
public final static int isc_info_page_errors = 54;
public final static int isc_info_record_errors = 55;
public final static int isc_info_bpage_errors = 56;
public final static int isc_info_dpage_errors = 57;
public final static int isc_info_ipage_errors = 58;
public final static int isc_info_ppage_errors = 59;
public final static int isc_info_tpage_errors = 60;
public final static int isc_info_set_page_buffers = 61;
public final static int isc_info_db_sql_dialect = 62;
public final static int isc_info_db_read_only = 63;
public final static int isc_info_db_size_in_pages = 64;
/* Values 65 -100 unused to avoid conflict with InterBase */
public final static int frb_info_att_charset = 101;
public final static int isc_info_db_class = 102;
public final static int isc_info_firebird_version = 103;
public final static int isc_info_oldest_transaction = 104;
public final static int isc_info_oldest_active = 105;
public final static int isc_info_oldest_snapshot = 106;
public final static int isc_info_next_transaction = 107;
public final static int isc_info_db_provider = 108;
public final static int isc_info_active_transactions = 109;
public final static int isc_info_active_tran_count = 110;
public final static int isc_info_creation_date = 111;
public final static int isc_info_db_impl_rdb_vms = 1;
public final static int isc_info_db_impl_rdb_eln = 2;
public final static int isc_info_db_impl_rdb_eln_dev = 3;
public final static int isc_info_db_impl_rdb_vms_y = 4;
public final static int isc_info_db_impl_rdb_eln_y = 5;
public final static int isc_info_db_impl_jri = 6;
public final static int isc_info_db_impl_jsv = 7;
public final static int isc_info_db_impl_isc_apl_68K = 25;
public final static int isc_info_db_impl_isc_vax_ultr = 26;
public final static int isc_info_db_impl_isc_vms = 27;
public final static int isc_info_db_impl_isc_sun_68k = 28;
public final static int isc_info_db_impl_isc_os2 = 29;
public final static int isc_info_db_impl_isc_sun4 = 30;
public final static int isc_info_db_impl_isc_hp_ux = 31;
public final static int isc_info_db_impl_isc_sun_386i = 32;
public final static int isc_info_db_impl_isc_vms_orcl = 33;
public final static int isc_info_db_impl_isc_mac_aux = 34;
public final static int isc_info_db_impl_isc_rt_aix = 35;
public final static int isc_info_db_impl_isc_mips_ult = 36;
public final static int isc_info_db_impl_isc_xenix = 37;
public final static int isc_info_db_impl_isc_dg = 38;
public final static int isc_info_db_impl_isc_hp_mpexl = 39;
public final static int isc_info_db_impl_isc_hp_ux68K = 40;
public final static int isc_info_db_impl_isc_sgi = 41;
public final static int isc_info_db_impl_isc_sco_unix = 42;
public final static int isc_info_db_impl_isc_cray = 43;
public final static int isc_info_db_impl_isc_imp = 44;
public final static int isc_info_db_impl_isc_delta = 45;
public final static int isc_info_db_impl_isc_next = 46;
public final static int isc_info_db_impl_isc_dos = 47;
public final static int isc_info_db_impl_m88K = 48;
public final static int isc_info_db_impl_unixware = 49;
public final static int isc_info_db_impl_isc_winnt_x86 = 50;
public final static int isc_info_db_impl_isc_epson = 51;
public final static int isc_info_db_impl_alpha_osf = 52;
public final static int isc_info_db_impl_alpha_vms = 53;
public final static int isc_info_db_impl_netware_386 = 54;
public final static int isc_info_db_impl_win_only = 55;
public final static int isc_info_db_impl_ncr_3000 = 56;
public final static int isc_info_db_impl_winnt_ppc = 57;
public final static int isc_info_db_impl_dg_x86 = 58;
public final static int isc_info_db_impl_sco_ev = 59;
public final static int isc_info_db_impl_i386 = 60;
public final static int isc_info_db_impl_freebsd = 61;
public final static int isc_info_db_impl_netbsd = 62;
public final static int isc_info_db_impl_darwin = 63;
public final static int isc_info_db_impl_sinixz = 64;
public final static int isc_info_db_impl_linux_sparc = 65;
public final static int isc_info_db_impl_linux_amd64 = 66;
public final static int isc_info_db_class_access = 1;
public final static int isc_info_db_class_y_valve = 2;
public final static int isc_info_db_class_rem_int = 3;
public final static int isc_info_db_class_rem_srvr = 4;
public final static int isc_info_db_class_pipe_int = 7;
public final static int isc_info_db_class_pipe_srvr = 8;
public final static int isc_info_db_class_sam_int = 9;
public final static int isc_info_db_class_sam_srvr = 10;
public final static int isc_info_db_class_gateway = 11;
public final static int isc_info_db_class_cache = 12;
public final static int isc_info_db_class_classic_access = 13;
public final static int isc_info_db_class_server_access = 14;
public final static int isc_info_db_code_rdb_eln = 1;
public final static int isc_info_db_code_rdb_vms = 2;
public final static int isc_info_db_code_interbase = 3;
public final static int isc_info_db_code_firebird = 4;
/************************/
/* Blob Parameter Block */
/************************/
public final static int isc_bpb_version1 = 1;
public final static int isc_bpb_source_type = 1;
public final static int isc_bpb_target_type = 2;
public final static int isc_bpb_type = 3;
public final static int isc_bpb_source_interp = 4;
public final static int isc_bpb_target_interp = 5;
public final static int isc_bpb_filter_parameter = 6;
public final static int isc_bpb_type_segmented = 0;
public final static int isc_bpb_type_stream = 1;
public final static int RBL_eof = 1;
public final static int RBL_segment = 2;
public final static int RBL_eof_pending = 4;
public final static int RBL_create = 8;
/**************************/
/* Blob information items */
/**************************/
public final static int isc_info_blob_num_segments = 4;
public final static int isc_info_blob_max_segment = 5;
public final static int isc_info_blob_total_length = 6;
public final static int isc_info_blob_type = 7;
/*********************************/
/* Transaction information items */
/*********************************/
public final static int isc_info_tra_id = 4;
public final static int isc_info_tra_oldest_interesting = 5;
public final static int isc_info_tra_oldest_snapshot = 6;
public final static int isc_info_tra_oldest_active = 7;
public final static int isc_info_tra_isolation = 8;
public final static int isc_info_tra_access = 9;
public final static int isc_info_tra_lock_timeout = 10;
/****************************************/
/* Cancel types for fb_cancel_operation */
/****************************************/
public final static int fb_cancel_disable = 1;
public final static int fb_cancel_enable = 2;
public final static int fb_cancel_raise = 3;
public final static int fb_cancel_abort = 4;
/********************/
/* ISC Error Codes */
/*******************/
public final static int SUCCESS = 0;
public final static int isc_facility = 20;
public final static int isc_err_base = 335544320;
public final static int isc_err_factor = 1;
public final static int isc_arg_end = 0; /* end of argument list */
public final static int isc_arg_gds = 1; /* generic DSRI status value */
public final static int isc_arg_string = 2; /* string argument */
public final static int isc_arg_cstring = 3; /* count & string argument */
public final static int isc_arg_number = 4; /* numeric argument (long) */
public final static int isc_arg_interpreted = 5; /* interpreted status code (string) */
public final static int isc_arg_vms = 6; /* VAX/VMS status code (long) */
public final static int isc_arg_unix = 7; /* UNIX error code */
public final static int isc_arg_domain = 8; /* Apollo/Domain error code */
public final static int isc_arg_dos = 9; /* MSDOS/OS2 error code */
public final static int isc_arg_mpexl = 10; /* HP MPE/XL error code */
public final static int isc_arg_mpexl_ipc = 11; /* HP MPE/XL IPC error code */
public final static int isc_arg_next_mach = 15; /* NeXT/Mach error code */
public final static int isc_arg_netware = 16; /* NetWare error code */
public final static int isc_arg_win32 = 17; /* Win32 error code */
public final static int isc_arg_warning = 18; /* warning argument */
public final static int isc_arith_except = 335544321;
public final static int isc_bad_dbkey = 335544322;
public final static int isc_bad_db_format = 335544323;
public final static int isc_bad_db_handle = 335544324;
public final static int isc_bad_dpb_content = 335544325;
public final static int isc_bad_dpb_form = 335544326;
public final static int isc_bad_req_handle = 335544327;
public final static int isc_bad_segstr_handle = 335544328;
public final static int isc_bad_segstr_id = 335544329;
public final static int isc_bad_tpb_content = 335544330;
public final static int isc_bad_tpb_form = 335544331;
public final static int isc_bad_trans_handle = 335544332;
public final static int isc_bug_check = 335544333;
public final static int isc_convert_error = 335544334;
public final static int isc_db_corrupt = 335544335;
public final static int isc_deadlock = 335544336;
public final static int isc_excess_trans = 335544337;
public final static int isc_from_no_match = 335544338;
public final static int isc_infinap = 335544339;
public final static int isc_infona = 335544340;
public final static int isc_infunk = 335544341;
public final static int isc_integ_fail = 335544342;
public final static int isc_invalid_blr = 335544343;
public final static int isc_io_error = 335544344;
public final static int isc_lock_conflict = 335544345;
public final static int isc_metadata_corrupt = 335544346;
public final static int isc_not_valid = 335544347;
public final static int isc_no_cur_rec = 335544348;
public final static int isc_no_dup = 335544349;
public final static int isc_no_finish = 335544350;
public final static int isc_no_meta_update = 335544351;
public final static int isc_no_priv = 335544352;
public final static int isc_no_recon = 335544353;
public final static int isc_no_record = 335544354;
public final static int isc_no_segstr_close = 335544355;
public final static int isc_obsolete_metadata = 335544356;
public final static int isc_open_trans = 335544357;
public final static int isc_port_len = 335544358;
public final static int isc_read_only_field = 335544359;
public final static int isc_read_only_rel = 335544360;
public final static int isc_read_only_trans = 335544361;
public final static int isc_read_only_view = 335544362;
public final static int isc_req_no_trans = 335544363;
public final static int isc_req_sync = 335544364;
public final static int isc_req_wrong_db = 335544365;
public final static int isc_segment = 335544366;
public final static int isc_segstr_eof = 335544367;
public final static int isc_segstr_no_op = 335544368;
public final static int isc_segstr_no_read = 335544369;
public final static int isc_segstr_no_trans = 335544370;
public final static int isc_segstr_no_write = 335544371;
public final static int isc_segstr_wrong_db = 335544372;
public final static int isc_sys_request = 335544373;
public final static int isc_stream_eof = 335544374;
public final static int isc_unavailable = 335544375;
public final static int isc_unres_rel = 335544376;
public final static int isc_uns_ext = 335544377;
public final static int isc_wish_list = 335544378;
public final static int isc_wrong_ods = 335544379;
public final static int isc_wronumarg = 335544380;
public final static int isc_imp_exc = 335544381;
public final static int isc_random = 335544382;
public final static int isc_fatal_conflict = 335544383;
public final static int isc_badblk = 335544384;
public final static int isc_invpoolcl = 335544385;
public final static int isc_nopoolids = 335544386;
public final static int isc_relbadblk = 335544387;
public final static int isc_blktoobig = 335544388;
public final static int isc_bufexh = 335544389;
public final static int isc_syntaxerr = 335544390;
public final static int isc_bufinuse = 335544391;
public final static int isc_bdbincon = 335544392;
public final static int isc_reqinuse = 335544393;
public final static int isc_badodsver = 335544394;
public final static int isc_relnotdef = 335544395;
public final static int isc_fldnotdef = 335544396;
public final static int isc_dirtypage = 335544397;
public final static int isc_waifortra = 335544398;
public final static int isc_doubleloc = 335544399;
public final static int isc_nodnotfnd = 335544400;
public final static int isc_dupnodfnd = 335544401;
public final static int isc_locnotmar = 335544402;
public final static int isc_badpagtyp = 335544403;
public final static int isc_corrupt = 335544404;
public final static int isc_badpage = 335544405;
public final static int isc_badindex = 335544406;
public final static int isc_dbbnotzer = 335544407;
public final static int isc_tranotzer = 335544408;
public final static int isc_trareqmis = 335544409;
public final static int isc_badhndcnt = 335544410;
public final static int isc_wrotpbver = 335544411;
public final static int isc_wroblrver = 335544412;
public final static int isc_wrodpbver = 335544413;
public final static int isc_blobnotsup = 335544414;
public final static int isc_badrelation = 335544415;
public final static int isc_nodetach = 335544416;
public final static int isc_notremote = 335544417;
public final static int isc_trainlim = 335544418;
public final static int isc_notinlim = 335544419;
public final static int isc_traoutsta = 335544420;
public final static int isc_connect_reject = 335544421;
public final static int isc_dbfile = 335544422;
public final static int isc_orphan = 335544423;
public final static int isc_no_lock_mgr = 335544424;
public final static int isc_ctxinuse = 335544425;
public final static int isc_ctxnotdef = 335544426;
public final static int isc_datnotsup = 335544427;
public final static int isc_badmsgnum = 335544428;
public final static int isc_badparnum = 335544429;
public final static int isc_virmemexh = 335544430;
public final static int isc_blocking_signal = 335544431;
public final static int isc_lockmanerr = 335544432;
public final static int isc_journerr = 335544433;
public final static int isc_keytoobig = 335544434;
public final static int isc_nullsegkey = 335544435;
public final static int isc_sqlerr = 335544436;
public final static int isc_wrodynver = 335544437;
public final static int isc_funnotdef = 335544438;
public final static int isc_funmismat = 335544439;
public final static int isc_bad_msg_vec = 335544440;
public final static int isc_bad_detach = 335544441;
public final static int isc_noargacc_read = 335544442;
public final static int isc_noargacc_write = 335544443;
public final static int isc_read_only = 335544444;
public final static int isc_ext_err = 335544445;
public final static int isc_non_updatable = 335544446;
public final static int isc_no_rollback = 335544447;
public final static int isc_bad_sec_info = 335544448;
public final static int isc_invalid_sec_info = 335544449;
public final static int isc_misc_interpreted = 335544450;
public final static int isc_update_conflict = 335544451;
public final static int isc_unlicensed = 335544452;
public final static int isc_obj_in_use = 335544453;
public final static int isc_nofilter = 335544454;
public final static int isc_shadow_accessed = 335544455;
public final static int isc_invalid_sdl = 335544456;
public final static int isc_out_of_bounds = 335544457;
public final static int isc_invalid_dimension = 335544458;
public final static int isc_rec_in_limbo = 335544459;
public final static int isc_shadow_missing = 335544460;
public final static int isc_cant_validate = 335544461;
public final static int isc_cant_start_journal = 335544462;
public final static int isc_gennotdef = 335544463;
public final static int isc_cant_start_logging = 335544464;
public final static int isc_bad_segstr_type = 335544465;
public final static int isc_foreign_key = 335544466;
public final static int isc_high_minor = 335544467;
public final static int isc_tra_state = 335544468;
public final static int isc_trans_invalid = 335544469;
public final static int isc_buf_invalid = 335544470;
public final static int isc_indexnotdefined = 335544471;
public final static int isc_login = 335544472;
public final static int isc_invalid_bookmark = 335544473;
public final static int isc_bad_lock_level = 335544474;
public final static int isc_relation_lock = 335544475;
public final static int isc_record_lock = 335544476;
public final static int isc_max_idx = 335544477;
public final static int isc_jrn_enable = 335544478;
public final static int isc_old_failure = 335544479;
public final static int isc_old_in_progress = 335544480;
public final static int isc_old_no_space = 335544481;
public final static int isc_no_wal_no_jrn = 335544482;
public final static int isc_num_old_files = 335544483;
public final static int isc_wal_file_open = 335544484;
public final static int isc_bad_stmt_handle = 335544485;
public final static int isc_wal_failure = 335544486;
public final static int isc_walw_err = 335544487;
public final static int isc_logh_small = 335544488;
public final static int isc_logh_inv_version = 335544489;
public final static int isc_logh_open_flag = 335544490;
public final static int isc_logh_open_flag2 = 335544491;
public final static int isc_logh_diff_dbname = 335544492;
public final static int isc_logf_unexpected_eof = 335544493;
public final static int isc_logr_incomplete = 335544494;
public final static int isc_logr_header_small = 335544495;
public final static int isc_logb_small = 335544496;
public final static int isc_wal_illegal_attach = 335544497;
public final static int isc_wal_invalid_wpb = 335544498;
public final static int isc_wal_err_rollover = 335544499;
public final static int isc_no_wal = 335544500;
public final static int isc_drop_wal = 335544501;
public final static int isc_stream_not_defined = 335544502;
public final static int isc_wal_subsys_error = 335544503;
public final static int isc_wal_subsys_corrupt = 335544504;
public final static int isc_no_archive = 335544505;
public final static int isc_shutinprog = 335544506;
public final static int isc_range_in_use = 335544507;
public final static int isc_range_not_found = 335544508;
public final static int isc_charset_not_found = 335544509;
public final static int isc_lock_timeout = 335544510;
public final static int isc_prcnotdef = 335544511;
public final static int isc_prcmismat = 335544512;
public final static int isc_wal_bugcheck = 335544513;
public final static int isc_wal_cant_expand = 335544514;
public final static int isc_codnotdef = 335544515;
public final static int isc_xcpnotdef = 335544516;
public final static int isc_except = 335544517;
public final static int isc_cache_restart = 335544518;
public final static int isc_bad_lock_handle = 335544519;
public final static int isc_jrn_present = 335544520;
public final static int isc_wal_err_rollover2 = 335544521;
public final static int isc_wal_err_logwrite = 335544522;
public final static int isc_wal_err_jrn_comm = 335544523;
public final static int isc_wal_err_expansion = 335544524;
public final static int isc_wal_err_setup = 335544525;
public final static int isc_wal_err_ww_sync = 335544526;
public final static int isc_wal_err_ww_start = 335544527;
public final static int isc_shutdown = 335544528;
public final static int isc_existing_priv_mod = 335544529;
public final static int isc_primary_key_ref = 335544530;
public final static int isc_primary_key_notnull = 335544531;
public final static int isc_ref_cnstrnt_notfound = 335544532;
public final static int isc_foreign_key_notfound = 335544533;
public final static int isc_ref_cnstrnt_update = 335544534;
public final static int isc_check_cnstrnt_update = 335544535;
public final static int isc_check_cnstrnt_del = 335544536;
public final static int isc_integ_index_seg_del = 335544537;
public final static int isc_integ_index_seg_mod = 335544538;
public final static int isc_integ_index_del = 335544539;
public final static int isc_integ_index_mod = 335544540;
public final static int isc_check_trig_del = 335544541;
public final static int isc_check_trig_update = 335544542;
public final static int isc_cnstrnt_fld_del = 335544543;
public final static int isc_cnstrnt_fld_rename = 335544544;
public final static int isc_rel_cnstrnt_update = 335544545;
public final static int isc_constaint_on_view = 335544546;
public final static int isc_invld_cnstrnt_type = 335544547;
public final static int isc_primary_key_exists = 335544548;
public final static int isc_systrig_update = 335544549;
public final static int isc_not_rel_owner = 335544550;
public final static int isc_grant_obj_notfound = 335544551;
public final static int isc_grant_fld_notfound = 335544552;
public final static int isc_grant_nopriv = 335544553;
public final static int isc_nonsql_security_rel = 335544554;
public final static int isc_nonsql_security_fld = 335544555;
public final static int isc_wal_cache_err = 335544556;
public final static int isc_shutfail = 335544557;
public final static int isc_check_constraint = 335544558;
public final static int isc_bad_svc_handle = 335544559;
public final static int isc_shutwarn = 335544560;
public final static int isc_wrospbver = 335544561;
public final static int isc_bad_spb_form = 335544562;
public final static int isc_svcnotdef = 335544563;
public final static int isc_no_jrn = 335544564;
public final static int isc_transliteration_failed = 335544565;
public final static int isc_start_cm_for_wal = 335544566;
public final static int isc_wal_ovflow_log_required = 335544567;
public final static int isc_text_subtype = 335544568;
public final static int isc_dsql_error = 335544569;
public final static int isc_dsql_command_err = 335544570;
public final static int isc_dsql_constant_err = 335544571;
public final static int isc_dsql_cursor_err = 335544572;
public final static int isc_dsql_datatype_err = 335544573;
public final static int isc_dsql_decl_err = 335544574;
public final static int isc_dsql_cursor_update_err = 335544575;
public final static int isc_dsql_cursor_open_err = 335544576;
public final static int isc_dsql_cursor_close_err = 335544577;
public final static int isc_dsql_field_err = 335544578;
public final static int isc_dsql_internal_err = 335544579;
public final static int isc_dsql_relation_err = 335544580;
public final static int isc_dsql_procedure_err = 335544581;
public final static int isc_dsql_request_err = 335544582;
public final static int isc_dsql_sqlda_err = 335544583;
public final static int isc_dsql_var_count_err = 335544584;
public final static int isc_dsql_stmt_handle = 335544585;
public final static int isc_dsql_function_err = 335544586;
public final static int isc_dsql_blob_err = 335544587;
public final static int isc_collation_not_found = 335544588;
public final static int isc_collation_not_for_charset = 335544589;
public final static int isc_dsql_dup_option = 335544590;
public final static int isc_dsql_tran_err = 335544591;
public final static int isc_dsql_invalid_array = 335544592;
public final static int isc_dsql_max_arr_dim_exceeded = 335544593;
public final static int isc_dsql_arr_range_error = 335544594;
public final static int isc_dsql_trigger_err = 335544595;
public final static int isc_dsql_subselect_err = 335544596;
public final static int isc_dsql_crdb_prepare_err = 335544597;
public final static int isc_specify_field_err = 335544598;
public final static int isc_num_field_err = 335544599;
public final static int isc_col_name_err = 335544600;
public final static int isc_where_err = 335544601;
public final static int isc_table_view_err = 335544602;
public final static int isc_distinct_err = 335544603;
public final static int isc_key_field_count_err = 335544604;
public final static int isc_subquery_err = 335544605;
public final static int isc_expression_eval_err = 335544606;
public final static int isc_node_err = 335544607;
public final static int isc_command_end_err = 335544608;
public final static int isc_index_name = 335544609;
public final static int isc_exception_name = 335544610;
public final static int isc_field_name = 335544611;
public final static int isc_token_err = 335544612;
public final static int isc_union_err = 335544613;
public final static int isc_dsql_construct_err = 335544614;
public final static int isc_field_aggregate_err = 335544615;
public final static int isc_field_ref_err = 335544616;
public final static int isc_order_by_err = 335544617;
public final static int isc_return_mode_err = 335544618;
public final static int isc_extern_func_err = 335544619;
public final static int isc_alias_conflict_err = 335544620;
public final static int isc_procedure_conflict_error = 335544621;
public final static int isc_relation_conflict_err = 335544622;
public final static int isc_dsql_domain_err = 335544623;
public final static int isc_idx_seg_err = 335544624;
public final static int isc_node_name_err = 335544625;
public final static int isc_table_name = 335544626;
public final static int isc_proc_name = 335544627;
public final static int isc_idx_create_err = 335544628;
public final static int isc_wal_shadow_err = 335544629;
public final static int isc_dependency = 335544630;
public final static int isc_idx_key_err = 335544631;
public final static int isc_dsql_file_length_err = 335544632;
public final static int isc_dsql_shadow_number_err = 335544633;
public final static int isc_dsql_token_unk_err = 335544634;
public final static int isc_dsql_no_relation_alias = 335544635;
public final static int isc_indexname = 335544636;
public final static int isc_no_stream_plan = 335544637;
public final static int isc_stream_twice = 335544638;
public final static int isc_stream_not_found = 335544639;
public final static int isc_collation_requires_text = 335544640;
public final static int isc_dsql_domain_not_found = 335544641;
public final static int isc_index_unused = 335544642;
public final static int isc_dsql_self_join = 335544643;
public final static int isc_stream_bof = 335544644;
public final static int isc_stream_crack = 335544645;
public final static int isc_db_or_file_exists = 335544646;
public final static int isc_invalid_operator = 335544647;
public final static int isc_conn_lost = 335544648;
public final static int isc_bad_checksum = 335544649;
public final static int isc_page_type_err = 335544650;
public final static int isc_ext_readonly_err = 335544651;
public final static int isc_sing_select_err = 335544652;
public final static int isc_psw_attach = 335544653;
public final static int isc_psw_start_trans = 335544654;
public final static int isc_invalid_direction = 335544655;
public final static int isc_dsql_var_conflict = 335544656;
public final static int isc_dsql_no_blob_array = 335544657;
public final static int isc_dsql_base_table = 335544658;
public final static int isc_duplicate_base_table = 335544659;
public final static int isc_view_alias = 335544660;
public final static int isc_index_root_page_full = 335544661;
public final static int isc_dsql_blob_type_unknown = 335544662;
public final static int isc_req_max_clones_exceeded = 335544663;
public final static int isc_dsql_duplicate_spec = 335544664;
public final static int isc_unique_key_violation = 335544665;
public final static int isc_srvr_version_too_old = 335544666;
public final static int isc_drdb_completed_with_errs = 335544667;
public final static int isc_dsql_procedure_use_err = 335544668;
public final static int isc_dsql_count_mismatch = 335544669;
public final static int isc_blob_idx_err = 335544670;
public final static int isc_array_idx_err = 335544671;
public final static int isc_key_field_err = 335544672;
public final static int isc_no_delete = 335544673;
public final static int isc_del_last_field = 335544674;
public final static int isc_sort_err = 335544675;
public final static int isc_sort_mem_err = 335544676;
public final static int isc_version_err = 335544677;
public final static int isc_inval_key_posn = 335544678;
public final static int isc_no_segments_err = 335544679;
public final static int isc_crrp_data_err = 335544680;
public final static int isc_rec_size_err = 335544681;
public final static int isc_dsql_field_ref = 335544682;
public final static int isc_req_depth_exceeded = 335544683;
public final static int isc_no_field_access = 335544684;
public final static int isc_no_dbkey = 335544685;
public final static int isc_jrn_format_err = 335544686;
public final static int isc_jrn_file_full = 335544687;
public final static int isc_dsql_open_cursor_request = 335544688;
public final static int isc_ib_error = 335544689;
public final static int isc_cache_redef = 335544690;
public final static int isc_cache_too_small = 335544691;
public final static int isc_log_redef = 335544692;
public final static int isc_log_too_small = 335544693;
public final static int isc_partition_too_small = 335544694;
public final static int isc_partition_not_supp = 335544695;
public final static int isc_log_length_spec = 335544696;
public final static int isc_precision_err = 335544697;
public final static int isc_scale_nogt = 335544698;
public final static int isc_expec_int = 335544699;
public final static int isc_expec_long = 335544700;
public final static int isc_expec_uint = 335544701;
public final static int isc_like_escape_invalid = 335544702;
public final static int isc_svcnoexe = 335544703;
public final static int isc_net_lookup_err = 335544704;
public final static int isc_service_unknown = 335544705;
public final static int isc_host_unknown = 335544706;
public final static int isc_grant_nopriv_on_base = 335544707;
public final static int isc_dyn_fld_ambiguous = 335544708;
public final static int isc_dsql_agg_ref_err = 335544709;
public final static int isc_complex_view = 335544710;
public final static int isc_unprepared_stmt = 335544711;
public final static int isc_expec_positive = 335544712;
public final static int isc_dsql_sqlda_value_err = 335544713;
public final static int isc_invalid_array_id = 335544714;
public final static int isc_extfile_uns_op = 335544715;
public final static int isc_svc_in_use = 335544716;
public final static int isc_err_stack_limit = 335544717;
public final static int isc_invalid_key = 335544718;
public final static int isc_net_init_error = 335544719;
public final static int isc_loadlib_failure = 335544720;
public final static int isc_network_error = 335544721;
public final static int isc_net_connect_err = 335544722;
public final static int isc_net_connect_listen_err = 335544723;
public final static int isc_net_event_connect_err = 335544724;
public final static int isc_net_event_listen_err = 335544725;
public final static int isc_net_read_err = 335544726;
public final static int isc_net_write_err = 335544727;
public final static int isc_integ_index_deactivate = 335544728;
public final static int isc_integ_deactivate_primary = 335544729;
public final static int isc_cse_not_supported = 335544730;
public final static int isc_tra_must_sweep = 335544731;
public final static int isc_unsupported_network_drive = 335544732;
public final static int isc_io_create_err = 335544733;
public final static int isc_io_open_err = 335544734;
public final static int isc_io_close_err = 335544735;
public final static int isc_io_read_err = 335544736;
public final static int isc_io_write_err = 335544737;
public final static int isc_io_delete_err = 335544738;
public final static int isc_io_access_err = 335544739;
public final static int isc_udf_exception = 335544740;
public final static int isc_lost_db_connection = 335544741;
public final static int isc_no_write_user_priv = 335544742;
public final static int isc_token_too_long = 335544743;
public final static int isc_max_att_exceeded = 335544744;
public final static int isc_login_same_as_role_name = 335544745;
public final static int isc_reftable_requires_pk = 335544746;
public final static int isc_usrname_too_long = 335544747;
public final static int isc_password_too_long = 335544748;
public final static int isc_usrname_required = 335544749;
public final static int isc_password_required = 335544750;
public final static int isc_bad_protocol = 335544751;
public final static int isc_dup_usrname_found = 335544752;
public final static int isc_usrname_not_found = 335544753;
public final static int isc_error_adding_sec_record = 335544754;
public final static int isc_error_modifying_sec_record = 335544755;
public final static int isc_error_deleting_sec_record = 335544756;
public final static int isc_error_updating_sec_db = 335544757;
public final static int isc_sort_rec_size_err = 335544758;
public final static int isc_bad_default_value = 335544759;
public final static int isc_invalid_clause = 335544760;
public final static int isc_too_many_handles = 335544761;
public final static int isc_optimizer_blk_exc = 335544762;
public final static int isc_invalid_string_constant = 335544763;
public final static int isc_transitional_date = 335544764;
public final static int isc_read_only_database = 335544765;
public final static int isc_must_be_dialect_2_and_up = 335544766;
public final static int isc_blob_filter_exception = 335544767;
public final static int isc_exception_access_violation = 335544768;
public final static int isc_exception_datatype_missalignment = 335544769;
public final static int isc_exception_array_bounds_exceeded = 335544770;
public final static int isc_exception_float_denormal_operand = 335544771;
public final static int isc_exception_float_divide_by_zero = 335544772;
public final static int isc_exception_float_inexact_result = 335544773;
public final static int isc_exception_float_invalid_operand = 335544774;
public final static int isc_exception_float_overflow = 335544775;
public final static int isc_exception_float_stack_check = 335544776;
public final static int isc_exception_float_underflow = 335544777;
public final static int isc_exception_integer_divide_by_zero = 335544778;
public final static int isc_exception_integer_overflow = 335544779;
public final static int isc_exception_unknown = 335544780;
public final static int isc_exception_stack_overflow = 335544781;
public final static int isc_exception_sigsegv = 335544782;
public final static int isc_exception_sigill = 335544783;
public final static int isc_exception_sigbus = 335544784;
public final static int isc_exception_sigfpe = 335544785;
public final static int isc_ext_file_delete = 335544786;
public final static int isc_ext_file_modify = 335544787;
public final static int isc_adm_task_denied = 335544788;
public final static int isc_extract_input_mismatch = 335544789;
public final static int isc_insufficient_svc_privileges = 335544790;
public final static int isc_file_in_use = 335544791;
public final static int isc_service_att_err = 335544792;
public final static int isc_ddl_not_allowed_by_db_sql_dial = 335544793;
public final static int isc_cancelled = 335544794;
public final static int isc_unexp_spb_form = 335544795;
public final static int isc_sql_dialect_datatype_unsupport = 335544796;
public final static int isc_svcnouser = 335544797;
public final static int isc_depend_on_uncommitted_rel = 335544798;
public final static int isc_svc_name_missing = 335544799;
public final static int isc_too_many_contexts = 335544800;
public final static int isc_datype_notsup = 335544801;
public final static int isc_dialect_reset_warning = 335544802;
public final static int isc_dialect_not_changed = 335544803;
public final static int isc_database_create_failed = 335544804;
public final static int isc_inv_dialect_specified = 335544805;
public final static int isc_valid_db_dialects = 335544806;
public final static int isc_sqlwarn = 335544807;
public final static int isc_dtype_renamed = 335544808;
public final static int isc_extern_func_dir_error = 335544809;
public final static int isc_date_range_exceeded = 335544810;
public final static int isc_inv_client_dialect_specified = 335544811;
public final static int isc_valid_client_dialects = 335544812;
public final static int isc_optimizer_between_err = 335544813;
public final static int isc_service_not_supported = 335544814;
public final static int isc_generator_name = 335544815;
public final static int isc_udf_name = 335544816;
public final static int isc_bad_limit_param = 335544817;
public final static int isc_bad_skip_param = 335544818;
public final static int isc_io_32bit_exceeded_err = 335544819;
public final static int isc_invalid_savepoint = 335544820;
public final static int isc_dsql_column_pos_err = 335544821;
public final static int isc_dsql_agg_where_err = 335544822;
public final static int isc_dsql_agg_group_err = 335544823;
public final static int isc_dsql_agg_column_err = 335544824;
public final static int isc_dsql_agg_having_err = 335544825;
public final static int isc_dsql_agg_nested_err = 335544826;
public final static int isc_exec_sql_invalid_arg = 335544827;
public final static int isc_exec_sql_invalid_req = 335544828;
public final static int isc_exec_sql_invalid_var = 335544829;
public final static int isc_exec_sql_max_call_exceeded = 335544830;
public final static int isc_conf_access_denied = 335544831;
public final static int isc_gfix_db_name = 335740929;
public final static int isc_gfix_invalid_sw = 335740930;
public final static int isc_gfix_incmp_sw = 335740932;
public final static int isc_gfix_replay_req = 335740933;
public final static int isc_gfix_pgbuf_req = 335740934;
public final static int isc_gfix_val_req = 335740935;
public final static int isc_gfix_pval_req = 335740936;
public final static int isc_gfix_trn_req = 335740937;
public final static int isc_gfix_full_req = 335740940;
public final static int isc_gfix_usrname_req = 335740941;
public final static int isc_gfix_pass_req = 335740942;
public final static int isc_gfix_subs_name = 335740943;
public final static int isc_gfix_wal_req = 335740944;
public final static int isc_gfix_sec_req = 335740945;
public final static int isc_gfix_nval_req = 335740946;
public final static int isc_gfix_type_shut = 335740947;
public final static int isc_gfix_retry = 335740948;
public final static int isc_gfix_retry_db = 335740951;
public final static int isc_gfix_exceed_max = 335740991;
public final static int isc_gfix_corrupt_pool = 335740992;
public final static int isc_gfix_mem_exhausted = 335740993;
public final static int isc_gfix_bad_pool = 335740994;
public final static int isc_gfix_trn_not_valid = 335740995;
public final static int isc_gfix_unexp_eoi = 335741012;
public final static int isc_gfix_recon_fail = 335741018;
public final static int isc_gfix_trn_unknown = 335741036;
public final static int isc_gfix_mode_req = 335741038;
public final static int isc_gfix_opt_SQL_dialect = 335741039;
public final static int isc_dsql_dbkey_from_non_table = 336003074;
public final static int isc_dsql_transitional_numeric = 336003075;
public final static int isc_dsql_dialect_warning_expr = 336003076;
public final static int isc_sql_db_dialect_dtype_unsupport = 336003077;
public final static int isc_isc_sql_dialect_conflict_num = 336003079;
public final static int isc_dsql_warning_number_ambiguous = 336003080;
public final static int isc_dsql_warning_number_ambiguous1 = 336003081;
public final static int isc_dsql_warn_precision_ambiguous = 336003082;
public final static int isc_dsql_warn_precision_ambiguous1 = 336003083;
public final static int isc_dsql_warn_precision_ambiguous2 = 336003084;
public final static int isc_dyn_role_does_not_exist = 336068796;
public final static int isc_dyn_no_grant_admin_opt = 336068797;
public final static int isc_dyn_user_not_role_member = 336068798;
public final static int isc_dyn_delete_role_failed = 336068799;
public final static int isc_dyn_grant_role_to_user = 336068800;
public final static int isc_dyn_inv_sql_role_name = 336068801;
public final static int isc_dyn_dup_sql_role = 336068802;
public final static int isc_dyn_kywd_spec_for_role = 336068803;
public final static int isc_dyn_roles_not_supported = 336068804;
public final static int isc_dyn_domain_name_exists = 336068812;
public final static int isc_dyn_field_name_exists = 336068813;
public final static int isc_dyn_dependency_exists = 336068814;
public final static int isc_dyn_dtype_invalid = 336068815;
public final static int isc_dyn_char_fld_too_small = 336068816;
public final static int isc_dyn_invalid_dtype_conversion = 336068817;
public final static int isc_dyn_dtype_conv_invalid = 336068818;
public final static int isc_gbak_unknown_switch = 336330753;
public final static int isc_gbak_page_size_missing = 336330754;
public final static int isc_gbak_page_size_toobig = 336330755;
public final static int isc_gbak_redir_ouput_missing = 336330756;
public final static int isc_gbak_switches_conflict = 336330757;
public final static int isc_gbak_unknown_device = 336330758;
public final static int isc_gbak_no_protection = 336330759;
public final static int isc_gbak_page_size_not_allowed = 336330760;
public final static int isc_gbak_multi_source_dest = 336330761;
public final static int isc_gbak_filename_missing = 336330762;
public final static int isc_gbak_dup_inout_names = 336330763;
public final static int isc_gbak_inv_page_size = 336330764;
public final static int isc_gbak_db_specified = 336330765;
public final static int isc_gbak_db_exists = 336330766;
public final static int isc_gbak_unk_device = 336330767;
public final static int isc_gbak_blob_info_failed = 336330772;
public final static int isc_gbak_unk_blob_item = 336330773;
public final static int isc_gbak_get_seg_failed = 336330774;
public final static int isc_gbak_close_blob_failed = 336330775;
public final static int isc_gbak_open_blob_failed = 336330776;
public final static int isc_gbak_put_blr_gen_id_failed = 336330777;
public final static int isc_gbak_unk_type = 336330778;
public final static int isc_gbak_comp_req_failed = 336330779;
public final static int isc_gbak_start_req_failed = 336330780;
public final static int isc_gbak_rec_failed = 336330781;
public final static int isc_gbak_rel_req_failed = 336330782;
public final static int isc_gbak_db_info_failed = 336330783;
public final static int isc_gbak_no_db_desc = 336330784;
public final static int isc_gbak_db_create_failed = 336330785;
public final static int isc_gbak_decomp_len_error = 336330786;
public final static int isc_gbak_tbl_missing = 336330787;
public final static int isc_gbak_blob_col_missing = 336330788;
public final static int isc_gbak_create_blob_failed = 336330789;
public final static int isc_gbak_put_seg_failed = 336330790;
public final static int isc_gbak_rec_len_exp = 336330791;
public final static int isc_gbak_inv_rec_len = 336330792;
public final static int isc_gbak_exp_data_type = 336330793;
public final static int isc_gbak_gen_id_failed = 336330794;
public final static int isc_gbak_unk_rec_type = 336330795;
public final static int isc_gbak_inv_bkup_ver = 336330796;
public final static int isc_gbak_missing_bkup_desc = 336330797;
public final static int isc_gbak_string_trunc = 336330798;
public final static int isc_gbak_cant_rest_record = 336330799;
public final static int isc_gbak_send_failed = 336330800;
public final static int isc_gbak_no_tbl_name = 336330801;
public final static int isc_gbak_unexp_eof = 336330802;
public final static int isc_gbak_db_format_too_old = 336330803;
public final static int isc_gbak_inv_array_dim = 336330804;
public final static int isc_gbak_xdr_len_expected = 336330807;
public final static int isc_gbak_open_bkup_error = 336330817;
public final static int isc_gbak_open_error = 336330818;
public final static int isc_gbak_missing_block_fac = 336330934;
public final static int isc_gbak_inv_block_fac = 336330935;
public final static int isc_gbak_block_fac_specified = 336330936;
public final static int isc_gbak_missing_username = 336330940;
public final static int isc_gbak_missing_password = 336330941;
public final static int isc_gbak_missing_skipped_bytes = 336330952;
public final static int isc_gbak_inv_skipped_bytes = 336330953;
public final static int isc_gbak_err_restore_charset = 336330965;
public final static int isc_gbak_err_restore_collation = 336330967;
public final static int isc_gbak_read_error = 336330972;
public final static int isc_gbak_write_error = 336330973;
public final static int isc_gbak_db_in_use = 336330985;
public final static int isc_gbak_sysmemex = 336330990;
public final static int isc_gbak_restore_role_failed = 336331002;
public final static int isc_gbak_role_op_missing = 336331005;
public final static int isc_gbak_page_buffers_missing = 336331010;
public final static int isc_gbak_page_buffers_wrong_param = 336331011;
public final static int isc_gbak_page_buffers_restore = 336331012;
public final static int isc_gbak_inv_size = 336331014;
public final static int isc_gbak_file_outof_sequence = 336331015;
public final static int isc_gbak_join_file_missing = 336331016;
public final static int isc_gbak_stdin_not_supptd = 336331017;
public final static int isc_gbak_stdout_not_supptd = 336331018;
public final static int isc_gbak_bkup_corrupt = 336331019;
public final static int isc_gbak_unk_db_file_spec = 336331020;
public final static int isc_gbak_hdr_write_failed = 336331021;
public final static int isc_gbak_disk_space_ex = 336331022;
public final static int isc_gbak_size_lt_min = 336331023;
public final static int isc_gbak_svc_name_missing = 336331025;
public final static int isc_gbak_not_ownr = 336331026;
public final static int isc_gbak_mode_req = 336331031;
public final static int isc_dsql_table_not_found = 336397206;
public final static int isc_dsql_view_not_found = 336397207;
public final static int isc_gsec_cant_open_db = 336723983;
public final static int isc_gsec_switches_error = 336723984;
public final static int isc_gsec_no_op_spec = 336723985;
public final static int isc_gsec_no_usr_name = 336723986;
public final static int isc_gsec_err_add = 336723987;
public final static int isc_gsec_err_modify = 336723988;
public final static int isc_gsec_err_find_mod = 336723989;
public final static int isc_gsec_err_rec_not_found = 336723990;
public final static int isc_gsec_err_delete = 336723991;
public final static int isc_gsec_err_find_del = 336723992;
public final static int isc_gsec_err_find_disp = 336723996;
public final static int isc_gsec_inv_param = 336723997;
public final static int isc_gsec_op_specified = 336723998;
public final static int isc_gsec_pw_specified = 336723999;
public final static int isc_gsec_uid_specified = 336724000;
public final static int isc_gsec_gid_specified = 336724001;
public final static int isc_gsec_proj_specified = 336724002;
public final static int isc_gsec_org_specified = 336724003;
public final static int isc_gsec_fname_specified = 336724004;
public final static int isc_gsec_mname_specified = 336724005;
public final static int isc_gsec_lname_specified = 336724006;
public final static int isc_gsec_inv_switch = 336724008;
public final static int isc_gsec_amb_switch = 336724009;
public final static int isc_gsec_no_op_specified = 336724010;
public final static int isc_gsec_params_not_allowed = 336724011;
public final static int isc_gsec_incompat_switch = 336724012;
public final static int isc_gsec_inv_username = 336724044;
public final static int isc_gsec_inv_pw_length = 336724045;
public final static int isc_gsec_db_specified = 336724046;
public final static int isc_gsec_db_admin_specified = 336724047;
public final static int isc_gsec_db_admin_pw_specified = 336724048;
public final static int isc_gsec_sql_role_specified = 336724049;
public final static int isc_license_no_file = 336789504;
public final static int isc_license_op_specified = 336789523;
public final static int isc_license_op_missing = 336789524;
public final static int isc_license_inv_switch = 336789525;
public final static int isc_license_inv_switch_combo = 336789526;
public final static int isc_license_inv_op_combo = 336789527;
public final static int isc_license_amb_switch = 336789528;
public final static int isc_license_inv_parameter = 336789529;
public final static int isc_license_param_specified = 336789530;
public final static int isc_license_param_req = 336789531;
public final static int isc_license_syntx_error = 336789532;
public final static int isc_license_dup_id = 336789534;
public final static int isc_license_inv_id_key = 336789535;
public final static int isc_license_err_remove = 336789536;
public final static int isc_license_err_update = 336789537;
public final static int isc_license_err_convert = 336789538;
public final static int isc_license_err_unk = 336789539;
public final static int isc_license_svc_err_add = 336789540;
public final static int isc_license_svc_err_remove = 336789541;
public final static int isc_license_eval_exists = 336789563;
public final static int isc_gstat_unknown_switch = 336920577;
public final static int isc_gstat_retry = 336920578;
public final static int isc_gstat_wrong_ods = 336920579;
public final static int isc_gstat_unexpected_eof = 336920580;
public final static int isc_gstat_open_err = 336920605;
public final static int isc_gstat_read_err = 336920606;
public final static int isc_gstat_sysmemex = 336920607;
public final static int isc_fbsvcmgr_info_err = 336986116;
public final static int isc_err_max = 689;
/*******************/
/* SQL definitions */
/*******************/
public final static int SQL_TEXT = 452;
public final static int SQL_VARYING = 448;
public final static int SQL_SHORT = 500;
public final static int SQL_LONG = 496;
public final static int SQL_FLOAT = 482;
public final static int SQL_DOUBLE = 480;
public final static int SQL_D_FLOAT = 530;
public final static int SQL_TIMESTAMP = 510;
public final static int SQL_BLOB = 520;
public final static int SQL_ARRAY = 540;
public final static int SQL_QUAD = 550;
public final static int SQL_TYPE_TIME = 560;
public final static int SQL_TYPE_DATE = 570;
public final static int SQL_INT64 = 580;
public final static int SQL_BOOLEAN = 32764;
public final static int SQL_NULL = 32766;
/* Historical alias for pre V6 applications */
public final static int SQL_DATE = SQL_TIMESTAMP;
/*******************/
/* Other stuff */
/*******************/
int CS_NONE = 0; /* No Character Set */
int CS_BINARY = 1; /* BINARY BYTES */
int CS_dynamic = 127; // Pseudo number for runtime charset (see intl\charsets.h and references to it in Firebird)
}