Package | Description |
---|---|
xdev.db | |
xdev.db.event | |
xdev.db.jdbc | |
xdev.db.servlet | |
xdev.lang.cmd | |
xdev.vt |
Modifier and Type | Class and Description |
---|---|
class |
AbstractDBConnection<DS extends DBDataSource<DS>>
A abstract class from the
DBConnection . |
class |
AbstractDBDataSource<T extends DBDataSource<T>>
Abstract base class for all
DBDataSource s including the handling of
common DataSource.Parameter s and
DBDataSourceListener s. |
interface |
DBConnection<DS extends DBDataSource<DS>>
A connection (session) with a specific database.
|
interface |
DBDataSource<T extends DBDataSource>
Base type for all database drivers.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDBDataSource<T extends DBDataSource<T>>
Abstract base class for all
DBDataSource s including the handling of
common DataSource.Parameter s and
DBDataSourceListener s. |
class |
NullDBDataSource
An empty dummy data source which returns empty results.
|
Modifier and Type | Field and Description |
---|---|
protected DS |
AbstractDBConnection.dataSource |
Modifier and Type | Method and Description |
---|---|
static DBDataSource |
DBUtils.getCurrentDataSource()
Returns the current
DBDataSource . |
DBDataSource<?> |
DBPager.getDataSource() |
DBDataSource |
Result.getDataSource()
Gets the
DBDataSource of this Result . |
DBDataSource<?> |
DBException.getDataSource()
Return the data source where the error occurs.
|
DBDataSource |
Transaction.getDataSource()
Returns the
DBDataSource of this Transaction . |
Modifier and Type | Method and Description |
---|---|
void |
Result.setDataSource(DBDataSource dataSource)
Sets the
dataSource for this Result . |
static void |
DBUtils.setDataSource(DBDataSource<?> dataSource)
Sets the current
DBDataSource . |
Constructor and Description |
---|
DBException(DBDataSource dataSource)
Constructs a new
DBException with the specified
dataSource . |
DBException(DBDataSource dataSource,
String message)
Constructs a new
DBException with the specified
dataSource . |
DBException(DBDataSource dataSource,
String message,
Throwable cause)
Constructs a new
DBException with the specified
dataSource . |
DBException(DBDataSource dataSource,
Throwable cause)
Constructs a new
DBException with the specified
dataSource . |
Transaction(DBDataSource<?> dataSource)
Constructs a new
Transaction with the specified
dataSource . |
Modifier and Type | Method and Description |
---|---|
DBDataSource |
DBDataSourceEvent.getSource() |
Constructor and Description |
---|
DBDataSourceEvent(DBDataSource source)
Creates a new event object.
|
DBDataSourceEvent(DBDataSource source,
DBConnection connection)
Creates a new event object.
|
Modifier and Type | Class and Description |
---|---|
class |
JDBCDataSource<T extends JDBCDataSource<T,A>,A extends DbmsAdaptor<A>> |
Modifier and Type | Method and Description |
---|---|
DBDataSource<?> |
JDBCPager.getDataSource() |
Modifier and Type | Class and Description |
---|---|
class |
ServletDBDataSource |
Modifier and Type | Method and Description |
---|---|
void |
Query.setDataSource(DBDataSource dataSource) |
Modifier and Type | Method and Description |
---|---|
DBDataSource<?> |
VirtualTable.getDataSource()
Returns the
DBDataSource of this VirtualTable . |
Modifier and Type | Method and Description |
---|---|
boolean |
VirtualTable.queryAndAppend(DBDataSource dataSource,
KeyValues pkValue)
Executes a query and appends its results at the end of this
VirtualTable . |
void |
VirtualTable.queryAndFill(DBDataSource dataSource)
Executes the default select for this
VirtualTable . |
void |
VirtualTable.queryAndFill(DBDataSource dataSource,
SELECT select,
Object... params)
Executes the default select for this
VirtualTable . |
void |
VirtualTable.VirtualTableRow.reload(DBDataSource dataSource)
Reloads the contents of this
VirtualTable.VirtualTableRow from the
database. |
void |
VirtualTable.VirtualTableRow.reloadDefault(DBDataSource dataSource)
Reloads the contents of this
VirtualTable.VirtualTableRow from the
database with the default query. |
void |
VirtualTable.setDataSource(DBDataSource<?> dataSource)
Sets an explicit
DataSource for this VirtualTable . |
Copyright © 2003–2021 XDEV Software. All rights reserved.