Uses of Class
net.tirasa.connid.commons.db.SQLParam
-
Uses of SQLParam in net.tirasa.connid.commons.db
Modifier and TypeMethodDescriptionprotected abstract SQLParam
DatabaseFilterTranslator.getSQLParam
(Attribute attribute, ObjectClass oclass, OperationOptions options) Get the SQLParam for given attributestatic SQLParam
SQLUtil.getSQLParam
(ResultSet resultSet, int i, String name, int sqlType) Retrieve the SQL value from result set.Modifier and TypeMethodDescriptionSQLUtil.getColumnValues
(ResultSet resultSet) Read one row from database result set and convert a columns to attribute set.DatabaseQueryBuilder.getParams()
Values in wrapped objectFilterWhereBuilder.getParams()
InsertIntoBuilder.getParams()
UpdateSetBuilder.getParams()
Modifier and TypeMethodDescriptionvoid
Add name value pair bindings with operator, this is lazy bindings resolved atFilterWhereBuilder.getWhereClause()
Add column name and value pairabstract OperationBuilder
Add column name and value pair.Add column name and expression value pair.void
Add the update value.static int
SQLUtil.executeUpdateStatement
(Connection conn, String sql, SQLParam... params) Executes DML sql statement.SQLUtil.selectRows
(Connection conn, String sql, SQLParam... params) Selects all rows from select.static Object
SQLUtil.selectSingleValue
(Connection conn, String sql, SQLParam... params) Selects single value (first column) from select.static void
SQLUtil.setSQLParam
(PreparedStatement stmt, int idx, SQLParam parm) Set a parameter to statement.Modifier and TypeMethodDescriptionstatic String
The null param vlaue normalizator.DatabaseConnection.prepareCall
(String sql, List<SQLParam> params) Indirect call of prepareCall statement with mapped callable statement parametersDatabaseConnection.prepareStatement
(String sql, List<SQLParam> params) Indirect call of prepare statement with mapped prepare statement parametersstatic void
SQLUtil.setParams
(CallableStatement statement, List<SQLParam> params) Binds the "?"static void
SQLUtil.setParams
(PreparedStatement statement, List<SQLParam> params) Binds the "?"