Package | Description |
---|---|
org.h2.engine | |
org.h2.jdbc | |
org.h2.value |
Modifier and Type | Class and Description |
---|---|
class |
Session
A session represents an embedded database connection.
|
class |
SessionRemote
The client side part of a session when using the server mode.
|
Modifier and Type | Method and Description |
---|---|
SessionInterface |
SessionRemote.connectEmbeddedOrServer(boolean openNew)
Open a new (remote or embedded) session.
|
SessionInterface |
SessionRemote.reconnect(boolean write) |
SessionInterface |
SessionInterface.reconnect(boolean write)
Close the connection and open a new connection.
|
SessionInterface |
Session.reconnect(boolean write) |
Modifier and Type | Field and Description |
---|---|
protected SessionInterface |
JdbcStatement.session |
Modifier and Type | Method and Description |
---|---|
SessionInterface |
JdbcConnection.getSession()
INTERNAL
|
Constructor and Description |
---|
JdbcConnection(SessionInterface session,
String user,
String url)
INTERNAL
|
Modifier and Type | Method and Description |
---|---|
static Object |
DataType.convertTo(SessionInterface session,
JdbcConnection conn,
Value v,
Class<?> paramClass)
Convert a value to the specified class.
|
static Value |
DataType.convertToValue(SessionInterface session,
Object x,
int type)
Convert a Java object to a value.
|
static Value |
DataType.readValue(SessionInterface session,
ResultSet rs,
int columnIndex,
int type)
Read a value from the given result set.
|
void |
Transfer.setSession(SessionInterface session)
Set the session.
|
Constructor and Description |
---|
Transfer(SessionInterface session)
Create a new transfer object for the specified session.
|
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.