|
37 | 37 | import org.hibernate.sql.ast.spi.StandardSqlAstTranslatorFactory; |
38 | 38 | import org.hibernate.sql.ast.tree.Statement; |
39 | 39 | import org.hibernate.sql.exec.spi.JdbcOperation; |
40 | | -import org.hibernate.type.StandardBasicTypes; |
41 | 40 | import org.hibernate.type.descriptor.java.JavaType; |
42 | 41 | import org.hibernate.type.descriptor.jdbc.JdbcType; |
43 | 42 | import org.hibernate.type.descriptor.jdbc.TimestampJdbcType; |
|
58 | 57 | import static org.hibernate.internal.util.JdbcExceptionHelper.extractSqlState; |
59 | 58 | import static org.hibernate.internal.util.config.ConfigurationHelper.getBoolean; |
60 | 59 | import static org.hibernate.internal.util.config.ConfigurationHelper.getInt; |
61 | | -import static org.hibernate.query.sqm.produce.function.FunctionParameterType.STRING; |
62 | 60 | import static org.hibernate.type.SqlTypes.BOOLEAN; |
63 | 61 | import static org.hibernate.type.SqlTypes.DATE; |
64 | 62 | import static org.hibernate.type.SqlTypes.NCLOB; |
@@ -190,13 +188,6 @@ public void initializeFunctionRegistry(FunctionContributions functionContributio |
190 | 188 | functionFactory.unnest_sybasease(); |
191 | 189 | functionFactory.generateSeries_sybasease( getMaximumSeriesSize() ); |
192 | 190 | functionFactory.xmltable_sybasease(); |
193 | | - |
194 | | - functionContributions.getFunctionRegistry() |
195 | | - .patternDescriptorBuilder( "regexp_like", "?1 regexp ?2" ) |
196 | | - .setParameterTypes( STRING, STRING ) |
197 | | - .setInvariantType( functionContributions.getTypeConfiguration().getBasicTypeRegistry() |
198 | | - .resolve( StandardBasicTypes.BOOLEAN ) ) |
199 | | - .register(); |
200 | 191 | } |
201 | 192 |
|
202 | 193 | /** |
|
0 commit comments