Using H2 within NetBeans............................................................................35
Using H2 with jOOQ....................................................................................36
Using Databases in Web Applications............................................................37
Embedded Mode......................................................................................37
Server Mode............................................................................................37
Using a Servlet Listener to Start and Stop a Database................................37
Using the H2 Console Servlet....................................................................38
Android.......................................................................................................39
CSV (Comma Separated Values) Support......................................................40
Reading a CSV File from Within a Database...............................................40
Importing Data from a CSV File.................................................................41
Writing a CSV File from Within a Database................................................41
Writing a CSV File from a Java Application.................................................41
Reading a CSV File from a Java Application................................................41
Upgrade, Backup, and Restore.....................................................................42
Database Upgrade...................................................................................42
Backup using the Script Tool.....................................................................42
Restore from a Script...............................................................................43
Online Backup..........................................................................................43
Command Line Tools...................................................................................43
The Shell Tool.............................................................................................44
Using OpenOffice Base................................................................................45
Java Web Start / JNLP.................................................................................46
Using a Connection Pool..............................................................................46
Fulltext Search............................................................................................46
Using the Native Fulltext Search................................................................47
Using the Apache Lucene Fulltext Search...................................................47
User-Defined Variables.................................................................................49
Date and Time............................................................................................49
Using Spring...............................................................................................50
Using the TCP Server...............................................................................50
OSGi...........................................................................................................50
Java Management Extension (JMX)...............................................................51
Feature List.................................................................................................52
Main Features..........................................................................................52
Additional Features..................................................................................53
SQL Support............................................................................................53
Security Features.....................................................................................53
Other Features and Tools.........................................................................54
Comparison to Other Database Engines........................................................54
H2 in Use....................................................................................................56
Connection Modes.......................................................................................56
Embedded Mode......................................................................................56
Server Mode............................................................................................57
Mixed Mode.............................................................................................57
3 of 290