Uses of Class
org.h2.engine.Session
-
Packages that use Session Package Description org.h2.engine Contains high level classes of the database and classes that don't fit in another sub-package.org.h2.jdbc Implementation of the JDBC API (package java.sql).org.h2.jdbc.meta Implementation of the JDBC database metadata API (package java.sql).org.h2.result Implementation of row and internal result sets.org.h2.value Data type and value implementations. -
-
Uses of Session in org.h2.engine
Subclasses of Session in org.h2.engine Modifier and Type Class Description class
SessionLocal
A session represents an embedded database connection.class
SessionRemote
The client side part of a session when using the server mode.Fields in org.h2.engine declared as Session Modifier and Type Field Description private Session
SessionRemote. embedded
Fields in org.h2.engine with type parameters of type Session Modifier and Type Field Description private static java.lang.ThreadLocal<Session>
SessionLocal. THREAD_LOCAL_SESSION
Thread local session for comparison operations between different data types.Methods in org.h2.engine that return Session Modifier and Type Method Description Session
SessionRemote. connectEmbeddedOrServer(boolean openNew)
Open a new (remote or embedded) session.(package private) static Session
SessionLocal. getThreadLocalSession()
Session
Session. setThreadLocalSession()
Sets this session as thread local session, if this session is a local session.Session
SessionLocal. setThreadLocalSession()
Methods in org.h2.engine with parameters of type Session Modifier and Type Method Description void
Session. resetThreadLocalSession(Session oldSession)
Resets old thread local session.void
SessionLocal. resetThreadLocalSession(Session oldSession)
-
Uses of Session in org.h2.jdbc
Fields in org.h2.jdbc declared as Session Modifier and Type Field Description private Session
JdbcConnection. session
protected Session
JdbcStatement. session
Methods in org.h2.jdbc that return Session Modifier and Type Method Description Session
JdbcConnection. getSession()
INTERNALConstructors in org.h2.jdbc with parameters of type Session Constructor Description JdbcConnection(Session session, java.lang.String user, java.lang.String url)
INTERNAL -
Uses of Session in org.h2.jdbc.meta
Fields in org.h2.jdbc.meta declared as Session Modifier and Type Field Description private Session
DatabaseMetaLegacy. session
Constructors in org.h2.jdbc.meta with parameters of type Session Constructor Description DatabaseMetaLegacy(Session session)
-
Uses of Session in org.h2.result
Methods in org.h2.result with parameters of type Session Modifier and Type Method Description ResultInterface
FetchedResult. createShallowCopy(Session targetSession)
LocalResult
LocalResult. createShallowCopy(Session targetSession)
Create a shallow copy of the result set.ResultInterface
ResultInterface. createShallowCopy(Session targetSession)
Create a shallow copy of the result set.ResultInterface
ResultWithPaddedStrings. createShallowCopy(Session targetSession)
SimpleResult
SimpleResult. createShallowCopy(Session targetSession)
-
Uses of Session in org.h2.value
Fields in org.h2.value declared as Session Modifier and Type Field Description private Session
Transfer. session
Methods in org.h2.value with parameters of type Session Modifier and Type Method Description private static Value
ValueToObjectConverter. arrayToValue(Session session, java.lang.Object x)
static Value
ValueToObjectConverter. objectToValue(Session session, java.lang.Object x, int type)
Convert a Java object to a value.private static Value
ValueToObjectConverter. otherToValue(Session session, java.lang.Object x)
private static java.util.LinkedHashMap<java.lang.String,TypeInfo>
ValueToObjectConverter. readResultSetMeta(Session session, java.sql.ResultSetMetaData meta, int columnCount)
static Value
ValueToObjectConverter. readValue(Session session, JdbcResultSet rs, int columnIndex)
Read a value from the given result set.static Value
ValueToObjectConverter2. readValue(Session session, java.sql.ResultSet rs, int columnIndex, int type)
Read a value from the given result set.private static Value
ValueToObjectConverter2. readValueOther(Session session, java.sql.ResultSet rs, int columnIndex, int type)
(package private) static Value
ValueToObjectConverter. resultSetToValue(Session session, java.sql.ResultSet rs)
void
Transfer. setSession(Session session)
Set the session.Constructors in org.h2.value with parameters of type Session Constructor Description Transfer(Session session, java.net.Socket s)
Create a new transfer object for the specified session.
-