| java.lang.Object org.ofbiz.entity.jdbc.SqlJdbcUtil
Method Summary | |
public static void | addValue(StringBuffer buffer, ModelField field, Object value, List params) | public static String | filterColName(String colName) | public static int | getType(String fieldType) | public static void | getValue(ResultSet rs, int ind, ModelField curField, GenericEntity entity, ModelFieldTypeReader modelFieldTypeReader) | public static String | makeFromClause(ModelEntity modelEntity, EntityConfigUtil.DatasourceInfo datasourceInfo) | public static String | makeOrderByClause(ModelEntity modelEntity, List orderBy, EntityConfigUtil.DatasourceInfo datasourceInfo) | public static String | makeOrderByClause(ModelEntity modelEntity, List orderBy, boolean includeTablenamePrefix, EntityConfigUtil.DatasourceInfo datasourceInfo) | public static String | makeViewTable(ModelEntity modelEntity, EntityConfigUtil.DatasourceInfo datasourceInfo) | public static String | makeViewWhereClause(ModelEntity modelEntity, String joinStyle) | public static String | makeWhereClause(ModelEntity modelEntity, List modelFields, Map fields, String operator, String joinStyle) | public static String | makeWhereStringFromFields(List modelFields, Map fields, String operator) | public static String | makeWhereStringFromFields(List modelFields, Map fields, String operator, List entityConditionParams) | public static void | setPkValues(SQLProcessor sqlP, ModelEntity modelEntity, GenericEntity entity, ModelFieldTypeReader modelFieldTypeReader) | public static void | setValue(SQLProcessor sqlP, ModelField modelField, GenericEntity entity, ModelFieldTypeReader modelFieldTypeReader) | public static void | setValue(SQLProcessor sqlP, ModelField modelField, String entityName, Object fieldValue, ModelFieldTypeReader modelFieldTypeReader) | public static void | setValues(SQLProcessor sqlP, List list, GenericEntity entity, ModelFieldTypeReader modelFieldTypeReader) | public static void | setValuesWhereClause(SQLProcessor sqlP, List list, GenericValue dummyValue, ModelFieldTypeReader modelFieldTypeReader) The elements (ModelFields) of the list are bound to an SQL statement
(SQL-Processor), but values must not be null. |
CHAR_BUFFER_SIZE | final public static int CHAR_BUFFER_SIZE(Code) | | |
fieldTypeMap | protected static Map fieldTypeMap(Code) | | |
makeWhereStringFromFields | public static String makeWhereStringFromFields(List modelFields, Map fields, String operator)(Code) | | Makes a WHERE clause String with "=?" if not null or " IS null" if null, all AND separated
|
makeWhereStringFromFields | public static String makeWhereStringFromFields(List modelFields, Map fields, String operator, List entityConditionParams)(Code) | | Makes a WHERE clause String with "=?" if not null or " IS null" if null, all AND separated
|
|
|