[jOOQ/jOOQ#7545] Use ForcedType#withIncludeExpression() in JPADatabase
Using the legacy ForcedType#withExpression() results in a logged warning.
This commit is contained in:
parent
0f5b8799b9
commit
2202e4f21a
@ -231,7 +231,7 @@ public class JPADatabase extends H2Database {
|
||||
// to the available qualification
|
||||
String regex = "(.*?\\.)?" + entry.getKey().unquotedName().toString().replace(".", "\\.");
|
||||
ForcedType forcedType = new ForcedType()
|
||||
.withExpression("(?i:" + regex + ")")
|
||||
.withIncludeExpression("(?i:" + regex + ")")
|
||||
.withUserType(convertToEntityAttribute.getName())
|
||||
.withConverter(String.format("new %s(%s.class)",
|
||||
JPAConverter.class.getName(),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user