1 2 9 10 package org.objectweb.rmijdbc; 11 12 import java.sql.*; 13 import java.rmi.RemoteException ; 14 15 35 public class RJDatabaseMetaData 36 implements java.sql.DatabaseMetaData , java.io.Serializable { 37 38 RJDatabaseMetaDataInterface rmiMetadata_; 39 Connection connection_; 40 41 public RJDatabaseMetaData(RJDatabaseMetaDataInterface d, Connection c) { 42 rmiMetadata_ = d; 43 connection_ = c; 44 } 45 46 49 55 public boolean allProceduresAreCallable() throws SQLException { 56 try { 57 return rmiMetadata_.allProceduresAreCallable(); 58 } catch(RemoteException e) { 59 throw new java.sql.SQLException (e.getMessage()); 60 } 61 } 62 63 69 public boolean allTablesAreSelectable() throws SQLException { 70 try { 71 return rmiMetadata_.allTablesAreSelectable(); 72 } catch(RemoteException e) { 73 throw new java.sql.SQLException (e.getMessage()); 74 } 75 } 76 77 82 public String getURL() throws SQLException { 83 try { 84 return rmiMetadata_.getURL(); 85 } catch(RemoteException e) { 86 throw new java.sql.SQLException (e.getMessage()); 87 } 88 } 89 90 95 public String getUserName() throws SQLException { 96 try { 97 return rmiMetadata_.getUserName(); 98 } catch(RemoteException e) { 99 throw new java.sql.SQLException (e.getMessage()); 100 } 101 } 102 103 108 public boolean isReadOnly() throws SQLException { 109 try { 110 return rmiMetadata_.isReadOnly(); 111 } catch(RemoteException e) { 112 throw new java.sql.SQLException (e.getMessage()); 113 } 114 } 115 116 121 public boolean nullsAreSortedHigh() throws SQLException { 122 try { 123 return rmiMetadata_.nullsAreSortedHigh(); 124 } catch(RemoteException e) { 125 throw new java.sql.SQLException (e.getMessage()); 126 } 127 } 128 129 134 public boolean nullsAreSortedLow() throws SQLException { 135 try { 136 return rmiMetadata_.nullsAreSortedLow(); 137 } catch(RemoteException e) { 138 throw new java.sql.SQLException (e.getMessage()); 139 } 140 } 141 142 147 public boolean nullsAreSortedAtStart() throws SQLException { 148 try { 149 return rmiMetadata_.nullsAreSortedAtStart(); 150 } catch(RemoteException e) { 151 throw new java.sql.SQLException (e.getMessage()); 152 } 153 } 154 155 160 public boolean nullsAreSortedAtEnd() throws SQLException { 161 try { 162 return rmiMetadata_.nullsAreSortedAtEnd(); 163 } catch(RemoteException e) { 164 throw new java.sql.SQLException (e.getMessage()); 165 } 166 } 167 168 173 public String getDatabaseProductName() throws SQLException { 174 try { 175 return rmiMetadata_.getDatabaseProductName(); 176 } catch(RemoteException e) { 177 throw new java.sql.SQLException (e.getMessage()); 178 } 179 } 180 181 186 public String getDatabaseProductVersion() throws SQLException { 187 try { 188 return rmiMetadata_.getDatabaseProductVersion(); 189 } catch(RemoteException e) { 190 throw new java.sql.SQLException (e.getMessage()); 191 } 192 } 193 194 199 public String getDriverName() throws SQLException { 200 try { 201 return rmiMetadata_.getDriverName(); 202 } catch(RemoteException e) { 203 throw new java.sql.SQLException (e.getMessage()); 204 } 205 } 206 207 212 public String getDriverVersion() throws SQLException { 213 try { 214 return rmiMetadata_.getDriverVersion(); 215 } catch(RemoteException e) { 216 throw new java.sql.SQLException (e.getMessage()); 217 } 218 } 219 220 225 public int getDriverMajorVersion() { 226 try { 227 return rmiMetadata_.getDriverMajorVersion(); 228 } catch(Exception e) { 229 return 0; 230 } 231 } 232 233 238 public int getDriverMinorVersion() { 239 try { 240 return rmiMetadata_.getDriverMinorVersion(); 241 } catch(Exception e) { 242 return 0; 243 } 244 } 245 246 251 public boolean usesLocalFiles() throws SQLException { 252 try { 253 return rmiMetadata_.usesLocalFiles(); 254 } catch(RemoteException e) { 255 throw new java.sql.SQLException (e.getMessage()); 256 } 257 } 258 259 264 public boolean usesLocalFilePerTable() throws SQLException { 265 try { 266 return rmiMetadata_.usesLocalFilePerTable(); 267 } catch(RemoteException e) { 268 throw new java.sql.SQLException (e.getMessage()); 269 } 270 } 271 272 280 public boolean supportsMixedCaseIdentifiers() throws SQLException { 281 try { 282 return rmiMetadata_.supportsMixedCaseIdentifiers(); 283 } catch(RemoteException e) { 284 throw new java.sql.SQLException (e.getMessage()); 285 } 286 } 287 288 294 public boolean storesUpperCaseIdentifiers() throws SQLException { 295 try { 296 return rmiMetadata_.storesUpperCaseIdentifiers(); 297 } catch(RemoteException e) { 298 throw new java.sql.SQLException (e.getMessage()); 299 } 300 } 301 302 308 public boolean storesLowerCaseIdentifiers() throws SQLException { 309 try { 310 return rmiMetadata_.storesLowerCaseIdentifiers(); 311 } catch(RemoteException e) { 312 throw new java.sql.SQLException (e.getMessage()); 313 } 314 } 315 316 322 public boolean storesMixedCaseIdentifiers() throws SQLException { 323 try { 324 return rmiMetadata_.storesMixedCaseIdentifiers(); 325 } catch(RemoteException e) { 326 throw new java.sql.SQLException (e.getMessage()); 327 } 328 } 329 330 338 public boolean supportsMixedCaseQuotedIdentifiers() throws SQLException { 339 try { 340 return rmiMetadata_.supportsMixedCaseQuotedIdentifiers(); 341 } catch(RemoteException e) { 342 throw new java.sql.SQLException (e.getMessage()); 343 } 344 } 345 346 352 public boolean storesUpperCaseQuotedIdentifiers() throws SQLException { 353 try { 354 return rmiMetadata_.storesUpperCaseQuotedIdentifiers(); 355 } catch(RemoteException e) { 356 throw new java.sql.SQLException (e.getMessage()); 357 } 358 } 359 360 366 public boolean storesLowerCaseQuotedIdentifiers() throws SQLException { 367 try { 368 return rmiMetadata_.storesLowerCaseQuotedIdentifiers(); 369 } catch(RemoteException e) { 370 throw new java.sql.SQLException (e.getMessage()); 371 } 372 } 373 374 380 public boolean storesMixedCaseQuotedIdentifiers() throws SQLException { 381 try { 382 return rmiMetadata_.storesMixedCaseQuotedIdentifiers(); 383 } catch(RemoteException e) { 384 throw new java.sql.SQLException (e.getMessage()); 385 } 386 } 387 388 396 public String getIdentifierQuoteString() throws SQLException { 397 try { 398 return rmiMetadata_.getIdentifierQuoteString(); 399 } catch(RemoteException e) { 400 throw new java.sql.SQLException (e.getMessage()); 401 } 402 } 403 404 410 public String getSQLKeywords() throws SQLException { 411 try { 412 return rmiMetadata_.getSQLKeywords(); 413 } catch(RemoteException e) { 414 throw new java.sql.SQLException (e.getMessage()); 415 } 416 } 417 418 423 public String getNumericFunctions() throws SQLException { 424 try { 425 return rmiMetadata_.getNumericFunctions(); 426 } catch(RemoteException e) { 427 throw new java.sql.SQLException (e.getMessage()); 428 } 429 } 430 431 436 public String getStringFunctions() throws SQLException { 437 try { 438 return rmiMetadata_.getStringFunctions(); 439 } catch(RemoteException e) { 440 throw new java.sql.SQLException (e.getMessage()); 441 } 442 } 443 444 449 public String getSystemFunctions() throws SQLException { 450 try { 451 return rmiMetadata_.getSystemFunctions(); 452 } catch(RemoteException e) { 453 throw new java.sql.SQLException (e.getMessage()); 454 } 455 } 456 457 462 public String getTimeDateFunctions() throws SQLException { 463 try { 464 return rmiMetadata_.getTimeDateFunctions(); 465 } catch(RemoteException e) { 466 throw new java.sql.SQLException (e.getMessage()); 467 } 468 } 469 470 479 public String getSearchStringEscape() throws SQLException { 480 try { 481 return rmiMetadata_.getSearchStringEscape(); 482 } catch(RemoteException e) { 483 throw new java.sql.SQLException (e.getMessage()); 484 } 485 } 486 487 493 public String getExtraNameCharacters() throws SQLException { 494 try { 495 return rmiMetadata_.getExtraNameCharacters(); 496 } catch(RemoteException e) { 497 throw new java.sql.SQLException (e.getMessage()); 498 } 499 } 500 501 504 509 public boolean supportsAlterTableWithAddColumn() throws SQLException { 510 try { 511 return rmiMetadata_.supportsAlterTableWithAddColumn(); 512 } catch(RemoteException e) { 513 throw new java.sql.SQLException (e.getMessage()); 514 } 515 } 516 517 522 public boolean supportsAlterTableWithDropColumn() throws SQLException { 523 try { 524 return rmiMetadata_.supportsAlterTableWithDropColumn(); 525 } catch(RemoteException e) { 526 throw new java.sql.SQLException (e.getMessage()); 527 } 528 } 529 530 541 public boolean supportsColumnAliasing() throws SQLException { 542 try { 543 return rmiMetadata_.supportsColumnAliasing(); 544 } catch(RemoteException e) { 545 throw new java.sql.SQLException (e.getMessage()); 546 } 547 } 548 549 556 public boolean nullPlusNonNullIsNull() throws SQLException { 557 try { 558 return rmiMetadata_.nullPlusNonNullIsNull(); 559 } catch(RemoteException e) { 560 throw new java.sql.SQLException (e.getMessage()); 561 } 562 } 563 564 569 public boolean supportsConvert() throws SQLException { 570 try { 571 return rmiMetadata_.supportsConvert(); 572 } catch(RemoteException e) { 573 throw new java.sql.SQLException (e.getMessage()); 574 } 575 } 576 577 585 public boolean supportsConvert(int fromType, int toType) throws SQLException { 586 try { 587 return rmiMetadata_.supportsConvert(); 588 } catch(RemoteException e) { 589 throw new java.sql.SQLException (e.getMessage()); 590 } 591 } 592 593 600 public boolean supportsTableCorrelationNames() throws SQLException { 601 try { 602 return rmiMetadata_.supportsTableCorrelationNames(); 603 } catch(RemoteException e) { 604 throw new java.sql.SQLException (e.getMessage()); 605 } 606 } 607 608 614 public boolean supportsDifferentTableCorrelationNames() throws SQLException { 615 try { 616 return rmiMetadata_.supportsDifferentTableCorrelationNames(); 617 } catch(RemoteException e) { 618 throw new java.sql.SQLException (e.getMessage()); 619 } 620 } 621 622 627 public boolean supportsExpressionsInOrderBy() throws SQLException { 628 try { 629 return rmiMetadata_.supportsExpressionsInOrderBy(); 630 } catch(RemoteException e) { 631 throw new java.sql.SQLException (e.getMessage()); 632 } 633 } 634 635 640 public boolean supportsOrderByUnrelated() throws SQLException { 641 try { 642 return rmiMetadata_.supportsOrderByUnrelated(); 643 } catch(RemoteException e) { 644 throw new java.sql.SQLException (e.getMessage()); 645 } 646 } 647 648 653 public boolean supportsGroupBy() throws SQLException { 654 try { 655 return rmiMetadata_.supportsGroupBy(); 656 } catch(RemoteException e) { 657 throw new java.sql.SQLException (e.getMessage()); 658 } 659 } 660 661 666 public boolean supportsGroupByUnrelated() throws SQLException { 667 try { 668 return rmiMetadata_.supportsGroupByUnrelated(); 669 } catch(RemoteException e) { 670 throw new java.sql.SQLException (e.getMessage()); 671 } 672 } 673 674 680 public boolean supportsGroupByBeyondSelect() throws SQLException { 681 try { 682 return rmiMetadata_.supportsGroupByBeyondSelect(); 683 } catch(RemoteException e) { 684 throw new java.sql.SQLException (e.getMessage()); 685 } 686 } 687 688 695 public boolean supportsLikeEscapeClause() throws SQLException { 696 try { 697 return rmiMetadata_.supportsLikeEscapeClause(); 698 } catch(RemoteException e) { 699 throw new java.sql.SQLException (e.getMessage()); 700 } 701 } 702 703 708 public boolean supportsMultipleResultSets() throws SQLException { 709 try { 710 return rmiMetadata_.supportsMultipleResultSets(); 711 } catch(RemoteException e) { 712 throw new java.sql.SQLException (e.getMessage()); 713 } 714 } 715 716 722 public boolean supportsMultipleTransactions() throws SQLException { 723 try { 724 return rmiMetadata_.supportsMultipleTransactions(); 725 } catch(RemoteException e) { 726 throw new java.sql.SQLException (e.getMessage()); 727 } 728 } 729 730 737 public boolean supportsNonNullableColumns() throws SQLException { 738 try { 739 return rmiMetadata_.supportsNonNullableColumns(); 740 } catch(RemoteException e) { 741 throw new java.sql.SQLException (e.getMessage()); 742 } 743 } 744 745 752 public boolean supportsMinimumSQLGrammar() throws SQLException { 753 try { 754 return rmiMetadata_.supportsMinimumSQLGrammar(); 755 } catch(RemoteException e) { 756 throw new java.sql.SQLException (e.getMessage()); 757 } 758 } 759 760 765 public boolean supportsCoreSQLGrammar() throws SQLException { 766 try { 767 return rmiMetadata_.supportsCoreSQLGrammar(); 768 } catch(RemoteException e) { 769 throw new java.sql.SQLException (e.getMessage()); 770 } 771 } 772 773 778 public boolean supportsExtendedSQLGrammar() throws SQLException { 779 try { 780 return rmiMetadata_.supportsExtendedSQLGrammar(); 781 } catch(RemoteException e) { 782 throw new java.sql.SQLException (e.getMessage()); 783 } 784 } 785 786 793 public boolean supportsANSI92EntryLevelSQL() throws SQLException { 794 try { 795 return rmiMetadata_.supportsANSI92EntryLevelSQL(); 796 } catch(RemoteException e) { 797 throw new java.sql.SQLException (e.getMessage()); 798 } 799 } 800 801 806 public boolean supportsANSI92IntermediateSQL() throws SQLException { 807 try { 808 return rmiMetadata_.supportsANSI92IntermediateSQL(); 809 } catch(RemoteException e) { 810 throw new java.sql.SQLException (e.getMessage()); 811 } 812 } 813 814 819 public boolean supportsANSI92FullSQL() throws SQLException { 820 try { 821 return rmiMetadata_.supportsANSI92FullSQL(); 822 } catch(RemoteException e) { 823 throw new java.sql.SQLException (e.getMessage()); 824 } 825 } 826 827 832 public boolean supportsIntegrityEnhancementFacility() throws SQLException { 833 try { 834 return rmiMetadata_.supportsIntegrityEnhancementFacility(); 835 } catch(RemoteException e) { 836 throw new java.sql.SQLException (e.getMessage()); 837 } 838 } 839 840 845 public boolean supportsOuterJoins() throws SQLException { 846 try { 847 return rmiMetadata_.supportsOuterJoins(); 848 } catch(RemoteException e) { 849 throw new java.sql.SQLException (e.getMessage()); 850 } 851 } 852 853 858 public boolean supportsFullOuterJoins() throws SQLException { 859 try { 860 return rmiMetadata_.supportsFullOuterJoins(); 861 } catch(RemoteException e) { 862 throw new java.sql.SQLException (e.getMessage()); 863 } 864 } 865 866 872 public boolean supportsLimitedOuterJoins() throws SQLException { 873 try { 874 return rmiMetadata_.supportsLimitedOuterJoins(); 875 } catch(RemoteException e) { 876 throw new java.sql.SQLException (e.getMessage()); 877 } 878 } 879 880 885 public String getSchemaTerm() throws SQLException { 886 try { 887 return rmiMetadata_.getSchemaTerm(); 888 } catch(RemoteException e) { 889 throw new java.sql.SQLException (e.getMessage()); 890 } 891 } 892 893 898 public String getProcedureTerm() throws SQLException { 899 try { 900 return rmiMetadata_.getProcedureTerm(); 901 } catch(RemoteException e) { 902 throw new java.sql.SQLException (e.getMessage()); 903 } 904 } 905 906 911 public String getCatalogTerm() throws SQLException { 912 try { 913 return rmiMetadata_.getCatalogTerm(); 914 } catch(RemoteException e) { 915 throw new java.sql.SQLException (e.getMessage()); 916 } 917 } 918 919 925 public boolean isCatalogAtStart() throws SQLException { 926 try { 927 return rmiMetadata_.isCatalogAtStart(); 928 } catch(RemoteException e) { 929 throw new java.sql.SQLException (e.getMessage()); 930 } 931 } 932 933 938 public String getCatalogSeparator() throws SQLException { 939 try { 940 return rmiMetadata_.getCatalogSeparator(); 941 } catch(RemoteException e) { 942 throw new java.sql.SQLException (e.getMessage()); 943 } 944 } 945 946 951 public boolean supportsSchemasInDataManipulation() throws SQLException { 952 try { 953 return rmiMetadata_.supportsSchemasInDataManipulation(); 954 } catch(RemoteException e) { 955 throw new java.sql.SQLException (e.getMessage()); 956 } 957 } 958 959 964 public boolean supportsSchemasInProcedureCalls() throws SQLException { 965 try { 966 return rmiMetadata_.supportsSchemasInProcedureCalls(); 967 } catch(RemoteException e) { 968 throw new java.sql.SQLException (e.getMessage()); 969 } 970 } 971 972 977 public boolean supportsSchemasInTableDefinitions() throws SQLException { 978 try { 979 return rmiMetadata_.supportsSchemasInTableDefinitions(); 980 } catch(RemoteException e) { 981 throw new java.sql.SQLException (e.getMessage()); 982 } 983 } 984 985 990 public boolean supportsSchemasInIndexDefinitions() throws SQLException { 991 try { 992 return rmiMetadata_.supportsSchemasInIndexDefinitions(); 993 } catch(RemoteException e) { 994 throw new java.sql.SQLException (e.getMessage()); 995 } 996 } 997 998 1003 public boolean supportsSchemasInPrivilegeDefinitions() throws SQLException { 1004 try { 1005 return rmiMetadata_.supportsSchemasInPrivilegeDefinitions(); 1006 } catch(RemoteException e) { 1007 throw new java.sql.SQLException (e.getMessage()); 1008 } 1009 } 1010 1011 1016 public boolean supportsCatalogsInDataManipulation() throws SQLException { 1017 try { 1018 return rmiMetadata_.supportsCatalogsInDataManipulation(); 1019 } catch(RemoteException e) { 1020 throw new java.sql.SQLException (e.getMessage()); 1021 } 1022 } 1023 1024 1029 public boolean supportsCatalogsInProcedureCalls() throws SQLException { 1030 try { 1031 return rmiMetadata_.supportsCatalogsInProcedureCalls(); 1032 } catch(RemoteException e) { 1033 throw new java.sql.SQLException (e.getMessage()); 1034 } 1035 } 1036 1037 1042 public boolean supportsCatalogsInTableDefinitions() throws SQLException { 1043 try { 1044 return rmiMetadata_.supportsCatalogsInTableDefinitions(); 1045 } catch(RemoteException e) { 1046 throw new java.sql.SQLException (e.getMessage()); 1047 } 1048 } 1049 1050 1055 public boolean supportsCatalogsInIndexDefinitions() throws SQLException { 1056 try { 1057 return rmiMetadata_.supportsCatalogsInIndexDefinitions(); 1058 } catch(RemoteException e) { 1059 throw new java.sql.SQLException (e.getMessage()); 1060 } 1061 } 1062 1063 1068 public boolean supportsCatalogsInPrivilegeDefinitions() throws SQLException { 1069 try { 1070 return rmiMetadata_.supportsCatalogsInPrivilegeDefinitions(); 1071 } catch(RemoteException e) { 1072 throw new java.sql.SQLException (e.getMessage()); 1073 } 1074 } 1075 1076 1077 1082 public boolean supportsPositionedDelete() throws SQLException { 1083 try { 1084 return rmiMetadata_.supportsPositionedDelete(); 1085 } catch(RemoteException e) { 1086 throw new java.sql.SQLException (e.getMessage()); 1087 } 1088 } 1089 1090 1095 public boolean supportsPositionedUpdate() throws SQLException { 1096 try { 1097 return rmiMetadata_.supportsPositionedUpdate(); 1098 } catch(RemoteException e) { 1099 throw new java.sql.SQLException (e.getMessage()); 1100 } 1101 } 1102 1103 1108 public boolean supportsSelectForUpdate() throws SQLException { 1109 try { 1110 return rmiMetadata_.supportsSelectForUpdate(); 1111 } catch(RemoteException e) { 1112 throw new java.sql.SQLException (e.getMessage()); 1113 } 1114 } 1115 1116 1122 public boolean supportsStoredProcedures() throws SQLException { 1123 try { 1124 return rmiMetadata_.supportsStoredProcedures(); 1125 } catch(RemoteException e) { 1126 throw new java.sql.SQLException (e.getMessage()); 1127 } 1128 } 1129 1130 1137 public boolean supportsSubqueriesInComparisons() throws SQLException { 1138 try { 1139 return rmiMetadata_.supportsSubqueriesInComparisons(); 1140 } catch(RemoteException e) { 1141 throw new java.sql.SQLException (e.getMessage()); 1142 } 1143 } 1144 1145 1152 public boolean supportsSubqueriesInExists() throws SQLException { 1153 try { 1154 return rmiMetadata_.supportsSubqueriesInExists(); 1155 } catch(RemoteException e) { 1156 throw new java.sql.SQLException (e.getMessage()); 1157 } 1158 } 1159 1160 1167 public boolean supportsSubqueriesInIns() throws SQLException { 1168 try { 1169 return rmiMetadata_.supportsSubqueriesInIns(); 1170 } catch(RemoteException e) { 1171 throw new java.sql.SQLException (e.getMessage()); 1172 } 1173 } 1174 1175 1182 public boolean supportsSubqueriesInQuantifieds() throws SQLException { 1183 try { 1184 return rmiMetadata_.supportsSubqueriesInQuantifieds(); 1185 } catch(RemoteException e) { 1186 throw new java.sql.SQLException (e.getMessage()); 1187 } 1188 } 1189 1190 1197 public boolean supportsCorrelatedSubqueries() throws SQLException { 1198 try { 1199 return rmiMetadata_.supportsCorrelatedSubqueries(); 1200 } catch(RemoteException e) { 1201 throw new java.sql.SQLException (e.getMessage()); 1202 } 1203 } 1204 1205 1210 public boolean supportsUnion() throws SQLException { 1211 try { 1212 return rmiMetadata_.supportsUnion(); 1213 } catch(RemoteException e) { 1214 throw new java.sql.SQLException (e.getMessage()); 1215 } 1216 } 1217 1218 1223 public boolean supportsUnionAll() throws SQLException { 1224 try { 1225 return rmiMetadata_.supportsUnionAll(); 1226 } catch(RemoteException e) { 1227 throw new java.sql.SQLException (e.getMessage()); 1228 } 1229 } 1230 1231 1237 public boolean supportsOpenCursorsAcrossCommit() throws SQLException { 1238 try { 1239 return rmiMetadata_.supportsOpenCursorsAcrossCommit(); 1240 } catch(RemoteException e) { 1241 throw new java.sql.SQLException (e.getMessage()); 1242 } 1243 } 1244 1245 1251 public boolean supportsOpenCursorsAcrossRollback() throws SQLException { 1252 try { 1253 return rmiMetadata_.supportsOpenCursorsAcrossRollback(); 1254 } catch(RemoteException e) { 1255 throw new java.sql.SQLException (e.getMessage()); 1256 } 1257 } 1258 1259 1265 public boolean supportsOpenStatementsAcrossCommit() throws SQLException { 1266 try { 1267 return rmiMetadata_.supportsOpenStatementsAcrossCommit(); 1268 } catch(RemoteException e) { 1269 throw new java.sql.SQLException (e.getMessage()); 1270 } 1271 } 1272 1273 1279 public boolean supportsOpenStatementsAcrossRollback() throws SQLException { 1280 try { 1281 return rmiMetadata_.supportsOpenStatementsAcrossRollback(); 1282 } catch(RemoteException e) { 1283 throw new java.sql.SQLException (e.getMessage()); 1284 } 1285 } 1286 1287 1293 1298 public int getMaxBinaryLiteralLength() throws SQLException { 1299 try { 1300 return rmiMetadata_.getMaxBinaryLiteralLength(); 1301 } catch(RemoteException e) { 1302 throw new java.sql.SQLException (e.getMessage()); 1303 } 1304 } 1305 1306 1311 public int getMaxCharLiteralLength() throws SQLException { 1312 try { 1313 return rmiMetadata_.getMaxCharLiteralLength(); 1314 } catch(RemoteException e) { 1315 throw new java.sql.SQLException (e.getMessage()); 1316 } 1317 } 1318 1319 1324 public int getMaxColumnNameLength() throws SQLException { 1325 try { 1326 return rmiMetadata_.getMaxColumnNameLength(); 1327 } catch(RemoteException e) { 1328 throw new java.sql.SQLException (e.getMessage()); 1329 } 1330 } 1331 1332 1337 public int getMaxColumnsInGroupBy() throws SQLException { 1338 try { 1339 return rmiMetadata_.getMaxColumnsInGroupBy(); 1340 } catch(RemoteException e) { 1341 throw new java.sql.SQLException (e.getMessage()); 1342 } 1343 } 1344 1345 1350 public int getMaxColumnsInIndex() throws SQLException { 1351 try { 1352 return rmiMetadata_.getMaxColumnsInIndex(); 1353 } catch(RemoteException e) { 1354 throw new java.sql.SQLException (e.getMessage()); 1355 } 1356 } 1357 1358 1363 public int getMaxColumnsInOrderBy() throws SQLException { 1364 try { 1365 return rmiMetadata_.getMaxColumnsInOrderBy(); 1366 } catch(RemoteException e) { 1367 throw new java.sql.SQLException (e.getMessage()); 1368 } 1369 } 1370 1371 1376 public int getMaxColumnsInSelect() throws SQLException { 1377 try { 1378 return rmiMetadata_.getMaxColumnsInSelect(); 1379 } catch(RemoteException e) { 1380 throw new java.sql.SQLException (e.getMessage()); 1381 } 1382 } 1383 1384 1389 public int getMaxColumnsInTable() throws SQLException { 1390 try { 1391 return rmiMetadata_.getMaxColumnsInTable(); 1392 } catch(RemoteException e) { 1393 throw new java.sql.SQLException (e.getMessage()); 1394 } 1395 } 1396 1397 1402 public int getMaxConnections() throws SQLException { 1403 try { 1404 return rmiMetadata_.getMaxConnections(); 1405 } catch(RemoteException e) { 1406 throw new java.sql.SQLException (e.getMessage()); 1407 } 1408 } 1409 1410 1415 public int getMaxCursorNameLength() throws SQLException { 1416 try { 1417 return rmiMetadata_.getMaxCursorNameLength(); 1418 } catch(RemoteException e) { 1419 throw new java.sql.SQLException (e.getMessage()); 1420 } 1421 } 1422 1423 1428 public int getMaxIndexLength() throws SQLException { 1429 try { 1430 return rmiMetadata_.getMaxIndexLength(); 1431 } catch(RemoteException e) { 1432 throw new java.sql.SQLException (e.getMessage()); 1433 } 1434 } 1435 1436 1441 public int getMaxSchemaNameLength() throws SQLException { 1442 try { 1443 return rmiMetadata_.getMaxSchemaNameLength(); 1444 } catch(RemoteException e) { 1445 throw new java.sql.SQLException (e.getMessage()); 1446 } 1447 } 1448 1449 1454 public int getMaxProcedureNameLength() throws SQLException { 1455 try { 1456 return rmiMetadata_.getMaxProcedureNameLength(); 1457 } catch(RemoteException e) { 1458 throw new java.sql.SQLException (e.getMessage()); 1459 } 1460 } 1461 1462 1467 public int getMaxCatalogNameLength() throws SQLException { 1468 try { 1469 return rmiMetadata_.getMaxCatalogNameLength(); 1470 } catch(RemoteException e) { 1471 throw new java.sql.SQLException (e.getMessage()); 1472 } 1473 } 1474 1475 1480 public int getMaxRowSize() throws SQLException { 1481 try { 1482 return rmiMetadata_.getMaxRowSize(); 1483 } catch(RemoteException e) { 1484 throw new java.sql.SQLException (e.getMessage()); 1485 } 1486 } 1487 1488 1494 public boolean doesMaxRowSizeIncludeBlobs() throws SQLException { 1495 try { 1496 return rmiMetadata_.doesMaxRowSizeIncludeBlobs(); 1497 } catch(RemoteException e) { 1498 throw new java.sql.SQLException (e.getMessage()); 1499 } 1500 } 1501 1502 1507 public int getMaxStatementLength() throws SQLException { 1508 try { 1509 return rmiMetadata_.getMaxStatementLength(); 1510 } catch(RemoteException e) { 1511 throw new java.sql.SQLException (e.getMessage()); 1512 } 1513 } 1514 1515 1521 public int getMaxStatements() throws SQLException { 1522 try { 1523 return rmiMetadata_.getMaxStatements(); 1524 } catch(RemoteException e) { 1525 throw new java.sql.SQLException (e.getMessage()); 1526 } 1527 } 1528 1529 1534 public int getMaxTableNameLength() throws SQLException { 1535 try { 1536 return rmiMetadata_.getMaxTableNameLength(); 1537 } catch(RemoteException e) { 1538 throw new java.sql.SQLException (e.getMessage()); 1539 } 1540 } 1541 1542 1547 public int getMaxTablesInSelect() throws SQLException { 1548 try { 1549 return rmiMetadata_.getMaxTablesInSelect(); 1550 } catch(RemoteException e) { 1551 throw new java.sql.SQLException (e.getMessage()); 1552 } 1553 } 1554 1555 1560 public int getMaxUserNameLength() throws SQLException { 1561 try { 1562 return rmiMetadata_.getMaxUserNameLength(); 1563 } catch(RemoteException e) { 1564 throw new java.sql.SQLException (e.getMessage()); 1565 } 1566 } 1567 1568 1570 1577 public int getDefaultTransactionIsolation() throws SQLException { 1578 try { 1579 return rmiMetadata_.getDefaultTransactionIsolation(); 1580 } catch(RemoteException e) { 1581 throw new java.sql.SQLException (e.getMessage()); 1582 } 1583 } 1584 1585 1591 public boolean supportsTransactions() throws SQLException { 1592 try { 1593 return rmiMetadata_.supportsTransactions(); 1594 } catch(RemoteException e) { 1595 throw new java.sql.SQLException (e.getMessage()); 1596 } 1597 } 1598 1599 1606 public boolean supportsTransactionIsolationLevel(int level) 1607 throws SQLException { 1608 try { 1609 return rmiMetadata_.supportsTransactionIsolationLevel(level); 1610 } catch(RemoteException e) { 1611 throw new java.sql.SQLException (e.getMessage()); 1612 } 1613 } 1614 1615 1621 public boolean supportsDataDefinitionAndDataManipulationTransactions() 1622 throws SQLException { 1623 try { 1624 return 1625 rmiMetadata_.supportsDataDefinitionAndDataManipulationTransactions(); 1626 } catch(RemoteException e) { 1627 throw new java.sql.SQLException (e.getMessage()); 1628 } 1629 } 1630 1631 1637 public boolean supportsDataManipulationTransactionsOnly() 1638 throws SQLException { 1639 try { 1640 return rmiMetadata_.supportsDataManipulationTransactionsOnly(); 1641 } catch(RemoteException e) { 1642 throw new java.sql.SQLException (e.getMessage()); 1643 } 1644 } 1645 1646 1652 public boolean dataDefinitionCausesTransactionCommit() 1653 throws SQLException { 1654 try { 1655 return rmiMetadata_.dataDefinitionCausesTransactionCommit(); 1656 } catch(RemoteException e) { 1657 throw new java.sql.SQLException (e.getMessage()); 1658 } 1659 } 1660 1661 1666 public boolean dataDefinitionIgnoredInTransactions() 1667 throws SQLException { 1668 try { 1669 return rmiMetadata_.dataDefinitionIgnoredInTransactions(); 1670 } catch(RemoteException e) { 1671 throw new java.sql.SQLException (e.getMessage()); 1672 } 1673 } 1674 1675 1708 public java.sql.ResultSet getProcedures(String catalog, String schemaPattern, 1709 String procedureNamePattern) throws SQLException { 1710 try { 1711 return new RJResultSet( 1712 rmiMetadata_.getProcedures(catalog, schemaPattern, procedureNamePattern), 1713 null); 1714 } catch(RemoteException e) { 1715 throw new java.sql.SQLException (e.getMessage()); 1716 } 1717 } 1718 1719 1774 public java.sql.ResultSet getProcedureColumns(String catalog, 1775 String schemaPattern, 1776 String procedureNamePattern, 1777 String columnNamePattern) throws SQLException { 1778 try { 1779 return new RJResultSet( 1780 rmiMetadata_.getProcedureColumns(catalog, schemaPattern, 1781 procedureNamePattern, columnNamePattern), 1782 null); 1783 } catch(RemoteException e) { 1784 throw new java.sql.SQLException (e.getMessage()); 1785 } 1786 } 1787 1788 1818 public java.sql.ResultSet getTables(String catalog, String schemaPattern, 1819 String tableNamePattern, String types[]) throws SQLException { 1820 try { 1821 return new RJResultSet( 1822 rmiMetadata_.getTables(catalog, schemaPattern, tableNamePattern, types), 1823 null); 1824 } catch(RemoteException e) { 1825 throw new java.sql.SQLException (e.getMessage()); 1826 } 1827 } 1828 1829 1841 public java.sql.ResultSet getSchemas() throws SQLException { 1842 try { 1843 return new RJResultSet(rmiMetadata_.getSchemas(), null); 1844 } catch(RemoteException e) { 1845 throw new java.sql.SQLException (e.getMessage()); 1846 } 1847 } 1848 1849 1861 public java.sql.ResultSet getCatalogs() throws SQLException { 1862 try { 1863 return new RJResultSet(rmiMetadata_.getCatalogs(), null); 1864 } catch(RemoteException e) { 1865 throw new java.sql.SQLException (e.getMessage()); 1866 } 1867 } 1868 1869 1883 public java.sql.ResultSet getTableTypes() throws SQLException { 1884 try { 1885 return new RJResultSet(rmiMetadata_.getTableTypes(), null); 1886 } catch(RemoteException e) { 1887 throw new java.sql.SQLException (e.getMessage()); 1888 } 1889 } 1890 1891 1940 public java.sql.ResultSet getColumns(String catalog, String schemaPattern, 1941 String tableNamePattern, String columnNamePattern) throws SQLException { 1942 try { 1943 return new RJResultSet( 1944 rmiMetadata_.getColumns(catalog, schemaPattern, tableNamePattern, 1945 columnNamePattern), 1946 null); 1947 } catch(RemoteException e) { 1948 throw new java.sql.SQLException (e.getMessage()); 1949 } 1950 } 1951 1952 1980 public java.sql.ResultSet getColumnPrivileges(String catalog, String schema, 1981 String table, String columnNamePattern) throws SQLException { 1982 try { 1983 return new RJResultSet( 1984 rmiMetadata_.getColumnPrivileges(catalog, schema, table, 1985 columnNamePattern), 1986 null); 1987 } catch(RemoteException e) { 1988 throw new java.sql.SQLException (e.getMessage()); 1989 } 1990 } 1991 1992 2024 public java.sql.ResultSet getTablePrivileges(String catalog, 2025 String schemaPattern, String tableNamePattern) throws SQLException { 2026 try { 2027 return new RJResultSet( 2028 rmiMetadata_.getTablePrivileges(catalog, schemaPattern, 2029 tableNamePattern), 2030 null); 2031 } catch(RemoteException e) { 2032 throw new java.sql.SQLException (e.getMessage()); 2033 } 2034 } 2035 2036 2071 public java.sql.ResultSet getBestRowIdentifier(String catalog, String schema, 2072 String table, int scope, boolean nullable) throws SQLException { 2073 try { 2074 return new RJResultSet( 2075 rmiMetadata_.getBestRowIdentifier(catalog, schema, table, scope, 2076 nullable), 2077 null); 2078 } catch(RemoteException e) { 2079 throw new java.sql.SQLException (e.getMessage()); 2080 } 2081 } 2082 2083 2112 public java.sql.ResultSet getVersionColumns(String catalog, String schema, 2113 String table) throws SQLException { 2114 try { 2115 return new RJResultSet( 2116 rmiMetadata_.getVersionColumns(catalog, schema, table), 2117 null); 2118 } catch(RemoteException e) { 2119 throw new java.sql.SQLException (e.getMessage()); 2120 } 2121 } 2122 2123 2144 public java.sql.ResultSet getPrimaryKeys(String catalog, String schema, 2145 String table) throws SQLException { 2146 try { 2147 return new RJResultSet( 2148 rmiMetadata_.getPrimaryKeys(catalog, schema, table), 2149 null); 2150 } catch(RemoteException e) { 2151 throw new java.sql.SQLException (e.getMessage()); 2152 } 2153 } 2154 2155 2222 public java.sql.ResultSet getImportedKeys(String catalog, String schema, 2223 String table) throws SQLException { 2224 try { 2225 return new RJResultSet( 2226 rmiMetadata_.getImportedKeys(catalog, schema, table), 2227 null); 2228 } catch(RemoteException e) { 2229 throw new java.sql.SQLException (e.getMessage()); 2230 } 2231 } 2232 2233 2300 public java.sql.ResultSet getExportedKeys(String catalog, String schema, 2301 String table) throws SQLException { 2302 try { 2303 return new RJResultSet( 2304 rmiMetadata_.getExportedKeys(catalog, schema, table), 2305 null); 2306 } catch(RemoteException e) { 2307 throw new java.sql.SQLException (e.getMessage()); 2308 } 2309 } 2310 2311 2386 public java.sql.ResultSet getCrossReference( 2387 String primaryCatalog, String primarySchema, String primaryTable, 2388 String foreignCatalog, String foreignSchema, String foreignTable) 2389 throws SQLException { 2390 try { 2391 return new RJResultSet( 2392 rmiMetadata_.getCrossReference( 2393 primaryCatalog, primarySchema, primaryTable, 2394 foreignCatalog, foreignSchema, foreignTable), 2395 null); 2396 } catch(RemoteException e) { 2397 throw new java.sql.SQLException (e.getMessage()); 2398 } 2399 } 2400 2401 2446 public java.sql.ResultSet getTypeInfo() throws SQLException { 2447 try { 2448 return new RJResultSet(rmiMetadata_.getTypeInfo(), null); 2449 } catch(RemoteException e) { 2450 throw new java.sql.SQLException (e.getMessage()); 2451 } 2452 } 2453 2454 2505 public java.sql.ResultSet getIndexInfo(String catalog, String schema, 2506 String table, boolean unique, boolean approximate) throws SQLException { 2507 try { 2508 return new RJResultSet( 2509 rmiMetadata_.getIndexInfo(catalog, schema, table, unique, approximate), 2510 null); 2511 } catch(RemoteException e) { 2512 throw new java.sql.SQLException (e.getMessage()); 2513 } 2514 } 2515 2516 2517 2519public boolean updatesAreDetected(int type) throws SQLException 2520 { 2521 try { 2522 return rmiMetadata_.updatesAreDetected(type); 2523 } catch(RemoteException e) { 2524 throw new java.sql.SQLException (e.getMessage()); 2525 } 2526 } 2527 2528public boolean supportsResultSetType(int type) throws SQLException 2529 { 2530 try { 2531 return rmiMetadata_.supportsResultSetType(type); 2532 } catch(RemoteException e) { 2533 throw new java.sql.SQLException (e.getMessage()); 2534 } 2535 } 2536 2537public boolean supportsResultSetConcurrency(int type, 2538 int concurrency) throws SQLException 2539 { 2540 try { 2541 return rmiMetadata_.supportsResultSetConcurrency(type,concurrency); 2542 } catch(RemoteException e) { 2543 throw new java.sql.SQLException (e.getMessage()); 2544 } 2545 } 2546 2547public boolean ownUpdatesAreVisible(int type) throws SQLException 2548 { 2549 try { 2550 return rmiMetadata_.ownUpdatesAreVisible(type); 2551 } catch(RemoteException e) { 2552 throw new java.sql.SQLException (e.getMessage()); 2553 } 2554 } 2555 2556public boolean ownInsertsAreVisible(int type) throws SQLException 2557 { 2558 try { 2559 return rmiMetadata_.ownInsertsAreVisible(type); 2560 } catch(RemoteException e) { 2561 throw new java.sql.SQLException (e.getMessage()); 2562 } 2563 } 2564 2565public boolean ownDeletesAreVisible(int type) throws SQLException 2566 { 2567 try { 2568 return rmiMetadata_.ownDeletesAreVisible(type); 2569 } catch(RemoteException e) { 2570 throw new java.sql.SQLException (e.getMessage()); 2571 } 2572 } 2573 2574public boolean othersUpdatesAreVisible(int type) throws SQLException 2575 { 2576 try { 2577 return rmiMetadata_.othersUpdatesAreVisible(type); 2578 } catch(RemoteException e) { 2579 throw new java.sql.SQLException (e.getMessage()); 2580 } 2581 } 2582 2583public boolean othersInsertsAreVisible(int type) throws SQLException 2584 { 2585 try { 2586 return rmiMetadata_.othersInsertsAreVisible(type); 2587 } catch(RemoteException e) { 2588 throw new java.sql.SQLException (e.getMessage()); 2589 } 2590 } 2591 2592public boolean othersDeletesAreVisible(int type) throws SQLException 2593 { 2594 try { 2595 return rmiMetadata_.othersDeletesAreVisible(type); 2596 } catch(RemoteException e) { 2597 throw new java.sql.SQLException (e.getMessage()); 2598 } 2599 } 2600 2601public boolean insertsAreDetected(int type) throws SQLException 2602 { 2603 try { 2604 return rmiMetadata_.insertsAreDetected(type); 2605 } catch(RemoteException e) { 2606 throw new java.sql.SQLException (e.getMessage()); 2607 } 2608 } 2609 2610 2611 public ResultSet getUDTs(String catalog, String schemaPattern, 2612 String typeNamePattern, int[] types) throws SQLException { 2613 try { 2614 return new RJResultSet( 2615 rmiMetadata_.getUDTs(catalog,schemaPattern,typeNamePattern,types), 2616 null); 2617 } catch(RemoteException e) { 2618 throw new java.sql.SQLException (e.getMessage()); 2619 } 2620 } 2621 2622 2623public boolean supportsBatchUpdates() throws SQLException 2624 { 2625 try { 2626 return rmiMetadata_.supportsBatchUpdates(); 2627 } catch(RemoteException e) { 2628 throw new java.sql.SQLException (e.getMessage()); 2629 } 2630 } 2631 2632 public Connection getConnection() throws SQLException { 2633 return connection_; 2634 } 2635 2636public boolean deletesAreDetected(int type) throws SQLException 2637 { 2638 try { 2639 return rmiMetadata_.deletesAreDetected(type); 2640 } catch(RemoteException e) { 2641 throw new java.sql.SQLException (e.getMessage()); 2642 } 2643 } 2644 2645 2647 public boolean supportsSavepoints() throws SQLException { 2648 try { 2649 return rmiMetadata_.supportsSavepoints(); 2650 } catch(RemoteException e) { 2651 throw new java.sql.SQLException (e.getMessage()); 2652 } 2653 } 2654 2655 public boolean supportsNamedParameters() throws SQLException { 2656 try { 2657 return rmiMetadata_.supportsNamedParameters(); 2658 } catch(RemoteException e) { 2659 throw new java.sql.SQLException (e.getMessage()); 2660 } 2661 } 2662 2663 public boolean supportsMultipleOpenResults() throws SQLException { 2664 try { 2665 return rmiMetadata_.supportsMultipleOpenResults(); 2666 } catch(RemoteException e) { 2667 throw new java.sql.SQLException (e.getMessage()); 2668 } 2669 } 2670 2671 public boolean supportsGetGeneratedKeys() throws SQLException { 2672 try { 2673 return rmiMetadata_.supportsGetGeneratedKeys(); 2674 } catch(RemoteException e) { 2675 throw new java.sql.SQLException (e.getMessage()); 2676 } 2677 } 2678 2679 public ResultSet getSuperTypes(String catalog, String schemaPattern, 2680 String typeNamePattern) throws SQLException { 2681 try { 2682 return new RJResultSet( 2683 rmiMetadata_.getSuperTypes(catalog, schemaPattern, typeNamePattern), 2684 null); 2685 } catch(RemoteException e) { 2686 throw new java.sql.SQLException (e.getMessage()); 2687 } 2688 } 2689 2690 public ResultSet getSuperTables(String catalog, String schemaPattern, 2691 String tableNamePattern) throws SQLException { 2692 try { 2693 return new RJResultSet( 2694 rmiMetadata_.getSuperTables(catalog, schemaPattern, tableNamePattern), 2695 null); 2696 } catch(RemoteException e) { 2697 throw new java.sql.SQLException (e.getMessage()); 2698 } 2699 } 2700 2701 public ResultSet getAttributes(String catalog, String schemaPattern, 2702 String typeNamePattern, String attributeNamePattern) throws SQLException { 2703 try { 2704 return new RJResultSet( 2705 rmiMetadata_.getAttributes(catalog, schemaPattern, typeNamePattern, 2706 attributeNamePattern), 2707 null); 2708 } catch(RemoteException e) { 2709 throw new java.sql.SQLException (e.getMessage()); 2710 } 2711 } 2712 2713 public boolean supportsResultSetHoldability(int holdability) 2714 throws SQLException { 2715 try { 2716 return rmiMetadata_.supportsResultSetHoldability(holdability); 2717 } catch(RemoteException e) { 2718 throw new java.sql.SQLException (e.getMessage()); 2719 } 2720 } 2721 2722 public int getResultSetHoldability() throws SQLException { 2723 try { 2724 return rmiMetadata_.getResultSetHoldability(); 2725 } catch(RemoteException e) { 2726 throw new java.sql.SQLException (e.getMessage()); 2727 } 2728 } 2729 2730 public int getDatabaseMajorVersion() throws SQLException { 2731 try { 2732 return rmiMetadata_.getDatabaseMajorVersion(); 2733 } catch(RemoteException e) { 2734 throw new java.sql.SQLException (e.getMessage()); 2735 } 2736 } 2737 2738 public int getDatabaseMinorVersion() throws SQLException { 2739 try { 2740 return rmiMetadata_.getDatabaseMinorVersion(); 2741 } catch(RemoteException e) { 2742 throw new java.sql.SQLException (e.getMessage()); 2743 } 2744 } 2745 2746 public int getJDBCMajorVersion() throws SQLException { 2747 try { 2748 return rmiMetadata_.getJDBCMajorVersion(); 2749 } catch(RemoteException e) { 2750 throw new java.sql.SQLException (e.getMessage()); 2751 } 2752 } 2753 2754 public int getJDBCMinorVersion() throws SQLException { 2755 try { 2756 return rmiMetadata_.getJDBCMinorVersion(); 2757 } catch(RemoteException e) { 2758 throw new java.sql.SQLException (e.getMessage()); 2759 } 2760 } 2761 2762 public int getSQLStateType() throws SQLException { 2763 try { 2764 return rmiMetadata_.getSQLStateType(); 2765 } catch(RemoteException e) { 2766 throw new java.sql.SQLException (e.getMessage()); 2767 } 2768 } 2769 2770 public boolean locatorsUpdateCopy() throws SQLException { 2771 try { 2772 return rmiMetadata_.locatorsUpdateCopy(); 2773 } catch(RemoteException e) { 2774 throw new java.sql.SQLException (e.getMessage()); 2775 } 2776 } 2777 2778 public boolean supportsStatementPooling() throws SQLException { 2779 try { 2780 return rmiMetadata_.supportsStatementPooling(); 2781 } catch(RemoteException e) { 2782 throw new java.sql.SQLException (e.getMessage()); 2783 } 2784 } 2785 2786}; 2787 2788 | Popular Tags |