public class QueryDslUtils extends Object
Constructor and Description |
---|
QueryDslUtils() |
Modifier and Type | Method and Description |
---|---|
static com.querydsl.core.types.dsl.StringTemplate |
mssqlCastNTextToNvarchar(com.querydsl.core.types.dsl.StringPath column) |
static com.querydsl.core.types.dsl.StringTemplate |
oracleCastClobToNvarchar(com.querydsl.core.types.dsl.StringPath column) |
static com.querydsl.core.types.dsl.BooleanExpression |
safeContainsIgnoreCase(DatabaseVendor vendor,
com.querydsl.core.types.dsl.StringPath column,
String str)
Performs
StringExpression.containsIgnoreCase(String) . |
public static com.querydsl.core.types.dsl.StringTemplate oracleCastClobToNvarchar(com.querydsl.core.types.dsl.StringPath column)
public static com.querydsl.core.types.dsl.StringTemplate mssqlCastNTextToNvarchar(com.querydsl.core.types.dsl.StringPath column)
public static com.querydsl.core.types.dsl.BooleanExpression safeContainsIgnoreCase(DatabaseVendor vendor, com.querydsl.core.types.dsl.StringPath column, String str)
StringExpression.containsIgnoreCase(String)
. Performs additional casting for provided
expression if the underlying database is MSSQL.vendor
- vendor of the database Jira is running on; may be acquired with DatabaseAccessor.getDatabaseVendor()
column
- column that StringExpression.containsIgnoreCase(String)
will be called onstr
- argument for StringExpression.containsIgnoreCase(String)
Copyright © 2002-2021 Atlassian. All Rights Reserved.