H2 Description
H2, the Java SQL database, is your welcome. An embedded mode allows an application to open a database within the same JVM by using JDBC. This connection mode is the fastest and most convenient. However, a database can only be opened in one virtual machine (and a class loader) at a time. Both in-memory and persistent databases are supported, as in all modes. There is no limit to the number of databases that can be opened simultaneously or the number of connections. Mixed mode is a combination between the server and embedded modes. The first application to connect to a database uses embedded mode. However, it also starts a server so other applications (running in different processes and virtual machines) can simultaneously access the same data. The local connections are just as fast as if the data were used in embedded mode. Remote connections are slightly slower.