Uses of Class
org.eclipse.net4j.db.DBException
Package
Description
The Net4j DB framework.
The Net4j DB framework concepts for the abstraction of the SQL data definition language.
Server service provider interfaces and useful base implementations for the Net4j DB framework.
Server service provider interfaces for the Net4j DB framework.
-
Uses of DBException in org.eclipse.net4j.db
Modifier and TypeMethodDescriptionstatic BatchedStatement
DBUtil.batched
(PreparedStatement delegate, int batchSize) void
Batch.close()
boolean
IDBAdapter.createTable
(IDBTable table, Statement statement) IDBAdapter.createTables
(Iterable<? extends IDBTable> tables, Connection connection) IDBAdapter.dropTables
(Iterable<? extends IDBTable> tables, Connection connection) IDBConnectionProvider.getConnection()
Returns a connection.static int
DBUtil.getRowCount
(Connection connection, String tableName) Returns the number of rows contained in the given table.static int
DBUtil.getRowCount
(ResultSet resultSet) Returns the number of rows contained in the given result set.static Object[]
DBUtil.select
(Connection connection, String where, IDBField... fields) static int
DBUtil.select
(Connection connection, IDBRowHandler rowHandler, String where, IDBField... fields) static int
DBUtil.select
(Connection connection, IDBRowHandler rowHandler, IDBField... fields) static int
DBUtil.selectMaximumInt
(Connection connection, IDBField field, String... where) static long
DBUtil.selectMaximumLong
(Connection connection, IDBField field, String... where) static int
DBUtil.selectMinimumInt
(Connection connection, IDBField field, String... where) static long
DBUtil.selectMinimumLong
(Connection connection, IDBField field, String... where) static void
DBUtil.serializeTable
(org.eclipse.net4j.util.io.ExtendedDataOutput out, Connection connection, IDBTable table, String tableAlias, String sqlSuffix) static void
DBUtil.serializeTable
(org.eclipse.net4j.util.io.ExtendedDataOutput out, Connection connection, IDBTable table, String tableAlias, String sqlSuffix, DBUtil.SerializeRowHandler handler) void
IDBAdapter.updateSchema
(Connection connection, IDBSchema schema, IDBSchemaDelta delta) -
Uses of DBException in org.eclipse.net4j.db.ddl
Modifier and TypeMethodDescriptionIDBSchema.create
(IDBAdapter dbAdapter, Connection connection) IDBSchema.create
(IDBAdapter dbAdapter, DataSource dataSource) IDBSchema.create
(IDBAdapter dbAdapter, IDBConnectionProvider connectionProvider) void
IDBSchema.drop
(IDBAdapter dbAdapter, Connection connection) void
IDBSchema.drop
(IDBAdapter dbAdapter, DataSource dataSource) void
IDBSchema.drop
(IDBAdapter dbAdapter, IDBConnectionProvider connectionProvider) void
IDBSchema.export
(Connection connection, PrintStream out) void
IDBSchema.export
(DataSource dataSource, PrintStream out) void
IDBSchema.export
(IDBConnectionProvider connectionProvider, PrintStream out) IDBSchema.removeTable
(String name) -
Uses of DBException in org.eclipse.net4j.spi.db
Modifier and TypeMethodDescriptionDeprecated.void
DBSchema.assertUnlocked()
Deprecated.DBSchema.create
(IDBAdapter dbAdapter, Connection connection) Deprecated.DBSchema.create
(IDBAdapter dbAdapter, DataSource dataSource) Deprecated.DBSchema.create
(IDBAdapter dbAdapter, IDBConnectionProvider connectionProvider) Deprecated.boolean
DBAdapter.createTable
(IDBTable table, Statement statement) DBAdapter.createTables
(Iterable<? extends IDBTable> tables, Connection connection) void
DBSchema.drop
(IDBAdapter dbAdapter, Connection connection) Deprecated.void
DBSchema.drop
(IDBAdapter dbAdapter, DataSource dataSource) Deprecated.void
DBSchema.drop
(IDBAdapter dbAdapter, IDBConnectionProvider connectionProvider) Deprecated.DBAdapter.dropTables
(Iterable<? extends IDBTable> tables, Connection connection) void
DBSchema.export
(Connection connection, PrintStream out) Deprecated.void
DBSchema.export
(DataSource dataSource, PrintStream out) Deprecated.void
DBSchema.export
(IDBConnectionProvider connectionProvider, PrintStream out) Deprecated.void
DBAdapter.updateSchema
(Connection connection, IDBSchema schema, IDBSchemaDelta delta) protected void
DBAdapter.validateTable
(IDBTable table, Statement statement) -
Uses of DBException in org.eclipse.net4j.spi.db.ddl