Package org.h2.samples

Standalone sample applications.

See:
          Description

Class Summary
Compact This sample application shows how to compact the database files.
CsvSample This sample application shows how to use the CSV tool to write CSV (comma separated values) files, and how to use the tool to read such files.
FileFunctions This sample application shows how to create a user defined function to read a file from the file system.
Function This sample application shows how to define and use custom (user defined) functions in this database.
FunctionMultiReturn User defined functions can return a result set, and can therefore be used like a table.
InitDatabaseFromJar In this example a database is initialized from compressed script in a jar file.
MixedMode This sample program opens the same database once in embedded mode, and once in the server mode.
Newsfeed The newsfeed application uses XML functions to create an RSS and Atom feed from a simple SQL script.
SecurePassword This example shows how to secure passwords (both database passwords, and account passwords).
ShowProgress This example application implements a database event listener.
ShutdownServer This very simple sample application stops a H2 TCP server if it is running.
SQLInjection SQL Injection is a common security vulnerability for applications that use database.
TriggerPassData This sample application shows how to pass data to a trigger.
TriggerSample This sample application shows how to use database triggers.
TriggerSample.MyTrigger This class is a simple trigger implementation.
 

Package org.h2.samples Description

Standalone sample applications.