1 30 31 32 package org.hsqldb; 33 34 36 45 public interface ResultConstants { 49 50 51 int HSQL_API_BASE = 0; 52 53 56 int MULTI = HSQL_API_BASE + 0; 57 58 62 int UPDATECOUNT = HSQL_API_BASE + 1; 63 64 68 int ERROR = HSQL_API_BASE + 2; 69 70 74 int DATA = HSQL_API_BASE + 3; 75 76 81 int PREPARE_ACK = HSQL_API_BASE + 4; 82 83 87 int PARAM_META_DATA = HSQL_API_BASE + 5; 88 89 93 int SETSESSIONATTR = HSQL_API_BASE + 6; 94 95 99 int GETSESSIONATTR = HSQL_API_BASE + 7; 100 101 104 int BATCHEXECDIRECT = HSQL_API_BASE + 8; 105 106 110 int BATCHEXECUTE = HSQL_API_BASE + 9; 111 112 116 int HSQLRESETSESSION = HSQL_API_BASE + 10; 117 118 122 int HSQLPREPARECOMMIT = HSQL_API_BASE + 11; 123 124 125 int SQL_API_BASE = 0x00010000; 126 127 194 197 int SQLCONNECT = SQL_API_BASE + 7; 198 199 217 221 int SQLDISCONNECT = SQL_API_BASE + 9; 222 223 227 int SQLENDTRAN = SQL_API_BASE + 1005; 228 229 235 239 int SQLEXECDIRECT = SQL_API_BASE + 11; 240 241 245 int SQLEXECUTE = SQL_API_BASE + 12; 246 247 251 252 254 258 284 288 int SQLFREESTMT = SQL_API_BASE + 16; 289 290 374 378 399 404 406 412 425 428 int SQLPREPARE = SQL_API_BASE + 19; 429 430 445 449 451 455 int SQLSETCONNECTATTR = SQL_API_BASE + 1016; 456 457 474 478 493 497 int SQLSTARTTRAN = SQL_API_BASE + 74; 498 499 524 int COMMIT = 0; 525 int ROLLBACK = 1; 526 int SAVEPOINT_NAME_ROLLBACK = 2; 527 int SAVEPOINT_NAME_RELEASE = 4; 528 int COMMIT_AND_CHAIN = 6; 529 int ROLLBACK_AND_CHAIN = 7; 530 531 532 533 535 536 537 int SQL_ATTR_SAVEPOINT_NAME = 10027; 540 541 543 544 int EXECUTE_FAILED = -3; 545 546 550 int SUCCESS_NO_INFO = -2; 551 } 552 | Popular Tags |