org.apache.ws.jaxme.sqls
public interface SQLFactory
A factory for generating SQL statements.
Nested Class Summary | |
---|---|
static interface | SQLFactory.Ident |
Method Summary | |
---|---|
Schema | getDefaultSchema() Returns the |
Integer | getMaxColumnNameLength() Returns the maximum length of a column name. |
Integer | getMaxSchemaNameLength() Returns the maximum length of a schema name. |
Integer | getMaxTableNameLength() Returns the maximum length of a table name. |
ObjectFactory | getObjectFactory() Returns the object factory being used. |
Schema | getSchema(Schema.Name pName) Returns the schema with the given name or null, if no such schema exists. |
Schema | getSchema(String pName) Returns the schema with the given name or null, if no such schema exists. |
Schema | getSchema(Connection pConnection, Schema.Name pName) Reads the schema named |
Schema | getSchema(Connection pConnection, String pName) Reads the schema named |
Iterator | getSchemas() Returns a list of all schemas. |
Table | getTable(Connection pConnection, Schema.Name pSchema, Table.Name pTable) Reads the table named |
Table | getTable(Connection pConnection, String pSchema, String pTable) Reads the table named |
boolean | isColumnNameCaseSensitive() Returns whether column names are case sensitive or not. |
boolean | isSchemaNameCaseSensitive() Returns whether schema names are case sensitive or not. |
boolean | isTableNameCaseSensitive() Returns whether table names are case sensitive or not. |
DeleteStatement | newDeleteStatement() Creates a new DELETE statement. |
InsertStatement | newInsertStatement() Creates a new INSERT statement. |
Schema | newSchema(String pName) Creates a new Schema with the given name. |
Schema | newSchema(Schema.Name pName) Creates a new Schema with the given name. |
SelectStatement | newSelectStatement() Creates a new SELECT statement. |
SQLGenerator | newSQLGenerator() Creates a new SQLGenerator. |
UpdateStatement | newUpdateStatement() Creates a new UPDATE statement. |
Returns the Default schema
. The default
schema has the name null.
Returns the maximum length of a column name.
Returns: The maximum length or null, if checks for valid column name length are disabled.
Returns the maximum length of a schema name.
Returns: The maximum length or null, if checks for valid schema name length are disabled.
Returns the maximum length of a table name.
Returns: The maximum length or null, if checks for valid table name length are disabled.
Returns the object factory being used.
Returns the schema with the given name or null, if no such schema exists.
Returns the schema with the given name or null, if no such schema exists.
Reads the schema named pName
from the database.
Reads the schema named pName
from the database.
Returns a list of all schemas. The list includes the default schema, if getDefaultSchema was called at any time.
Reads the table named pTable
from the schema
named pSchema
in the database.
Reads the table named pTable
from the schema
named pSchema
in the database.
Returns whether column names are case sensitive or not. Defaults to false.
Returns whether schema names are case sensitive or not. Defaults to false.
Returns whether table names are case sensitive or not. Defaults to false.
Creates a new DELETE statement.
Creates a new INSERT statement.
Creates a new Schema with the given name.
Creates a new Schema with the given name.
Creates a new SELECT statement.
Creates a new SQLGenerator.
Creates a new UPDATE statement.