From 8850cf95e80a5922f17f04c06c697b6fcd46f4d7 Mon Sep 17 00:00:00 2001 From: baztian Date: Tue, 21 Mar 2017 20:16:01 +0100 Subject: [PATCH 1/3] Fix development notes on how to publish a new release. --- README_development.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README_development.rst b/README_development.rst index 84966e0..11bba85 100644 --- a/README_development.rst +++ b/README_development.rst @@ -69,4 +69,4 @@ Build a new release 9. Send new version and tags to github origin. :: - $ git push origin master --tags + $ git push origin master --follow-tags From e99a05d5a84e9aa37ff0bac00bd5591336f54402 Mon Sep 17 00:00:00 2001 From: baztian Date: Tue, 21 Mar 2017 20:16:59 +0100 Subject: [PATCH 2/3] =?UTF-8?q?Bump=20version:=201.1.0=20=E2=86=92=201.1.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .bumpversion.cfg | 2 +- README.rst | 1 + jaydebeapi/__init__.py | 2 +- setup.py | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index edbb95b..38c1800 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.1.0 +current_version = 1.1.1 commit = True tag = True diff --git a/README.rst b/README.rst index 13ab23c..c422597 100644 --- a/README.rst +++ b/README.rst @@ -159,6 +159,7 @@ Changelog ========= - Next version - unreleased +- 1.1.1 - 2017-03-21 - Don't fail on dates before 1900 on Python < 3. diff --git a/jaydebeapi/__init__.py b/jaydebeapi/__init__.py index 4e1c597..c124e6f 100644 --- a/jaydebeapi/__init__.py +++ b/jaydebeapi/__init__.py @@ -17,7 +17,7 @@ # License along with JayDeBeApi. If not, see # . -__version_info__ = (1, 1, 0) +__version_info__ = (1, 1, 1) __version__ = ".".join(str(i) for i in __version_info__) import datetime diff --git a/setup.py b/setup.py index 2f32874..1425345 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ setup( #basic package data name = 'JayDeBeApi', - version = '1.1.0', + version = '1.1.1', author = 'Bastian Bowe', author_email = 'bastian.dev@gmail.com', license = 'GNU LGPL', From 624ce25a1bd3c91db51f8889c6c320cf6ce1eb0f Mon Sep 17 00:00:00 2001 From: howryu Date: Thu, 20 Jul 2017 15:08:14 -0700 Subject: [PATCH 3/3] Support long type --- jaydebeapi/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/jaydebeapi/__init__.py b/jaydebeapi/__init__.py index c124e6f..875c9d7 100644 --- a/jaydebeapi/__init__.py +++ b/jaydebeapi/__init__.py @@ -626,6 +626,8 @@ def to_py(rs, col): _to_boolean = _java_to_py('booleanValue') +_to_long = _java_to_py('longValue') + def _init_types(types_map): global _jdbc_name_to_const _jdbc_name_to_const = types_map @@ -663,5 +665,6 @@ def _init_converters(types_map): 'INTEGER': _to_int, 'SMALLINT': _to_int, 'BOOLEAN': _to_boolean, - 'BIT': _to_boolean + 'BIT': _to_boolean, + 'BIGINT': _to_long }