|
Project Wonder 5.0 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objecter.extensions.jdbc.ERXSQLHelper
er.extensions.jdbc.ERXSQLHelper.FrontBaseSQLHelper
public static class ERXSQLHelper.FrontBaseSQLHelper
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class er.extensions.jdbc.ERXSQLHelper |
|---|
ERXSQLHelper.ColumnIndex, ERXSQLHelper.CustomTypes, ERXSQLHelper.DerbySQLHelper, ERXSQLHelper.EROracleSQLHelper, ERXSQLHelper.FrontBaseSQLHelper, ERXSQLHelper.H2SQLHelper, ERXSQLHelper.MicrosoftSQLHelper, ERXSQLHelper.MySQLSQLHelper, ERXSQLHelper.NoSQLHelper, ERXSQLHelper.OpenBaseSQLHelper, ERXSQLHelper.OracleSQLHelper, ERXSQLHelper.PostgresqlSQLHelper |
| Field Summary |
|---|
| Fields inherited from class er.extensions.jdbc.ERXSQLHelper |
|---|
log |
| Constructor Summary | |
|---|---|
ERXSQLHelper.FrontBaseSQLHelper()
|
|
| Method Summary | |
|---|---|
protected java.util.regex.Pattern |
commentPattern()
Returns a pattern than matches lines that start with "--". |
java.lang.String |
limitExpressionForSQL(com.webobjects.eoaccess.EOSQLExpression expression,
com.webobjects.eocontrol.EOFetchSpecification fetchSpecification,
java.lang.String sql,
long start,
long end)
|
protected int |
maximumElementPerInClause(com.webobjects.eoaccess.EOEntity entity)
FrontBase is exceedingly inefficient in processing OR clauses. |
void |
prepareConnectionForSchemaChange(com.webobjects.eocontrol.EOEditingContext ec,
com.webobjects.eoaccess.EOModel model)
|
java.lang.String |
quoteColumnName(java.lang.String columnName)
|
boolean |
reassignExternalTypeForValueTypeOverride(com.webobjects.eoaccess.EOAttribute attribute)
|
void |
restoreConnectionSettingsAfterSchemaChange(com.webobjects.eocontrol.EOEditingContext ec,
com.webobjects.eoaccess.EOModel model)
|
boolean |
shouldExecute(java.lang.String sql)
|
java.lang.String |
sqlForCreateIndex(java.lang.String indexName,
java.lang.String tableName,
ERXSQLHelper.ColumnIndex... columnIndexes)
Returns the SQL expression for creating an index on the given set of columns |
java.lang.String |
sqlForCreateUniqueIndex(java.lang.String indexName,
java.lang.String tableName,
ERXSQLHelper.ColumnIndex... columnIndexes)
Returns the SQL expression for creating a unique index on the given set of columns |
java.lang.String |
sqlForFullTextQuery(ERXFullTextQualifier qualifier,
com.webobjects.eoaccess.EOSQLExpression expression)
Returns the SQL expression for a full text search query. |
protected java.lang.String |
sqlForGetNextValFromSequencedNamed(java.lang.String sequenceName)
Returns the SQL required to select the next value from the given sequence. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ERXSQLHelper.FrontBaseSQLHelper()
| Method Detail |
|---|
public boolean reassignExternalTypeForValueTypeOverride(com.webobjects.eoaccess.EOAttribute attribute)
reassignExternalTypeForValueTypeOverride in class ERXSQLHelperprotected java.lang.String sqlForGetNextValFromSequencedNamed(java.lang.String sequenceName)
ERXSQLHelper
sqlForGetNextValFromSequencedNamed in class ERXSQLHelpersequenceName - the name of the sequence
public boolean shouldExecute(java.lang.String sql)
shouldExecute in class ERXSQLHelper
public java.lang.String limitExpressionForSQL(com.webobjects.eoaccess.EOSQLExpression expression,
com.webobjects.eocontrol.EOFetchSpecification fetchSpecification,
java.lang.String sql,
long start,
long end)
limitExpressionForSQL in class ERXSQLHelper
public java.lang.String sqlForFullTextQuery(ERXFullTextQualifier qualifier,
com.webobjects.eoaccess.EOSQLExpression expression)
ERXSQLHelper
sqlForFullTextQuery in class ERXSQLHelperqualifier - the full text qualifierexpression - the EOSQLExpression context
public java.lang.String sqlForCreateUniqueIndex(java.lang.String indexName,
java.lang.String tableName,
ERXSQLHelper.ColumnIndex... columnIndexes)
ERXSQLHelper
sqlForCreateUniqueIndex in class ERXSQLHelperindexName - the name of the index to createtableName - the name of the containing tablecolumnIndexes - the list of columns to index on
public java.lang.String sqlForCreateIndex(java.lang.String indexName,
java.lang.String tableName,
ERXSQLHelper.ColumnIndex... columnIndexes)
ERXSQLHelper
sqlForCreateIndex in class ERXSQLHelperindexName - the name of the index to createtableName - the name of the containing tablecolumnIndexes - the list of columns to index on
public void prepareConnectionForSchemaChange(com.webobjects.eocontrol.EOEditingContext ec,
com.webobjects.eoaccess.EOModel model)
prepareConnectionForSchemaChange in class ERXSQLHelper
public void restoreConnectionSettingsAfterSchemaChange(com.webobjects.eocontrol.EOEditingContext ec,
com.webobjects.eoaccess.EOModel model)
restoreConnectionSettingsAfterSchemaChange in class ERXSQLHelperprotected java.util.regex.Pattern commentPattern()
commentPattern in class ERXSQLHelperpublic java.lang.String quoteColumnName(java.lang.String columnName)
quoteColumnName in class ERXSQLHelperprotected int maximumElementPerInClause(com.webobjects.eoaccess.EOEntity entity)
maximumElementPerInClause in class ERXSQLHelperentity - EOEntity that can be used to fine-tune the result
ERXSQLHelper#maximumElementPerInClause()
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||