This file is indexed.

/usr/share/doc/libhsqldb-java-doc/guide/dbproperties-chapt.html is in libhsqldb-java-doc 2.3.3+dfsg2-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Chapter&nbsp;13.&nbsp;Properties</title>
<link href="../docbook.css" type="text/css" rel="stylesheet">
<meta content="DocBook XSL-NS Stylesheets V1.76.1" name="generator">
<meta name="keywords" content="Hsqldb, HyperSQL, SQL">
<meta name="keywords" content="Hsqldb, HyperSQL, Database, JDBC, Java">
<link rel="home" href="index.html" title="HyperSQL User Guide">
<link rel="up" href="index.html" title="HyperSQL User Guide">
<link rel="prev" href="compatibility-chapt.html" title="Chapter&nbsp;12.&nbsp;Compatibility With Other DBMS">
<link rel="next" href="listeners-chapt.html" title="Chapter&nbsp;14.&nbsp;HyperSQL Network Listeners (Servers)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<div class="navheader">
<table summary="Navigation header" width="100%">
<tr>
<td align="left" width="30%"><a accesskey="p" href="compatibility-chapt.html"><img src="../images/db/prev.png" alt="Prev"></a>&nbsp;</td><td align="center" width="40%" style="font-weight:bold;">Chapter&nbsp;13.&nbsp;Properties</td><td align="right" width="30%">&nbsp;<a accesskey="n" href="listeners-chapt.html"><img src="../images/db/next.png" alt="Next"></a></td>
</tr>
<tr>
<td valign="top" align="left" width="30%">Chapter&nbsp;12.&nbsp;Compatibility With Other DBMS&nbsp;</td><td align="center" width="40%"><a accesskey="h" href="index.html"><img src="../images/db/home.png" alt="Home"></a></td><td valign="top" align="right" width="30%">&nbsp;Chapter&nbsp;14.&nbsp;HyperSQL Network Listeners
    (Servers)</td>
</tr>
</table>
</div>
<HR>
<div class="chapter" title="Chapter&nbsp;13.&nbsp;Properties">
<div class="titlepage">
<div>
<div>
<h2 class="title">
<a name="dbproperties-chapt"></a>Chapter&nbsp;13.&nbsp;Properties</h2>
</div>
<div>
<div class="authorgroup">
<div class="author">
<h3 class="author">
<span class="firstname">Fred</span> <span class="surname">Toussi</span>
</h3>
<div class="affiliation">
<span class="orgname">The HSQL Development Group<br>
</span>
</div>
</div>
</div>
</div>
<div>
<p class="releaseinfo">$Revision: 5481 $</p>
</div>
<div>
<div class="legalnotice" title="Legal Notice">
<a name="N14F32"></a>
<p>Copyright 2002-2015 Fred Toussi. Permission is granted to
      distribute this document without any alteration under the terms of the
      HSQLDB license. Additional permission is granted to the HSQL Development
      Group to distribute this document with or without alterations under the
      terms of the HSQLDB license.</p>
</div>
</div>
<div>
<p class="pubdate">2015-06-29 22:26:11-0400</p>
</div>
</div>
</div>
<div class="toc">
<p>
<b>Table of Contents</b>
</p>
<dl>
<dt>
<span class="section"><a href="dbproperties-chapt.html#dpc_connection_url">Connection URL</a></span>
</dt>
<dt>
<span class="section"><a href="dbproperties-chapt.html#dpc_variables_url">Variables In Connection URL</a></span>
</dt>
<dt>
<span class="section"><a href="dbproperties-chapt.html#dpc_connection_props">Properties for Individual Connections</a></span>
</dt>
<dt>
<span class="section"><a href="dbproperties-chapt.html#dpc_db_props_url">Properties for the Database</a></span>
</dt>
<dd>
<dl>
<dt>
<span class="section"><a href="dbproperties-chapt.html#dpc_sql_conformance">SQL Conformance Properties</a></span>
</dt>
<dt>
<span class="section"><a href="dbproperties-chapt.html#dpc_db_operations">Database Operations Properties</a></span>
</dt>
<dt>
<span class="section"><a href="dbproperties-chapt.html#dpc_db_file_mem">Database File and Memory Properties</a></span>
</dt>
<dt>
<span class="section"><a href="dbproperties-chapt.html#dpc_crypt_props">Crypt Properties</a></span>
</dt>
</dl>
</dd>
<dt>
<span class="section"><a href="dbproperties-chapt.html#dpc_system_props">System Properties</a></span>
</dt>
</dl>
</div>
<div class="section" title="Connection URL">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both">
<a name="dpc_connection_url"></a>Connection URL</h2>
</div>
</div>
</div>
<p>The normal method of accessing a HyperSQL catalog is via the JDBC
    Connection interface. An introduction to different methods of providing
    database services and accessing them can be found in the <a class="link" href="sqlgeneral-chapt.html" title="Chapter&nbsp;2.&nbsp;SQL Language">SQL Language</a> chapter.
    Details and examples of how to connect via JDBC are provided in our
    JavaDoc for <code class="classname"><a class="classname" href="filelinks-app.html#JDBCConnection.html-link">
    JDBCConnection</a></code>.</p>
<p>A uniform method is used to distinguish between different types of
    connection. The common driver identifier is
    <code class="literal">jdbc:hsqldb:</code> followed by a protocol identifier
    (<code class="literal">mem: file: res: hsql: http: hsqls: https:</code>) then
    followed by host and port identifiers in the case of servers, then
    followed by database identifier. Additional property / value pairs can be
    appended to the end of the URL, separated with semicolons.</p>
<div class="table">
<a name="N14F4B"></a>
<p class="title">
<b>Table&nbsp;13.1.&nbsp;Memory Database URL</b>
</p>
<div class="table-contents">
<table summary="Memory Database URL" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col align="left" class="c1">
<col align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Driver and Protocol</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Host and Port Example</th><th style="border-bottom: 0.5pt solid ; " align="left">Database Example</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top">
<table summary="Simple list" border="0" class="simplelist">
<tr>
<td><code class="literal">jdbc:hsqldb:mem:</code></td>
</tr>
</table>
</td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top">not available</td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">
<table summary="Simple list" border="0" class="simplelist">
<tr>
<td><code class="literal">accounts</code></td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>Lowercase, single-word
            identifier creates the in-memory database when the first
            connection is made. Subsequent use of the same Connection URL
            connects to the existing DB.</p> 
<p>The old form for the
            URL, <code class="literal">jdbc:hsqldb:.</code> creates or connects to the
            same database as the new form for the URL,
            <code class="literal">jdbc:hsqldb:mem:.</code>
</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N14F81"></a>
<p class="title">
<b>Table&nbsp;13.2.&nbsp;File Database URL</b>
</p>
<div class="table-contents">
<table summary="File Database URL" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col align="left" class="c1">
<col align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Driver and Protocol</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Host and Port Example</th><th style="border-bottom: 0.5pt solid ; " align="left">Database Example</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top">
<table summary="Simple list" border="0" class="simplelist">
<tr>
<td><code class="literal">jdbc:hsqldb:file:</code></td>
</tr>
</table>
</td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top">not available</td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">
<table summary="Simple list" border="0" class="simplelist">
<tr>
<td><code class="literal">accounts</code></td>
</tr>
<tr>
<td><code class="literal">/opt/db/accounts</code></td>
</tr>
<tr>
<td><code class="literal">C:/data/mydb</code></td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>The file path specifies the
            database files. It should consist of a relative or absolute path
            to the directory containing the database files, followed by a '/'
            and the database name. In the above examples the first one refers
            to a set of mydb.* files in the directory where the
            <code class="literal">java</code>command for running the application was
            issued. The second and third examples refer to absolute paths on
            the host machine: For example, files named accounts.* in the
            directory /opt/db for the accounts database.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N14FB8"></a>
<p class="title">
<b>Table&nbsp;13.3.&nbsp;Resource Database URL</b>
</p>
<div class="table-contents">
<table summary="Resource Database URL" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col align="left" class="c1">
<col align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Driver and Protocol</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Host and Port Example</th><th style="border-bottom: 0.5pt solid ; " align="left">Database Example</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top">
<table summary="Simple list" border="0" class="simplelist">
<tr>
<td><code class="literal">jdbc:hsqldb:res:</code></td>
</tr>
</table>
</td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top">not available</td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">
<table summary="Simple list" border="0" class="simplelist">
<tr>
<td><code class="literal">/adirectory/dbname</code></td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">Database files can be loaded from
            one of the jars specified as part of the <code class="literal">Java</code>
            command the same way as resource files are accessed in Java
            programs. The <code class="literal">/adirectory</code> above stands for a
            directory in one of the jars.</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N14FEB"></a>
<p class="title">
<b>Table&nbsp;13.4.&nbsp;Server Database URL</b>
</p>
<div class="table-contents">
<table summary="Server Database URL" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col align="left" class="c1">
<col align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Driver and Protocol</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Host and Port Example</th><th style="border-bottom: 0.5pt solid ; " align="left">Database Example</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top">
<table summary="Simple list" border="0" class="simplelist">
<tr>
<td><code class="literal">jdbc:hsqldb:hsql:</code></td>
</tr>
<tr>
<td><code class="literal">jdbc:hsqldb:hsqls:</code></td>
</tr>
<tr>
<td><code class="literal">jdbc:hsqldb:http:</code></td>
</tr>
<tr>
<td><code class="literal">jdbc:hsqldb:https:</code></td>
</tr>
</table>
</td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top">
<table summary="Simple list" border="0" class="simplelist">
<tr>
<td><code class="literal">//localhost</code></td>
</tr>
<tr>
<td><code class="literal">//192.0.0.10:9500</code></td>
</tr>
<tr>
<td><code class="literal">//dbserver.somedomain.com</code></td>
</tr>
</table>
</td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">
<table summary="Simple list" border="0" class="simplelist">
<tr>
<td><code class="literal">/an_alias</code></td>
</tr>
<tr>
<td><code class="literal">/enrolments</code></td>
</tr>
<tr>
<td><code class="literal">/quickdb</code></td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>The host and port specify
            the IP address or host name of the server and an optional port
            number. The database to connect to is specified by an alias. This
            alias is a lowercase string defined in the
            <code class="filename">server.properties</code> file to refer to an actual
            database on the file system of the server or a transient,
            in-memory database on the server. The following example lines in
            <code class="filename">server.properties</code> or
            <code class="filename">webserver.properties</code> define the database
            aliases listed above and accessible to clients to refer to
            different file and in-memory databases.</p> 
<p>The old form
            for the server URL, e.g.,
            <code class="literal">jdbc:hsqldb:hsql//localhost</code> connects to the
            same database as the new form for the URL,
            <code class="literal">jdbc:hsqldb:hsql//localhost/</code> where the alias is
            a zero length string.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
</div>
<div class="section" title="Variables In Connection URL">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both">
<a name="dpc_variables_url"></a>Variables In Connection URL</h2>
</div>
</div>
</div>
<p>Two types of variables are allowed for file: database URLs. These
    properties have an effect only if used for the first connection to the
    database (the connection which opens the database). When running a server,
    these variables have no effect on the connection URL but can be appended
    to the database path URL in server.properties or the server command
    line.</p>
<p>If the database part of a file: database begins with
    <code class="literal">~/</code> or <code class="literal">~\</code> the tilde character is
    replaced with the value of the system property
    <code class="literal">"user.home"</code> resulting in the database being created or
    accessed in this directory, or one of its subdirectories. In the examples
    below, the database files for <code class="literal">mydb</code> and
    <code class="literal">filedb</code> are located in the user's home directory.</p>
<pre class="programlisting"> jdbc:hsqldb:file:~/mydb
 jdbc:hsqldb:file:~/filedb;shutdown=true
</pre>
<p>If the database URL contains a string in the form of
    <code class="literal">${propname}</code> then the sequence of characters is replaced
    with the system property with the given name. For example you can use this
    in the URL of a database that is used in a web application and define the
    system property, "propname" in the web application properties. In the
    example below, the string <code class="literal">${mydbpath}</code> is replaced with
    the value of the property, <code class="literal">mydbpath</code>
</p>
<pre class="programlisting"> jdbc:hsqldb:file:${mydbpath}</pre>
</div>
<div class="section" title="Properties for Individual Connections">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both">
<a name="dpc_connection_props"></a>Properties for Individual Connections</h2>
</div>
</div>
</div>
<p>Each JDBC Connection to a database can specify connection
    properties. The properties <span class="property">user</span> and
    <span class="property">password</span> are always required. The following optional
    properties can also be used.</p>
<p>Connection properties are specified either by establishing the
    connection via the method call below, or the property can be appended to
    the full Connection URL. The first three of these properties can be used
    for any connection, including connection to a Server but the other three
    have an effect only with the first connection to a file: or mem: database,
    or when appended to the database path URL in server.properties or the
    server command line.</p>
<pre class="programlisting"> DriverManager.getConnection (String url, Properties info);</pre>
<div class="table">
<a name="N15079"></a>
<p class="title">
<b>Table&nbsp;13.5.&nbsp;User and Password</b>
</p>
<div class="table-contents">
<table summary="User and Password" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">user</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">SA</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">user name</td>
</tr>
<tr>
<td style="border-bottom: 0.5pt solid ; " colspan="3" align="left" valign="top">
<p>Standard property. This
            property is case sensitive. Example below:</p>
<pre class="programlisting"> jdbc:hsqldb:file:enrolments;user=aUserName;ifexists=true</pre>
</td>
</tr>
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">password</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">empty string</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">password for the user</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>Standard property. This
            property is case sensitive. Example below:</p>
<pre class="programlisting"> jdbc:hsqldb:file:enrolments;user=aUserName;password=3xLVz</pre>
<p>For
            compatibility with other engines, a non-standard form of
            specifying user and password is also supported. In this form, user
            name and password appear at the end of the URL string, prefixed
            respectively with the question mark and the
            ampersand:</p>
<pre class="programlisting"> jdbc:hsqldb:file:enrolments;create=false?user=aUserName&amp;password=3xLVz</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N150BA"></a>
<p class="title">
<b>Table&nbsp;13.6.&nbsp;Closing old ResultSet when Statement is reused</b>
</p>
<div class="table-contents">
<table summary="Closing old ResultSet when Statement is reused" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="7cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">close_result</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">false</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">closing the old result set when a new ResultSet is created
            by a Statement</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>This property is used for
            compatibility with the JDBC specification. When true (the JDBC
            specification), a <code class="classname">ResultSet</code> that was
            previously returned by executing a
            <code class="classname">Statement</code> or
            <code class="classname">PreparedStatement</code> is closed as soon as the
            <code class="classname">Statement</code> is executed
            again.</p>
<p>The default is false as previous versions of
            HSQLDB did not close old result set. The user application should
            close old result sets when they are no longer needed and should
            not rely on auto-closing side effect of executing the
            Statement.</p>
<p>The default is false. When the property is
            true, the old <code class="classname">ResultSet</code> is closed when a
            <code class="classname">Statement</code> is re-executed. Example
            below:</p>
<pre class="programlisting"> jdbc:hsqldb:hsql://localhost/enrolments;close_result=true</pre>
<p>When
            a <code class="classname">ResultSet</code> is used inside a user-defined
            stored procedure, the default, false, is always used for this
            property.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N15101"></a>
<p class="title">
<b>Table&nbsp;13.7.&nbsp;Column Names in JDBC ResultSet</b>
</p>
<div class="table-contents">
<table summary="Column Names in JDBC ResultSet" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="7cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">get_column_name</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">true</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">column name in ResultSet</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>This property is used for
            compatibility with other JDBC driver implementations. When true
            (the default), <code class="methodname">ResultSet.getColumnName(int
            c)</code> returns the underlying column name. This property
            can be specified differently for different connections to the same
            database.</p>
<p>The default is true. When the property is
            false, the above method returns the same value as
            <code class="methodname">ResultSet.getColumnLabel(int column)</code>
            Example below:</p>
<pre class="programlisting"> jdbc:hsqldb:hsql://localhost/enrolments;get_column_name=false</pre>
<p>When
            a <code class="classname">ResultSet</code> is used inside a user-defined
            stored procedure, the default, true, is always used for this
            property.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N1513A"></a>
<p class="title">
<b>Table&nbsp;13.8.&nbsp;Creating New Database</b>
</p>
<div class="table-contents">
<table summary="Creating New Database" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">ifexists</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">false</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">connect only if database already exists</td>
</tr>
<tr>
<td style="border-bottom: 0.5pt solid ; " colspan="3" align="left" valign="top">
<p>Has an effect only with
            <em class="glossterm">mem:</em> and <em class="glossterm">file:</em>
            database. When true, will not create a new database if one does
            not already exist for the URL.</p>
<p>When the property is
            false (the default), a new <em class="glossterm">mem:</em> or
            <em class="glossterm">file:</em> database will be created if it does
            not exist.</p>
<p>Setting the property to true is useful when
            troubleshooting as no database is created if the URL is malformed.
            Example below:</p>
<pre class="programlisting"> jdbc:hsqldb:file:enrolments;ifexists=true</pre>
</td>
</tr>
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">create</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">true</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">create the database if it does not exist</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>Similar to the ifexists
            property, but with opposite meaning.</p>
<p>Has an effect
            only with <em class="glossterm">mem:</em> and
            <em class="glossterm">file:</em> database. When false, will not create
            a new database if one does not already exist for the
            URL.</p>
<p>When the property is true (the default), a new
            <em class="glossterm">mem:</em> or <em class="glossterm">file:</em>
            database will be created if it does not exist.</p>
<p>Setting
            the property to true is useful when troubleshooting as no database
            is created if the URL is malformed. Example
            below:</p>
<pre class="programlisting"> jdbc:hsqldb:file:enrolments;create=false</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N15199"></a>
<p class="title">
<b>Table&nbsp;13.9.&nbsp;Automatic Shutdown</b>
</p>
<div class="table-contents">
<table summary="Automatic Shutdown" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">shutdown</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">false</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">shut down the database when the last connection is
            closed</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>If this property is
            <code class="literal">true</code>, when the last connection to a database is
            closed, the database is automatically shut down. The property
            takes effect only when the first connection is made to the
            database. This means the connection that opens the database. It
            has no effect if used with subsequent
            connections.</p>
<p>This command has two uses. One is for
            test suites, where connections to the database are made from one
            JVM context, immediately followed by another context. The other
            use is for applications where it is not easy to configure the
            environment to shutdown the database. Examples reported by users
            include web application servers, where the closing of the last
            connection coincides with the web app being shut
            down.</p>
<pre class="programlisting"> jdbc:hsqldb:file:enrolments;shutdown=true</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<p>In addition, when the first connection to an
    <em class="glossterm">in-process</em> <code class="literal">file:</code> or
    <code class="literal">mem:</code> database creates a new database all the
    user-defined database properties can be specified as URL properties. See
    the next section for details.</p>
</div>
<div class="section" title="Properties for the Database">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both">
<a name="dpc_db_props_url"></a>Properties for the Database</h2>
</div>
</div>
</div>
<p>Each database has several default settings (properties) that are
    listed in the <a class="link" href="management-chapt.html" title="Chapter&nbsp;11.&nbsp;System Management">System Management</a> chapter. These properties can be
    changed via SQL commands after a connection is made to the database. It is
    possible to specify most of these properties in the connection properties
    or as part of the URL string when the first connection is made to a new
    <code class="literal">file:</code> or <code class="literal">mem:</code> database. This allows
    the properties to be set without using any SQL commands. The corresponding
    SQL command is given for each property. For a server, these properties can
    be appended to the database path URL in server.properties or the server
    command line.</p>
<p>Note the prefered method of setting database properties is by using
    a set of SQL statements. These statements can be used both for a new
    database or an existing database, unlike URL properties that are generally
    effective for new databases only.</p>
<p>If the properties are used for connection to an existing database,
    they are ignored.</p>
<p>The exceptions are the following property settings that are allowed
    for the first connection to an existing database (the connection which
    reopens the database): <code class="literal">readonly=true</code>,
    <code class="literal">files_readonly=true</code>,
    <code class="literal">hsqldb.lock_file=false</code>,
    <code class="literal">hsqldb.sqllog=1-3</code>,
    <code class="literal">hsqldb.applog=1-3</code>. These specific property / value
    pairs override the existing database properties. For example a normal
    database is opened as readonly, or the lock file is not created, or the
    sql log level is set to a value between 1 and 3.</p>
<p>Management of properties has changed since version 1.8. The old SET
    PROPERTY statement does not change a property and is ignored. The
    statement is retained to simplify application upgrades.</p>
<p>In the example URL below, two properties are set for the first
    connection to a new database.</p>
<pre class="programlisting"> jdbc:hsqldb:file:enrolments;hsqldb.cache_rows=10000;hsqldb.nio_data_file=false</pre>
<p>In the table below, database properties that can be used as part of
    the URL or in connection properties are listed. For each property that can
    also be set with an SQL statement, the statement is also given. These
    statements are described more extensively in the <a class="link" href="management-chapt.html" title="Chapter&nbsp;11.&nbsp;System Management">System Management</a>
    chapter.</p>
<div class="table">
<a name="N15206"></a>
<p class="title">
<b>Table&nbsp;13.10.&nbsp;Validity Check Property</b>
</p>
<div class="table-contents">
<table summary="Validity Check Property" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">check_props</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">false</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">checks the validity of the connection properties</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>If the property is true,
            every database property that is specified on the URL or in
            connection properties is checked and if it is not used correctly,
            an error is returned.</p>
<pre class="programlisting">this property cannot be set with an SQL statement</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="section" title="SQL Conformance Properties">
<div class="titlepage">
<div>
<div>
<h3 class="title">
<a name="dpc_sql_conformance"></a>SQL Conformance Properties</h3>
</div>
</div>
</div>
<div class="table">
<a name="N15237"></a>
<p class="title">
<b>Table&nbsp;13.11.&nbsp;SQL Keyword Use as Identifier</b>
</p>
<div class="table-contents">
<table summary="SQL Keyword Use as Identifier" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">sql.enforce_names</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">false</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">enforcing SQL keywords</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>This property, when set
              true, prevents SQL keywords being used for database object names
              such as columns and tables.</p>
<pre class="programlisting">SET DATABASE SQL NAMES { TRUE | FALSE }</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N15264"></a>
<p class="title">
<b>Table&nbsp;13.12.&nbsp;SQL Keyword Starting with the Underscore or Containing Dollar
        Characters</b>
</p>
<div class="table-contents">
<table summary="SQL Keyword Starting with the Underscore or Containing Dollar
        Characters" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">sql.regular_names</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">true</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">enforcing SQL keywords</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>This property, when set
              true, prevents database object names such as columns and tables
              beginning with the underscore or containing the dollar
              character.</p>
<pre class="programlisting">SET DATABASE SQL REGULAR NAMES { TRUE | FALSE }</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N15291"></a>
<p class="title">
<b>Table&nbsp;13.13.&nbsp;Reference to Columns Names</b>
</p>
<div class="table-contents">
<table summary="Reference to Columns Names" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">sql.enforce_refs</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">false</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">enforcing column reference disambiguation</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>This property, when set
              true, causes an error when an SQL statement (usually a select
              statement) contains column references that can be resolved by
              more than one table name or alias. In effect forces such column
              references to have a table name or table alias
              qualifier.</p>
<pre class="programlisting">SET DATABASE SQL REFERENCES { TRUE | FALSE }</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N152BE"></a>
<p class="title">
<b>Table&nbsp;13.14.&nbsp;String Size Declaration</b>
</p>
<div class="table-contents">
<table summary="String Size Declaration" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">sql.enforce_size</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">true</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">size enforcement of string columns</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>Conforms to SQL standards
              for size and precision of data types. When true, all VARCHAR
              column type declarations require a size. When the property is
              false and there is no size in the declaration, a default size is
              used. Note that all other types accept a declaration without a
              size, which is interpreted as a default
              size.</p>
<pre class="programlisting">SET DATABASE SQL SIZE { TRUE | FALSE }</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N152EB"></a>
<p class="title">
<b>Table&nbsp;13.15.&nbsp;Type Enforcement in Comparison and Assignment</b>
</p>
<div class="table-contents">
<table summary="Type Enforcement in Comparison and Assignment" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">sql.enforce_types</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">false</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">enforcing type compatibility</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>This property, when set
              true, causes an error when an SQL statements contains
              comparisons or assignments that are non-standard due to type
              mismatch. Most illegal comparisons and assignments will cause an
              exception regardless of this setting. This setting applies to a
              small number of comparisons and assignments that are possible,
              but not standard conformant, and were allowed in previous
              versions of HSQLDB.</p>
<pre class="programlisting">SET DATABASE SQL TYPES { TRUE | FALSE }</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N15318"></a>
<p class="title">
<b>Table&nbsp;13.16.&nbsp;Foreign Key Triggered Data Change</b>
</p>
<div class="table-contents">
<table summary="Foreign Key Triggered Data Change" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">sql.enforce_tdc_delete</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">true</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">enforcing triggered data change violation for
              deletes</td>
</tr>
<tr>
<td style="border-bottom: 0.5pt solid ; " colspan="3" align="left" valign="top">
<p>The ON DELETE and ON
              UPDATE clauses of constraints cause data changes in rows in
              different tables or the same table. When there are multiple
              constraints, a row may be updated by one constraint and deleted
              by another constraint in the same operation. This is not allowed
              by default. Changing this property to false allows such
              violations of the Standard to pass without an exception. Used
              for porting from database engines that do not enforce the
              constraints.</p>
<pre class="programlisting">SET DATABASE SQL TDC DELETE { TRUE | FALSE }</pre>
</td>
</tr>
<tr>
<td style="border-bottom: 0.5pt solid ; " colspan="3" align="left" valign="top">&nbsp;</td>
</tr>
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">sql.enforce_tdc_update</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">true</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">enforcing triggered data change violation for
              updates</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>The ON DELETE and ON
              UPDATE clauses of foreign key constraints cause data changes in
              rows in different tables or the same table. With multiple
              constraint, a field may be updated by two constraints and set to
              different values. This is not allowed by default. Changing this
              property to false allows such violations of the Standard to pass
              without an exception. Used for porting from database engines
              that do not enforce the constraints
              properly.</p>
<pre class="programlisting">SET DATABASE SQL TDC UPDATE { TRUE | FALSE }</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N1535B"></a>
<p class="title">
<b>Table&nbsp;13.17.&nbsp;Use of LOB for LONGVAR Types</b>
</p>
<div class="table-contents">
<table summary="Use of LOB for LONGVAR Types" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">sql.longvar_is_lob</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">false</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">translating longvarchar and longvarbinary to lob</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>This property, when set
              true, causes type declarations using LONGVARCHAR and
              LONGVARBINARY to be translated to CLOB and BLOB respectively. By
              default, they are translated to VARCHAR and
              VARBINARY.</p>
<pre class="programlisting">SET DATABASE SQL LONGVAR IS LOB { TRUE | FALSE }</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N15388"></a>
<p class="title">
<b>Table&nbsp;13.18.&nbsp;Concatenation with NULL</b>
</p>
<div class="table-contents">
<table summary="Concatenation with NULL" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">sql.concat_nulls</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">true</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">behaviour of concatenation involving one null</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>This property, when set
              false, causes the concatenation of a null and a not null value
              to return the not null value. By default, it returns
              null.</p>
<pre class="programlisting">SET DATABASE SQL CONCAT NULLS { TRUE | FALSE }</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N153B5"></a>
<p class="title">
<b>Table&nbsp;13.19.&nbsp;NULL in Multi-Column UNIQUE Constraints</b>
</p>
<div class="table-contents">
<table summary="NULL in Multi-Column UNIQUE Constraints" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">sql.unique_nulls</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">true</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">behaviour of multi-column UNIQUE constraints with null
              values</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>This property, when set
              false, causes multi-column unique constrains to be more
              restrictive for value sets that contain a mix of null and not
              null values.</p>
<pre class="programlisting">SET DATABASE SQL UNIQUE NULLS { TRUE | FALSE }</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N153E2"></a>
<p class="title">
<b>Table&nbsp;13.20.&nbsp;Truncation or Rounding in Type Conversion</b>
</p>
<div class="table-contents">
<table summary="Truncation or Rounding in Type Conversion" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">sql.convert_trunc</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">true</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">behaviour of type conversion from DOUBLE to integral
              types</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>This property, when set
              false, causes type conversions from DOUBLE to any integral type
              to use rounding. By default truncation is
              used.</p>
<pre class="programlisting">SET DATABASE SQL CONVERT TRUNCATE { TRUE | FALSE }</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N1540F"></a>
<p class="title">
<b>Table&nbsp;13.21.&nbsp;Decimal Scale of Division and AVG Values</b>
</p>
<div class="table-contents">
<table summary="Decimal Scale of Division and AVG Values" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">sql.avg_scale</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">0</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">decimal scale of values returned by division and the AVG
              and MEDIAN aggregate functions</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>By default, the result of
              a division or an AVG or MEDIAN aggregate has the same type and
              scale as the aggregated value. For INTEGER types, the scale is
              0. When this property is set to a value other than the default
              0, then the scale is used if it is greater than the scale of the
              divisor or aggregated value. This property does not affect
              DOUBLE values. Values between 0 - 10 can be used for this
              property.</p>
<pre class="programlisting">SET DATABASE SQL AVG SCALE &lt;numeric value&gt;</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N1543C"></a>
<p class="title">
<b>Table&nbsp;13.22.&nbsp;Support for NaN values</b>
</p>
<div class="table-contents">
<table summary="Support for NaN values" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">sql.double_nan</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">true</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">behaviour of expressions returning DOUBLE NaN</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>This property, when set
              false, causes division of DOUBLE values by Zero to return a
              Double.NaN value. By default an exception is
              thrown.</p>
<pre class="programlisting">SET DATABASE SQL DOUBLE NAN { TRUE | FALSE }</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N15469"></a>
<p class="title">
<b>Table&nbsp;13.23.&nbsp;Sort order of NULL values</b>
</p>
<div class="table-contents">
<table summary="Sort order of NULL values" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">sql.nulls_first</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">true</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">ordering of NULL values</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>By default, nulls appear
              before not-null values when a result set is ordered without
              specifying NULLS FIRST or NULLS LAST. This property, when set
              false, causes nulls to appear by default after not-null values
              in result sets with ORDER BY</p>
<pre class="programlisting">SET DATABASE SQL NULLS FIRST { TRUE | FALSE }</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N15496"></a>
<p class="title">
<b>Table&nbsp;13.24.&nbsp;Sort order of NULL values with DESC</b>
</p>
<div class="table-contents">
<table summary="Sort order of NULL values with DESC" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">sql.nulls_order</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">true</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">ordering of NULL values when DESC is used</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>By default, when an ORDER
              BY clause that does not specify NULLS FIRST or NULLS LAST is
              used, nulls are ordered according to the
              <code class="literal">sql.nulls_first</code> setting even when DESC is
              used after ORDER BY. This property, when set false, causes nulls
              to appear in the opposite position when DESC is
              used.</p>
<pre class="programlisting">SET DATABASE SQL NULLS ORDER { TRUE | FALSE }</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N154C6"></a>
<p class="title">
<b>Table&nbsp;13.25.&nbsp;String comparison with padding</b>
</p>
<div class="table-contents">
<table summary="String comparison with padding" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">sql.pad_space</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">true</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">ordering of strings with trailing spaces</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>By default, when two
              strings are compared, he shorter string is padded with spaces
              before comparison. When this property is set false, no padding
              takes place before comparison. Without padding, the shorter
              string is never equal to the longer one.</p>
<p>Before
              version 2.0, HSQLDB used NO PAD comparison. If you need the old
              behaviour, use this property when opening an older
              database.</p>
<pre class="programlisting">SET DEFAULT COLLATION &lt;collation name&gt; [ NO PAD | PAD SPACE ]</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N154F5"></a>
<p class="title">
<b>Table&nbsp;13.26.&nbsp;Case Insensitive Varchar columns</b>
</p>
<div class="table-contents">
<table summary="Case Insensitive Varchar columns" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">sql.ignore_case</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">false</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">case-insensitive VARCHAR</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>When this propery is set
              true, all VARCHAR declarations in CREATE TABLE and other
              statemenst are assigned an Upper Case Comparison collation,
              SQL_TEXT_UCC. This is designed for compatibility with some
              databases that use case-insensitive comparison. It is better to
              specify the collation selectively for specific columns that
              require it.</p>
<pre class="programlisting">SET DATABASE COLLATION SQL_TEXT_UCC</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N15522"></a>
<p class="title">
<b>Table&nbsp;13.27.&nbsp;DB2 Style Syntax</b>
</p>
<div class="table-contents">
<table summary="DB2 Style Syntax" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">sql.syntax_db2</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">false</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">support for DB2 style syntax</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>This property, when set
              true, allows compatibility with some aspects of this dialect.
              </p>
<pre class="programlisting">SET DATABASE SQL SYNTAX DB2 { TRUE | FALSE }</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N1554E"></a>
<p class="title">
<b>Table&nbsp;13.28.&nbsp;MSSQL Style Syntax</b>
</p>
<div class="table-contents">
<table summary="MSSQL Style Syntax" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">sql.syntax_mss</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">false</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">support for MS SQL Server style syntax</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>This property, when set
              true, switches the arguments of the CONVERT function and also
              allow compatibility with some other aspects of this dialect.
              </p>
<pre class="programlisting">SET DATABASE SQL SYNTAX MSS { TRUE | FALSE }</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N1557A"></a>
<p class="title">
<b>Table&nbsp;13.29.&nbsp;MySQL Style Syntax</b>
</p>
<div class="table-contents">
<table summary="MySQL Style Syntax" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">sql.syntax_mys</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">false</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">support for MySQL style syntax</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>This property, when set
              true, enables support for TEXT and AUTO_INCREMENT types and also
              allow compatibility with some other aspects of this
              dialect.</p>
<pre class="programlisting">SET DATABASE SQL SYNTAX MYS { TRUE | FALSE }</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N155A7"></a>
<p class="title">
<b>Table&nbsp;13.30.&nbsp;Oracle Style Syntax</b>
</p>
<div class="table-contents">
<table summary="Oracle Style Syntax" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">sql.syntax_ora</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">false</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">support for Oracle style syntax</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>This property, when set
              true, enables support for non-standard types. It also enables
              DUAL, ROWNUM, NEXTVAL and CURRVAL syntax and and also allow
              compatibility with some other aspects of this
              dialect.</p>
<pre class="programlisting">SET DATABASE SQL SYNTAX ORA { TRUE | FALSE }</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N155D4"></a>
<p class="title">
<b>Table&nbsp;13.31.&nbsp;PostgreSQL Style Syntax</b>
</p>
<div class="table-contents">
<table summary="PostgreSQL Style Syntax" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">sql.syntax_pgs</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">false</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">support for PostgreSQL style syntax</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>This property, when set
              true, enables support for TEXT and SERIAL types. It also enables
              NEXTVAL, CURRVAL and LASTVAL syntax and also allow compatibility
              with some other aspects of this dialect.</p>
<pre class="programlisting">SET DATABASE SQL SYNTAX PGS { TRUE | FALSE }</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
</div>
<div class="section" title="Database Operations Properties">
<div class="titlepage">
<div>
<div>
<h3 class="title">
<a name="dpc_db_operations"></a>Database Operations Properties</h3>
</div>
</div>
</div>
<div class="table">
<a name="N15604"></a>
<p class="title">
<b>Table&nbsp;13.32.&nbsp;Default Table Type</b>
</p>
<div class="table-contents">
<table summary="Default Table Type" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">hsqldb.default_table_type</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">memory</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">type of table created with unqualified CREATE
              TABLE</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>The CREATE TABLE command
              results in a MEMORY table by default. Setting the value
              <span class="emphasis"><em>cached</em></span> for this property will result in a
              cached table by default. The qualified forms such as CREATE
              MEMORY TABLE or CREATE CACHED TABLE are not affected at all by
              this property.</p>
<pre class="programlisting">SET DATABASE DEFAULT TABLE TYPE { CACHED | MEMORY }</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N15634"></a>
<p class="title">
<b>Table&nbsp;13.33.&nbsp;Transaction Control Mode</b>
</p>
<div class="table-contents">
<table summary="Transaction Control Mode" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">hsqldb.tx</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">locks</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">database transaction control mode</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>Indicates the transaction
              control mode for the database. The values, locks, mvlocks and
              mvcc are allowed.</p>
<pre class="programlisting">SET DATABASE TRANSACTION CONTROL { LOCKS | MVLOCKS | MVCC }</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N15661"></a>
<p class="title">
<b>Table&nbsp;13.34.&nbsp;Default Isolation Level for Sessions</b>
</p>
<div class="table-contents">
<table summary="Default Isolation Level for Sessions" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">hsqldb.tx_level</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">read_commited</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">database default transaction isolation level</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>Indicates the default
              transaction isolation level for each new session. The values,
              read_committed and serializable are allowed. Individual sessions
              can change their isolation level.</p>
<pre class="programlisting">SET DATABASE DEFAULT ISOLATION LEVEL { READ COMMITTED | SERIALIZABLE }</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N1568E"></a>
<p class="title">
<b>Table&nbsp;13.35.&nbsp;Transaction Rollback in Deadlock</b>
</p>
<div class="table-contents">
<table summary="Transaction Rollback in Deadlock" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">hsqldb.tx_conflict_rollback</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">true</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">effect of deadlock or other conflicts on
              transaction</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>When a transaction
              deadlock or other unresolvable conflict is about to happen, the
              current transaction is rolled back and an exception is raised.
              When this property is set false, the transaction is not rolled
              back. Only the latest action that would cause the conflict is
              undone and an error is returned. The property should not be
              changed unless the application can quickly perform an
              alternative statement and complete the transaction. It is
              provided for compatibility with other database engines which do
              not roll back the transaction upon
              deadlock.</p>
<pre class="programlisting">SET DATABASE TRANSACTION ROLLBACK ON CONFLICT { TRUE | FALSE }</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N156BB"></a>
<p class="title">
<b>Table&nbsp;13.36.&nbsp;Time Zone and Interval Types</b>
</p>
<div class="table-contents">
<table summary="Time Zone and Interval Types" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">hsqldb.translate_tti_types</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">true</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">usage of type codes for advanced datetime and interval
              types</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>If the property is true,
              the TIME / TIMESTAMP WITH TIME ZONE types and INTERVAL types are
              represented in JDBC methods of
              <code class="classname">ResultSetMetaData</code> and
              <code class="classname">DatabaseMetaData</code> as JDBC datetime types
              without time zone and the VARCHAR type respectively. The
              original type names are preserved.</p>
<pre class="programlisting">SET DATABASE SQL TRANSLATE TTI TYPES { TRUE | FALSE }</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
</div>
<div class="section" title="Database File and Memory Properties">
<div class="titlepage">
<div>
<div>
<h3 class="title">
<a name="dpc_db_file_mem"></a>Database File and Memory Properties</h3>
</div>
</div>
</div>
<div class="table">
<a name="N156F2"></a>
<p class="title">
<b>Table&nbsp;13.37.&nbsp;Opening Database as Read Only</b>
</p>
<div class="table-contents">
<table summary="Opening Database as Read Only" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">readonly</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">false</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">readonly database - is used to open an existing
              <code class="literal">file:</code> database</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>This property is a special
              property that can be added manually to the .properties file, or
              included in the URL or connection properties. When this property
              is true, the database becomes readonly. This can be used with an
              existing database to open it for readonly
              operation.</p>
<pre class="programlisting">this property cannot be set with an SQL statement - it can be used in the .properties file</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N15722"></a>
<p class="title">
<b>Table&nbsp;13.38.&nbsp;Opening Database Without Modifying the Files</b>
</p>
<div class="table-contents">
<table summary="Opening Database Without Modifying the Files" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">files_readonly</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">false</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">readonly files database - is used to open an existing
              <code class="literal">file:</code> database</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>This property is used
              similarly to the hsqldb.readonly property. When this property is
              true, CACHED and TEXT tables are readonly but memory tables are
              not. Any change to the data is not persisted to database
              files.</p>
<pre class="programlisting">this property cannot be set with an SQL statement - it can be used in the .properties file</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N15752"></a>
<p class="title">
<b>Table&nbsp;13.39.&nbsp;Huge database files and tables</b>
</p>
<div class="table-contents">
<table summary="Huge database files and tables" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">hsqldb.large_data</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">false</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">enable huge database files - can also be used to open an
              existing <code class="literal">file:</code> database</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>By default, up to 2
              billion rows can be stored in disk-based CACHED tables. Setting
              this property to true increases the limit to 256 billion rows.
              This property is used as a connection
              property.</p>
<pre class="programlisting">this property cannot be set with an SQL statement - it can be used as a connection property for the connection that opens the database</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N15782"></a>
<p class="title">
<b>Table&nbsp;13.40.&nbsp;Event Logging</b>
</p>
<div class="table-contents">
<table summary="Event Logging" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">hsqldb.applog</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">0</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">application logging level - can also be used when
              openning an existing <code class="literal">file:</code> database</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>The default level 0
              indicates no logging. Level 1 results in minimal logging,
              including any failures. Level 2 indicates all events, including
              ordinary events. LEVEL 3 adds details of some of the normal
              operations. The events are logged in a file ending with
              ".app.log".</p>
<pre class="programlisting">SET DATABASE EVENT LOG LEVEL { 0 | 1 | 2 | 3}</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N157B2"></a>
<p class="title">
<b>Table&nbsp;13.41.&nbsp;SQL Logging</b>
</p>
<div class="table-contents">
<table summary="SQL Logging" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">hsqldb.sqllog</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">0</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">sql logging level - can also be used when openning an
              existing <code class="literal">file:</code> database</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>The default level 0
              indicates no logging. Level 1 logs only commits and rollbacks.
              Level 2 logs all the SQL statements executed, together with
              their parameter values. Long statements and parameter values are
              truncated. Level 3 is similar to Level 2 but does not truncate
              long statements and values. The events are logged in a file
              ending with ".sql.log". This property applies to existing file:
              databases as well as new databases.</p>
<pre class="programlisting">SET DATABASE EVENT LOG SQL LEVEL { 0 | 1 | 2 | 3}</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N157E2"></a>
<p class="title">
<b>Table&nbsp;13.42.&nbsp;Temporary Result Rows in Memory</b>
</p>
<div class="table-contents">
<table summary="Temporary Result Rows in Memory" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">hsqldb.result_max_memory_rows</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">0</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">storage of temporary results and tables in memory or on
              disk</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>This property can be set
              to specify how many rows of each results or temporary table are
              stored in memory before the table is written to disk. The
              default is zero and means data is always stored in memory. If
              this setting is used, it should be set above
              1000.</p>
<pre class="programlisting">SET DATABASE DEFAULT RESULT MEMORY ROWS &lt;numeric value&gt;</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N1580F"></a>
<p class="title">
<b>Table&nbsp;13.43.&nbsp;Rows Cached In Memory</b>
</p>
<div class="table-contents">
<table summary="Rows Cached In Memory" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">hsqldb.cache_free_count</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">512</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">maximum number of unused space recovery - can also be
              used when openning an existing <code class="literal">file:</code>
              database</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>The default indicates 512
              unused spaces are kept for later use. The value can range
              between 0 - 8096. </p>
<p>When rows are deleted, the space
              is recovered and kept for reuse for new rows. If too many rows
              are deleted, the smaller recovered spaces are lost and the
              largest ones are retained for later use. Normally there is no
              need to set this property.</p>
<pre class="programlisting">this property cannot be set with an SQL statement</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N15841"></a>
<p class="title">
<b>Table&nbsp;13.44.&nbsp;Rows Cached In Memory</b>
</p>
<div class="table-contents">
<table summary="Rows Cached In Memory" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">hsqldb.cache_rows</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">50000</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">maximum number of rows in memory cache</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>Indicates the maximum
              number of rows of cached tables that are held in
              memory.</p>
<p>The value can range between 100- 4 billion.
              If the value is set via SET FILES CACHE ROWS then it becomes
              effective after the next database
              SHUTDOWN.</p>
<pre class="programlisting">SET FILES CACHE ROWS &lt;numeric value&gt;</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N15870"></a>
<p class="title">
<b>Table&nbsp;13.45.&nbsp;Size of Rows Cached in Memory</b>
</p>
<div class="table-contents">
<table summary="Size of Rows Cached in Memory" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">hsqldb.cache_size</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">10000</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">memory cache size</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>Indicates the total size
              (in kilobytes) of rows in the memory cache used with cached
              tables. This size is calculated as the binary size of the rows,
              for example an INTEGER is 4 bytes. The actual memory size used
              by the objects is 2 to 4 times this value. This depends on the
              types of objects in database rows, for example with binary
              objects the factor is less than 2, with character strings, the
              factor is just over 2 and with date and timestamp objects the
              factor is over 3.</p>
<p>The value can range between 100 KB
              - 4 GB. The default is 10,000, representing 10,000 kilobytes. If
              the value is set via SET FILES then it becomes effective after
              the next database SHUTDOWN or
              CHECKPOINT.</p>
<pre class="programlisting">SET FILES CACHE SIZE &lt;numeric value&gt;</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N1589F"></a>
<p class="title">
<b>Table&nbsp;13.46.&nbsp;Size Scale of Disk Table Storage</b>
</p>
<div class="table-contents">
<table summary="Size Scale of Disk Table Storage" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">hsqldb.cache_file_scale</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">32</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">unit used for storage of rows in the .data file</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>The default value
              corresponds to a maximum size of 64 GB for the .data file. This
              can be increased to 64, 128, 256, 512, or 1024 resulting in up
              to 2 TB GB storage. Settings below 32 in older databases are
              preserved until a SHUTDOWN COMPACT.</p>
<pre class="programlisting">SET FILES SCALE &lt;numeric value&gt;</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N158CC"></a>
<p class="title">
<b>Table&nbsp;13.47.&nbsp;Size Scale of LOB Storage</b>
</p>
<div class="table-contents">
<table summary="Size Scale of LOB Storage" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">hsqldb.lob_file_scale</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">32</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">unit used for storage of lobs in the .lobs file</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>The default value
              represents units of 32KB. When the average size of individual
              lobs in the database is smaller, a smaller unit can be used to
              reduce the overall size of the .lobs file. Values 1, 2, 4, 8,
              16, 32 can be used.</p>
<pre class="programlisting">SET FILES LOB SCALE &lt;numeric value&gt;</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N158F9"></a>
<p class="title">
<b>Table&nbsp;13.48.&nbsp;Compression of BLOB and CLOB data</b>
</p>
<div class="table-contents">
<table summary="Compression of BLOB and CLOB data" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">hsqldb.lob_compressed</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">false</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">use of compression for storage of blobs and clobs</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>The default value is
              false, indicating no compression. When the value is true at the
              time of creation of a new database, blobs and clobs are stored
              as compressed parts.</p>
<pre class="programlisting">SET FILES LOB COMPRESSED { TRUE | FALSE }</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N15926"></a>
<p class="title">
<b>Table&nbsp;13.49.&nbsp;Internal Backup of Database Files</b>
</p>
<div class="table-contents">
<table summary="Internal Backup of Database Files" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">hsqldb.inc_backup</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">true</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">incremental backup of data file</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>During updates, the
              contents of the .data file are modified. When this property is
              true, the modified contents are backed up gradually. This causes
              a marginal slowdown in operations, but allows fast checkpoint
              and shutdown.</p>
<p>When the property is false, the .data
              file is backed up entirely at the time of checkpoint and
              shutdown. Up to version 1.8, HSQLDB supported only full
              backup.</p>
<pre class="programlisting">SET FILES BACKUP INCREMENT { TRUE | FALSE }</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N15955"></a>
<p class="title">
<b>Table&nbsp;13.50.&nbsp;Use of Lock File</b>
</p>
<div class="table-contents">
<table summary="Use of Lock File" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">hsqldb.lock_file</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">true</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">use of lock file - can also be used with an existing
              <code class="literal">file:</code> database</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>By default, a lock file is
              created for each file database that is opened for read and
              write. This property can be specified with the value false to
              prevent the lock file from being created. This usage is not
              recommended but may be desirable when flash type storage is
              used. This property applies to existing file: databases as well
              as new databases.</p>
<pre class="programlisting">this property cannot be set with an SQL statement</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N15985"></a>
<p class="title">
<b>Table&nbsp;13.51.&nbsp;Logging Data Change Statements</b>
</p>
<div class="table-contents">
<table summary="Logging Data Change Statements" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">hsqldb.log_data</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">true</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">logging data change</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>This property can be set
              to <code class="literal">false</code> when database recovery in the event
              of an unexpected crash is not necessary. A database that is used
              as a temporary cache is an example. Regardless of the value of
              this property, if there is a proper shutdown of the database,
              all the changed data is stored. A checkpoint or shutdown still
              rewrites the <code class="literal">.script</code> file and saves the
              <code class="literal">.backup</code> file according to the other
              settings.</p>
<pre class="programlisting">SET FILES LOG  { TRUE | FALSE }</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N159BB"></a>
<p class="title">
<b>Table&nbsp;13.52.&nbsp;Automatic Checkpoint Frequency</b>
</p>
<div class="table-contents">
<table summary="Automatic Checkpoint Frequency" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">hsqldb.log_size</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">50</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">size of log when checkpoint is performed</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>The value is the size (in
              megabytes) that the <code class="literal">.log</code> file can reach
              before an automatic checkpoint occurs. A checkpoint rewrites the
              <code class="literal">.script</code> file and clears the
              <code class="literal">.log</code> file.</p>
<pre class="programlisting">SET FILES LOG SIZE &lt;numeric value&gt;</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N159F1"></a>
<p class="title">
<b>Table&nbsp;13.53.&nbsp;Automatic Defrag at Checkpoint</b>
</p>
<div class="table-contents">
<table summary="Automatic Defrag at Checkpoint" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">hsqldb.defrag_limit</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">0</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">percentage of unused space causing a defrag at
              checkpoint</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>When a checkpoint is
              performed, the percentage of wasted space in the .data file is
              calculated. If the wasted space is above the specified limit, a
              defrag operation is performed. The default is 0, which means no
              automatic checkpoint. The numeric value must be between 0 and
              100 and is interpreted as a percentage of the current size of
              the .data file.</p>
<pre class="programlisting">SET FILES DEFRAG &lt;numeric value&gt;</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N15A1E"></a>
<p class="title">
<b>Table&nbsp;13.54.&nbsp;Compression of the .script file</b>
</p>
<div class="table-contents">
<table summary="Compression of the .script file" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">hsqldb.script_format</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">0</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">compressed .script file</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>If the property is set
              with the value 3, the .script file is stored in compressed
              format. This is useful for large script files. The .script is no
              longer readable when the
              <code class="literal">hsqldb.script_format=3</code> has been
              used.</p>
<pre class="programlisting">This property cannot be set with an SQL statement</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N15A4E"></a>
<p class="title">
<b>Table&nbsp;13.55.&nbsp;Logging Data Change Statements Frequency</b>
</p>
<div class="table-contents">
<table summary="Logging Data Change Statements Frequency" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">hsqldb.write_delay</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">true</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">write delay performing fsync of log file entries</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>If the property is true,
              the default WRITE DELAY property of the database is used, which
              is 500 milliseconds. If the property is false, the WRITE DELAY
              is set to 0 seconds. The log is written to file regardless of
              this property. The property controls the fsync that forces the
              written log to be persisted to disk. The SQL command for this
              property allows more precise control over the
              property.</p>
<pre class="programlisting">SET FILES WRITE DELAY {{ TRUE | FALSE } | &lt;seconds value&gt; | &lt;milliseconds value&gt; MILLIS</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N15A7B"></a>
<p class="title">
<b>Table&nbsp;13.56.&nbsp;Logging Data Change Statements Frequency</b>
</p>
<div class="table-contents">
<table summary="Logging Data Change Statements Frequency" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">hsqldb.write_delay_millis</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">500</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">write delay for performing fsync of log file
              entries</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>If the property is used,
              the WRITE DELAY property of the database is set the given value
              in milliseconds. The property controls the fsync that forces the
              written log to be persisted to disk. The SQL command for this
              property allows the same level of control over the
              property.</p>
<pre class="programlisting">SET FILES WRITE DELAY {{ TRUE | FALSE } | &lt;seconds value&gt; | &lt;milliseconds value&gt; MILLIS</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N15AA8"></a>
<p class="title">
<b>Table&nbsp;13.57.&nbsp;Use of NIO for Disk Table Storage</b>
</p>
<div class="table-contents">
<table summary="Use of NIO for Disk Table Storage" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">hsqldb.nio_data_file</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">true</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">use of nio access methods for the .data file</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>Setting this property to
              <code class="literal">false</code> will avoid the use of nio access
              methods, resulting in somewhat reduced speed. If the data file
              is larger than hsqldb.nio_max_size (default 256MB) when it is
              first opened (or when its size is increased), nio access methods
              are not used. Also, if the file gets larger than the amount of
              available computer memory that needs to be allocated for nio
              access, non-nio access methods are
              used.</p>
<pre class="programlisting">SET FILES NIO { TRUE | FALSE }</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N15AD8"></a>
<p class="title">
<b>Table&nbsp;13.58.&nbsp;Use of NIO for Disk Table Storage</b>
</p>
<div class="table-contents">
<table summary="Use of NIO for Disk Table Storage" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">hsqldb.nio_max_size</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">256</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">nio buffer size limit</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>The maximum size of .data
              file in mega bytes that can use the nio access method. When the
              file gets larger than this limit, non-nio access methods are
              used. Values 64, 128, 256, 512, 1024, and larger multiples of
              512 can be used. The default is
              256MB.</p>
<pre class="programlisting">SET FILES NIO SIZE &lt;numeric value&gt;</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N15B05"></a>
<p class="title">
<b>Table&nbsp;13.59.&nbsp;Recovery Log Processing</b>
</p>
<div class="table-contents">
<table summary="Recovery Log Processing" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">hsqldb.full_log_replay</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">false</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">recovery log processing</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>The .log file is processed
              during recovery after a forced shutdwon. Out of memory
              conditions always abort the startup. Any other exception stops
              the processing of the .log file and by default, continues the
              startup process. If this property is true, the startup process
              is stopped if any exception occurs. Exceptions are usually
              caused by incomplete lines of SQL statements near the end of the
              .log file, which were not fully synced to disk when an abnormal
              shutdown occurred.</p>
<pre class="programlisting">This property cannot be set with an SQL statement</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N15B32"></a>
<p class="title">
<b>Table&nbsp;13.60.&nbsp;Default Properties for TEXT Tables</b>
</p>
<div class="table-contents">
<table summary="Default Properties for TEXT Tables" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">textdb.*</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">0</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">default properties for new text tables</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>Properties that override
              the database engine defaults for newly created text tables.
              Settings in the text table <code class="literal">SET &lt;tablename&gt; SOURCE
              &lt;source string&gt; </code>command override both the engine
              defaults and the database properties defaults. Individual
              <span class="property">textdb.*</span> properties are listed in the <a class="link" href="texttables-chapt.html" title="Chapter&nbsp;5.&nbsp;Text Tables">Text Tables</a> chapter.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N15B66"></a>
<p class="title">
<b>Table&nbsp;13.61.&nbsp;Forcing Garbage Collection</b>
</p>
<div class="table-contents">
<table summary="Forcing Garbage Collection" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">runtime.gc_interval</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">0</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">forced garbage collection</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>This setting forces
              garbage collection each time a set number of result set row or
              cache row objects are created. The default, "0" means no garbage
              collection is forced by the
              program.</p>
<pre class="programlisting">SET DATABASE GC &lt;numeric value&gt;</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
</div>
<div class="section" title="Crypt Properties">
<div class="titlepage">
<div>
<div>
<h3 class="title">
<a name="dpc_crypt_props"></a>Crypt Properties</h3>
</div>
</div>
</div>
<div class="table">
<a name="N15B97"></a>
<p class="title">
<b>Table&nbsp;13.62.&nbsp;Crypt Property For LOBs</b>
</p>
<div class="table-contents">
<table summary="Crypt Property For LOBs" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">crypt_lobs</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">false</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">encryption of lobs</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>If the property is true,
              the contents of the .lobs file is encrypted as
              well.</p>
<pre class="programlisting">this property cannot be set with an SQL statement</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N15BC4"></a>
<p class="title">
<b>Table&nbsp;13.63.&nbsp;Cipher Key for Encrypted Database</b>
</p>
<div class="table-contents">
<table summary="Cipher Key for Encrypted Database" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">crypt_key</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">none</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">encryption</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>The cipher key for an
              encrypted database.</p>
<pre class="programlisting">this property cannot be set with an SQL statement</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N15BF1"></a>
<p class="title">
<b>Table&nbsp;13.64.&nbsp;Crypt Provider Encrypted Database</b>
</p>
<div class="table-contents">
<table summary="Crypt Provider Encrypted Database" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">crypt_provider</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">none</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">encryption</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>The fully-qualified class
              name of the cryptography provider. This property is not used for
              the default security provider.</p>
<pre class="programlisting">this property cannot be set with an SQL statement</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N15C1E"></a>
<p class="title">
<b>Table&nbsp;13.65.&nbsp;Cipher Specification for Encrypted Database</b>
</p>
<div class="table-contents">
<table summary="Cipher Specification for Encrypted Database" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">crypt_type</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">none</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">encryption</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>The cipher
              specification.</p>
<pre class="programlisting">this property cannot be set with an SQL statement</pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<p>When connecting to an <em class="glossterm">in-process</em> database
      creates a new database, or opens an existing database (i.e. it is the
      first connection made to the database by the application), all the
      user-defined database properties listed in this section can be specified
      as URL properties.</p>
<p>When HSQLDB is used with OpenOffice.org as an external
      database, the property "default_schema=true" must be set on the URL,
      otherwise the program will not operate correctly as it does with its
      built-in hsqldb instance.</p>
</div>
</div>
<div class="section" title="System Properties">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both">
<a name="dpc_system_props"></a>System Properties</h2>
</div>
</div>
</div>
<p>A few system properties are used by HyperSQL. These are set on the
    Java command line or by calling System.setProperty() from the user's
    program. They are not valid as URL or connection properties.</p>
<div class="table">
<a name="N15C58"></a>
<p class="title">
<b>Table&nbsp;13.66.&nbsp;Logging Framework</b>
</p>
<div class="table-contents">
<table summary="Logging Framework" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">hsqldb.reconfig_logging</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">true</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">configuring the framework logging</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>Setting this system property
            false avoids reconfiguring the framework logging system such as
            Log4J or java.util.Logging. If the property does not exist or is
            true, reconfiguration takes place.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N15C82"></a>
<p class="title">
<b>Table&nbsp;13.67.&nbsp;Text Tables</b>
</p>
<div class="table-contents">
<table summary="Text Tables" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">textdb.allow_full_path</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">false</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">text table file locations</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>Setting this system property
            true allows text table sources and files to be opened on all
            available paths. It also allows pure mem: databases to open such
            files. By default, only the database directory and its
            subdirectories are allowed. See the Text Tables
            chapter.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
<div class="table">
<a name="N15CAC"></a>
<p class="title">
<b>Table&nbsp;13.68.&nbsp;Java Functions</b>
</p>
<div class="table-contents">
<table summary="Java Functions" cellspacing="0" width="100%" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
<colgroup>
<col width="6.5cm" align="left" class="c1">
<col width="1.5cm" align="left" class="c2">
<col align="left" class="c3">
</colgroup>
<thead>
<tr>
<th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Name</th><th style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left">Default</th><th style="border-bottom: 0.5pt solid ; " align="left">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><span class="property">hsqldb.method_class_names</span></td><td style="border-right: 0.5pt solid ; border-bottom: 0.5pt solid ; " align="left" valign="top"><code class="literal">none</code></td><td style="border-bottom: 0.5pt solid ; " align="left" valign="top">allowed Java classes</td>
</tr>
<tr>
<td style="" colspan="3" align="left" valign="top">
<p>This property needs to be
            set with the names (including wildcards) of Java classes that can
            be used for routines based on Java static methods. See the SQL
            Invoked Routines chapter.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break">
</div>
</div>
<HR xmlns:xi="http://www.w3.org/2001/XInclude">
<P xmlns:xi="http://www.w3.org/2001/XInclude" class="svnrev">$Revision: 5477 $</P>
<div class="navfooter">
<hr>
<table summary="Navigation footer" width="100%">
<tr>
<td align="left" width="40%"><a accesskey="p" href="compatibility-chapt.html"><img src="../images/db/prev.png" alt="Prev"></a>&nbsp;</td><td align="center" width="20%">&nbsp;</td><td align="right" width="40%">&nbsp;<a accesskey="n" href="listeners-chapt.html"><img src="../images/db/next.png" alt="Next"></a></td>
</tr>
<tr>
<td valign="top" align="left" width="40%">Chapter&nbsp;12.&nbsp;Compatibility With Other DBMS&nbsp;</td><td align="center" width="20%"><a accesskey="h" href="index.html"><img src="../images/db/home.png" alt="Home"></a></td><td valign="top" align="right" width="40%">&nbsp;Chapter&nbsp;14.&nbsp;HyperSQL Network Listeners
    (Servers)</td>
</tr>
</table>
</div>
</body>
</html>