Package | Description |
---|---|
org.eclipse.net4j.db |
The Net4j DB framework.
|
org.eclipse.net4j.db.ddl |
The Net4j DB framework concepts for the abstraction of the SQL data definition language.
|
org.eclipse.net4j.spi.db |
Server service provider interfaces and useful base implementations for the Net4j DB framework.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IDBConnectionProvider2
Provides a database
connection , roughly comparable with a data source . |
interface |
IDBDatabase |
Modifier and Type | Method and Description |
---|---|
static IDBConnectionProvider |
DBUtil.createConnectionProvider(DataSource dataSource) |
IDBConnectionProvider |
IDBAdapter.createConnectionProvider(DataSource dataSource) |
Modifier and Type | Method and Description |
---|---|
static <T> T |
DBUtil.execute(IDBConnectionProvider connectionProvider,
DBUtil.RunnableWithConnection<T> runnable) |
static IDBDatabase |
DBUtil.openDatabase(IDBAdapter adapter,
IDBConnectionProvider connectionProvider,
String schemaName) |
static IDBDatabase |
DBUtil.openDatabase(IDBAdapter adapter,
IDBConnectionProvider connectionProvider,
String schemaName,
boolean fixNullableIndexColumns) |
static void |
DBUtil.sqlDump(IDBConnectionProvider connectionProvider,
String sql)
Deprecated.
Should only be used when debugging.
|
Modifier and Type | Method and Description |
---|---|
Set<IDBTable> |
IDBSchema.create(IDBAdapter dbAdapter,
IDBConnectionProvider connectionProvider) |
void |
IDBSchema.drop(IDBAdapter dbAdapter,
IDBConnectionProvider connectionProvider) |
void |
IDBSchema.export(IDBConnectionProvider connectionProvider,
PrintStream out) |
Modifier and Type | Method and Description |
---|---|
IDBConnectionProvider |
DBAdapter.createConnectionProvider(DataSource dataSource) |
Modifier and Type | Method and Description |
---|---|
Set<IDBTable> |
DBSchema.create(IDBAdapter dbAdapter,
IDBConnectionProvider connectionProvider)
Deprecated.
|
void |
DBSchema.drop(IDBAdapter dbAdapter,
IDBConnectionProvider connectionProvider)
Deprecated.
|
void |
DBSchema.export(IDBConnectionProvider connectionProvider,
PrintStream out)
Deprecated.
|
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html