Package org.h2.engine
Class Engine
- java.lang.Object
-
- org.h2.engine.Engine
-
public final class Engine extends java.lang.Object
The engine contains a map of all open databases. It is also responsible for opening and creating new databases. This is a singleton class.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SessionLocal
createSession(ConnectionInfo ci)
Open a database connection with the given connection information.
-
-
-
Method Detail
-
createSession
public static SessionLocal createSession(ConnectionInfo ci)
Open a database connection with the given connection information.- Parameters:
ci
- the connection information- Returns:
- the session
-
-