public class Oracle extends DatabaseHelper
DatabaseHelper.ResultSetObjectHandler
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONVERT_BLOBS_FOR_FILTERING_PROPERTY |
static java.lang.String |
DB_DESCRIPTION |
static java.lang.String |
DB_DESCRIPTOR |
static java.lang.String |
DB_DRIVER |
static java.lang.String |
DB_NAME |
Constructor and Description |
---|
Oracle(StupidOracleService sos,
ConfigService configService) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createDummyQuery() |
DatabaseHelper.ResultSetObjectHandler |
createResultSetHandler(java.sql.ResultSet resultSet,
java.sql.Connection con) |
java.lang.String |
getDescription() |
java.lang.String |
getDescriptor()
A unique descriptor that is not longer than 32 characters.
|
java.lang.String |
getDriver() |
java.lang.String |
getName() |
LimitQuery |
getNewLimitQuery(Query nestedQuery,
QueryBuilder queryBuilder) |
OffsetQuery |
getNewOffsetQuery(Query nestedQuery,
QueryBuilder queryBuilder,
ColumnNamingService columnNamingService) |
OrderOffsetQuery |
getNewOrderOffsetQuery(Query nestedQuery,
QueryBuilder queryBuilder,
ColumnNamingService columnNamingService) |
java.lang.String |
prepareColumnForComparison(java.lang.String name,
Column column)
Can be used to put a function on top of a column for comparision (for example
clobs in oracle need a to_char).
|
java.lang.String |
prepareColumnForDistinctQuery(java.lang.String name,
Column column) |
java.lang.String |
prepareColumnForSorting(java.lang.String name,
Column column) |
aggregateFunction, buildQuery, buildQueryToString, canChangeReadOnlyFlagAfterConnectionCreation, conditionIn, containsWildcard, createNestedQuery, escapeString, getIdentifierQuoteChar, getNewAggregateHavingQuery, getNewAndQueryCondition, getNewColumnFilterQuery, getNewColumnQuery, getNewCountQuery, getNewEqualQueryCondition, getNewFilterWhereQuery, getNewGreaterEqualQueryCondition, getNewGreaterQueryCondition, getNewInnerFilterWhereQuery, getNewInQueryCondition, getNewIsNullQueryCndition, getNewLessEqualQueryCondition, getNewLessQueryCondition, getNewLikeQueryCondition, getNewNotQueryCondition, getNewOrderLimitQuery, getNewOrderQuery, getNewOrQueryCondition, getStringQuoteChar, mapSQLTypeToJava, nestedSelect, parseWildcardNumber, quoteAlias
public static final java.lang.String CONVERT_BLOBS_FOR_FILTERING_PROPERTY
public static final java.lang.String DB_NAME
public static final java.lang.String DB_DRIVER
public static final java.lang.String DB_DESCRIPTOR
public static final java.lang.String DB_DESCRIPTION
public Oracle(StupidOracleService sos, ConfigService configService)
public java.lang.String getDescriptor()
DatabaseHelper
getDescriptor
in class DatabaseHelper
public java.lang.String getDriver()
getDriver
in class DatabaseHelper
public java.lang.String getName()
getName
in class DatabaseHelper
public DatabaseHelper.ResultSetObjectHandler createResultSetHandler(java.sql.ResultSet resultSet, java.sql.Connection con) throws java.sql.SQLException
createResultSetHandler
in class DatabaseHelper
java.sql.SQLException
public java.lang.String prepareColumnForSorting(java.lang.String name, Column column)
prepareColumnForSorting
in class DatabaseHelper
public java.lang.String prepareColumnForComparison(java.lang.String name, Column column)
DatabaseHelper
prepareColumnForComparison
in class DatabaseHelper
public java.lang.String prepareColumnForDistinctQuery(java.lang.String name, Column column)
prepareColumnForDistinctQuery
in class DatabaseHelper
public LimitQuery getNewLimitQuery(Query nestedQuery, QueryBuilder queryBuilder)
getNewLimitQuery
in class DatabaseHelper
public OffsetQuery getNewOffsetQuery(Query nestedQuery, QueryBuilder queryBuilder, ColumnNamingService columnNamingService)
getNewOffsetQuery
in class DatabaseHelper
public OrderOffsetQuery getNewOrderOffsetQuery(Query nestedQuery, QueryBuilder queryBuilder, ColumnNamingService columnNamingService)
getNewOrderOffsetQuery
in class DatabaseHelper
public java.lang.String getDescription()
getDescription
in class DatabaseHelper
public java.lang.String createDummyQuery()
createDummyQuery
in class DatabaseHelper