Package org.hibernate.reactive.pool.impl
Class OracleParameters
- java.lang.Object
-
- org.hibernate.reactive.pool.impl.Parameters
-
- org.hibernate.reactive.pool.impl.OracleParameters
-
public class OracleParameters extends Parameters
-
-
Field Summary
Fields Modifier and Type Field Description static OracleParameters
INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
process(java.lang.String sql)
java.lang.String
process(java.lang.String sql, int parameterCount)
Replace all JDBC-style?
parameters with Oracle-style:n
parameters in the given SQL string.java.lang.String
processLimit(java.lang.String sql, java.lang.Object[] parameterArray, boolean hasOffset)
Limit and offset gets applied just before the execution of the query but because we know how the string looks like for Oracle, it's faster to replace the last bit instead of processing the whole query-
Methods inherited from class org.hibernate.reactive.pool.impl.Parameters
instance, isProcessingNotRequired
-
-
-
-
Field Detail
-
INSTANCE
public static final OracleParameters INSTANCE
-
-
Method Detail
-
process
public java.lang.String process(java.lang.String sql)
- Specified by:
process
in classParameters
-
processLimit
public java.lang.String processLimit(java.lang.String sql, java.lang.Object[] parameterArray, boolean hasOffset)
Limit and offset gets applied just before the execution of the query but because we know how the string looks like for Oracle, it's faster to replace the last bit instead of processing the whole query- Specified by:
processLimit
in classParameters
-
process
public java.lang.String process(java.lang.String sql, int parameterCount)
Replace all JDBC-style?
parameters with Oracle-style:n
parameters in the given SQL string.- Specified by:
process
in classParameters
-
-