Uses of Class
org.h2.engine.Session
Packages that use Session
Package
Description
Contains high level classes of the database and classes that don't fit in another sub-package.
Implementation of the JDBC API (package java.sql).
Implementation of the JDBC database metadata API (package java.sql).
Implementation of row and internal result sets.
Data type and value implementations.
-
Uses of Session in org.h2.engine
Subclasses of Session in org.h2.engineModifier and TypeClassDescriptionfinal class
A session represents an embedded database connection.final class
The client side part of a session when using the server mode.Fields in org.h2.engine declared as SessionFields in org.h2.engine with type parameters of type SessionModifier and TypeFieldDescriptionprivate static final ThreadLocal
<Session> SessionLocal.THREAD_LOCAL_SESSION
Thread local session for comparison operations between different data types.Methods in org.h2.engine that return SessionModifier and TypeMethodDescriptionSessionRemote.connectEmbeddedOrServer
(boolean openNew) Open a new (remote or embedded) session.(package private) static Session
SessionLocal.getThreadLocalSession()
Session.setThreadLocalSession()
Sets this session as thread local session, if this session is a local session.SessionLocal.setThreadLocalSession()
Methods in org.h2.engine with parameters of type SessionModifier and TypeMethodDescriptionvoid
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 SessionModifier and TypeFieldDescriptionprivate Session
JdbcConnection.session
protected Session
JdbcStatement.session
Methods in org.h2.jdbc that return SessionConstructors in org.h2.jdbc with parameters of type Session -
Uses of Session in org.h2.jdbc.meta
Fields in org.h2.jdbc.meta declared as SessionConstructors in org.h2.jdbc.meta with parameters of type Session -
Uses of Session in org.h2.result
Methods in org.h2.result with parameters of type SessionModifier and TypeMethodDescriptionfinal ResultInterface
FetchedResult.createShallowCopy
(Session targetSession) LocalResult.createShallowCopy
(Session targetSession) Create a shallow copy of the result set.ResultInterface.createShallowCopy
(Session targetSession) Create a shallow copy of the result set.ResultWithPaddedStrings.createShallowCopy
(Session targetSession) SimpleResult.createShallowCopy
(Session targetSession) -
Uses of Session in org.h2.value
Fields in org.h2.value declared as SessionMethods in org.h2.value with parameters of type SessionModifier and TypeMethodDescriptionprivate static Value
ValueToObjectConverter.arrayToValue
(Session session, Object x) static Value
ValueToObjectConverter.objectToValue
(Session session, Object x, int type) Convert a Java object to a value.private static Value
ValueToObjectConverter.otherToValue
(Session session, Object x) private static LinkedHashMap
<String, TypeInfo> ValueToObjectConverter.readResultSetMeta
(Session session, ResultSetMetaData meta, int columnCount) static Value
ValueToObjectConverter.readValue
(Session session, JdbcResultSet rs, int columnIndex) Read a value from the given result set.static Value
Read a value from the given result set.private static Value
ValueToObjectConverter2.readValueOther
(Session session, ResultSet rs, int columnIndex, int type) (package private) static Value
ValueToObjectConverter.resultSetToValue
(Session session, ResultSet rs) void
Transfer.setSession
(Session session) Set the session.Constructors in org.h2.value with parameters of type Session