public class SqlUtil extends Object
Constructor and Description |
---|
SqlUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
getStringList(List<?> list,
boolean useComma,
boolean useBrackets)
Prints the list, using the toString() method of its members.
|
static List<Column> |
toColumnList(Table inTable,
String... columnNames) |
static ExpressionList |
toExpressionList(List<? extends Expression> list) |
static List<StringValueExpression> |
toStringValueList(String... strings) |
public static List<StringValueExpression> toStringValueList(String... strings)
public static ExpressionList toExpressionList(List<? extends Expression> list)
public static String getStringList(List<?> list, boolean useComma, boolean useBrackets)
list
- list of objects to printuseComma
- true if the printed members shall be separated by a comma, in
addition to a space characteruseBrackets
- true if the list shall be enclosed in bracketsCopyright © 2018. All rights reserved.