Package com.objectsql.option
Class OracleOptions
java.lang.Object
com.objectsql.option.AbstractOptions
com.objectsql.option.OracleOptions
- All Implemented Interfaces:
Options
- Direct Known Subclasses:
DMOptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncolumns(Connection connection, String schema, RdTable rdTable) columns(Connection connection, String schema, String tableName) protected StringcolumnString(ColumnInfo info, int sensitive, RdColumn rdColumn, boolean addKey) protected StringcolumnString(TableColumn tc, int sensitive, boolean addKey) protected StringcolumnStringChangeNull(ColumnInfo info, int sensitive, boolean isNull) protected StringcolumnStringChangeNull(TableColumn tc, int sensitive, boolean isNull) static ObjectcreateOracleLob(Connection conn, String lobClassName) createOrUpdateSqls(Connection connection, String schema, RdTable table, List<ColumnInfo> infos, boolean tableExisted, List<TableColumn> tableColumns) createOrUpdateSqls(Connection connection, String schema, Table table, List<TableColumn> columns, List<TableColumn> tableColumns, boolean tableExisted) doQuery(Class<?> clazz, String schema, String[] names, Condition condition, MultiOrder multiOrder, Integer start, Integer size) getCaseSensitive(String name, int sensitive) getClassName(TableColumn column) protected StringgetColumnType(ColumnInfo info, RdColumn rdColumn) getColumnType(TableColumn column) getColumnWithOperator(OperatorType operatorType, String name, String value) getColumnWithOperatorAndFunction(String function, boolean inFunction, OperatorType operatorType, String name, String value) keyword()static CloboracleStr2Clob(String str, Clob lob) parseExpression(Class clazz, Map<String, Object> clazzes, Expression expression) booleanpreSetParameter(PreparedStatement ps, Connection connection, String databaseType, int i, Pair pair) table(Connection connection, String schema, RdTable rdTable) table(Connection connection, String schema, Table tab) booleantableExists(Connection connection, String schema, String tableName) tables(Connection connection, String schema, String keyword) Methods inherited from class com.objectsql.option.AbstractOptions
columnComment, doQuery, doQueryCount, getCoding, getColumnWithOperator, getColumnWithOperatorAndFunction, getConditions, getConditions, getForeignSQL, getGroups, getOrders, getOrders, getTableName, getUniqueSQL, groupCountSelect, groups, havings, joins, orders, parseCaseColumnValue, parseColumn, parseColumn, parseConditions, parseExpression, selectColumns, selectCount, setParameter, tableExists, tables, wheres
-
Constructor Details
-
OracleOptions
public OracleOptions()
-
-
Method Details
-
keyword
-
preSetParameter
public boolean preSetParameter(PreparedStatement ps, Connection connection, String databaseType, int i, Pair pair) throws SQLException - Specified by:
preSetParameterin classAbstractOptions- Throws:
SQLException
-
createOracleLob
- Throws:
Exception
-
oracleStr2Clob
- Throws:
Exception
-
getColumnWithOperator
-
getColumnWithOperatorAndFunction
public String getColumnWithOperatorAndFunction(String function, boolean inFunction, OperatorType operatorType, String name, String value) -
databaseType
-
nanoTimeSQL
-
doQuery
-
doQuery
-
tableExists
-
getCaseSensitive
- Specified by:
getCaseSensitivein interfaceOptions- Specified by:
getCaseSensitivein classAbstractOptions
-
tables
-
table
- Throws:
ORMException
-
table
-
columns
public List<TableColumn> columns(Connection connection, String schema, RdTable rdTable) throws ORMException - Throws:
ORMException
-
columns
-
createOrUpdateSqls
public List<String> createOrUpdateSqls(Connection connection, String schema, RdTable table, List<ColumnInfo> infos, boolean tableExisted, List<TableColumn> tableColumns) -
dropTable
-
createOrUpdateSqls
public List<String> createOrUpdateSqls(Connection connection, String schema, Table table, List<TableColumn> columns, List<TableColumn> tableColumns, boolean tableExisted) -
columnString
-
columnString
-
columnStringChangeNull
-
columnStringChangeNull
-
getColumnType
-
getColumnType
-
getClassName
-
parseExpression
- Overrides:
parseExpressionin classAbstractOptions
-