[#430] Add support for the Firebird database - Fixed ASCII()

This commit is contained in:
Lukas Eder 2012-08-19 18:25:58 +02:00
parent a59f83b6d3
commit 2afd325029

View File

@ -61,6 +61,9 @@ class Ascii extends AbstractFunction<Integer> {
@Override
final Field<Integer> getFunction0(Configuration configuration) {
switch (configuration.getDialect()) {
case FIREBIRD:
return function("ascii_val", SQLDataType.INTEGER, string);
// TODO [#862] [#864] simulate this for some dialects
case DERBY:
case INGRES: