| Package | Description |
|---|---|
| org.melati.poem |
Persistent Object Engine for Melati.
|
| org.melati.poem.dbms |
POEM Drivers for assorted JDBC compliant DBMS.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ExecutingSQLPoemException
Thrown when there is a problem executing an SQL command.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Table.count() |
int |
JdbcTable.count() |
int |
Table.count(String whereClause)
It is the programmer's responsibility to ensure that the where clause
is suitable for the target DBMS.
|
int |
JdbcTable.count(String whereClause)
It is the programmer's responsibility to ensure that the where clause
is suitable for the target DBMS.
|
int |
Table.count(String whereClause,
boolean includeDeleted)
It is the programmer's responsibility to ensure that the where clause
is suitable for the target DBMS.
|
int |
JdbcTable.count(String whereClause,
boolean includeDeleted)
It is the programmer's responsibility to ensure that the where clause
is suitable for the target DBMS.
|
int |
Table.count(String whereClause,
boolean includeDeleted,
boolean excludeUnselectable)
It is the programmer's responsibility to ensure that the where clause
is suitable for the target DBMS.
|
int |
JdbcTable.count(String whereClause,
boolean includeDeleted,
boolean excludeUnselectable)
It is the programmer's responsibility to ensure that the where clause
is suitable for the target DBMS.
|
boolean |
Table.exists(String whereClause)
It is the programmer's responsibility to ensure that the where clause
is suitable for the target DBMS.
|
boolean |
JdbcTable.exists(String whereClause)
It is the programmer's responsibility to ensure that the where clause
is suitable for the target DBMS.
|
Enumeration<P> |
Table.selection()
All the objects in the table.
|
Enumeration<P> |
Selectable.selection()
All the Objects.
|
Enumeration<P> |
JdbcTable.selection()
All the objects in the table.
|
Enumeration<P> |
Table.selection(Persistent criteria)
Return a selection of rows given an exemplar.
|
Enumeration<P> |
JdbcTable.selection(Persistent criteria)
Return a selection of rows given an exemplar.
|
Enumeration<P> |
Table.selection(Persistent criteria,
String orderByClause)
Return a selection of rows given arguments specifying a query.
|
Enumeration<P> |
JdbcTable.selection(Persistent criteria,
String orderByClause)
Return a selection of rows given arguments specifying a query.
|
Enumeration<P> |
Table.selection(Persistent criteria,
String orderByClause,
boolean includeDeleted,
boolean excludeUnselectable)
Return a selection of rows given arguments specifying a query.
|
Enumeration<P> |
JdbcTable.selection(Persistent criteria,
String orderByClause,
boolean includeDeleted,
boolean excludeUnselectable)
Return a selection of rows given arguments specifying a query.
|
Enumeration<P> |
Table.selection(String whereClause)
A SELECTion of objects from the table meeting given criteria.
|
Enumeration<P> |
JdbcTable.selection(String whereClause)
A SELECTion of objects from the table meeting given criteria.
|
Enumeration<P> |
Table.selection(String whereClause,
String orderByClause,
boolean includeDeleted)
A SELECTion of objects from the table meeting given criteria,
possibly including those flagged as deleted.
|
Enumeration<P> |
JdbcTable.selection(String whereClause,
String orderByClause,
boolean includeDeleted)
A SELECTion of objects from the table meeting given criteria,
possibly including those flagged as deleted.
|
ResultSet |
Database.sqlQuery(String sql)
Run an arbitrary SQL query against the database.
|
int |
Database.sqlUpdate(String sql)
Run an arbitrary SQL update against the database.
|
Enumeration<Integer> |
Table.troidSelection(String whereClause,
String orderByClause,
boolean includeDeleted)
A SELECTion of troids of objects from the table meeting given
criteria.
|
Enumeration<Integer> |
JdbcTable.troidSelection(String whereClause,
String orderByClause,
boolean includeDeleted)
A SELECTion of troids of objects from the table meeting given
criteria.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DuplicateKeySQLPoemException
Thrown when an attempt to insert a value which is already present
in a column with a unique index is made.
|
| Modifier and Type | Method and Description |
|---|---|
SQLPoemException |
Dbms.exceptionForUpdate(Table<?> table,
PreparedStatement ps,
boolean insert,
SQLException e)
Version of previous method for PreparedStatements.
|
SQLPoemException |
AnsiStandard.exceptionForUpdate(Table<?> table,
PreparedStatement ps,
boolean insert,
SQLException e) |
SQLPoemException |
Postgresql.exceptionForUpdate(Table<?> table,
String sql,
boolean insert,
SQLException e) |
SQLPoemException |
MySQL.exceptionForUpdate(Table<?> table,
String sql,
boolean insert,
SQLException e) |
SQLPoemException |
Dbms.exceptionForUpdate(Table<?> table,
String sql,
boolean insert,
SQLException e)
An exception appropriate for expressing what really went wrong
during a write to the db.
|
SQLPoemException |
AnsiStandard.exceptionForUpdate(Table<?> table,
String sql,
boolean insert,
SQLException e) |
Copyright © 2000–2021 PanEris. All rights reserved.