diff --git a/jaydebeapi/__init__.py b/jaydebeapi/__init__.py index a890c3d..17dc61e 100644 --- a/jaydebeapi/__init__.py +++ b/jaydebeapi/__init__.py @@ -680,6 +680,8 @@ def to_py(rs, col): _to_boolean = _java_to_py('booleanValue') +_to_string = _java_to_py('toString') + _to_decimal = _java_to_py_bigdecimal() def _init_types(types_map): @@ -719,5 +721,6 @@ def _init_converters(types_map): 'INTEGER': _to_int, 'SMALLINT': _to_int, 'BOOLEAN': _to_boolean, - 'BIT': _to_boolean + 'BIT': _to_boolean, + 'OTHER': _to_string } diff --git a/setup.py b/setup.py index 67a2d1d..1395b11 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ setup( #basic package data name = 'JayDeBeApi', - version = '1.2.3', + version = '1.2.4', author = 'Bastian Bowe', author_email = 'bastian.dev@gmail.com', license = 'GNU LGPL',