$49 GRAYBYTE WORDPRESS FILE MANAGER $93

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.15.130 | ADMIN IP 216.73.216.174
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/cloudlinux/venv/lib/python3.11/site-packages/sqlalchemy/dialects/postgresql/

HOME
Current File : /opt/cloudlinux/venv/lib/python3.11/site-packages/sqlalchemy/dialects/postgresql//zxjdbc.py
# postgresql/zxjdbc.py
# Copyright (C) 2005-2021 the SQLAlchemy authors and contributors
# <see AUTHORS file>
#
# This module is part of SQLAlchemy and is released under
# the MIT License: http://www.opensource.org/licenses/mit-license.php

"""
.. dialect:: postgresql+zxjdbc
    :name: zxJDBC for Jython
    :dbapi: zxjdbc
    :connectstring: postgresql+zxjdbc://scott:tiger@localhost/db
    :driverurl: http://jdbc.postgresql.org/


"""
from .base import PGDialect
from .base import PGExecutionContext
from ...connectors.zxJDBC import ZxJDBCConnector


class PGExecutionContext_zxjdbc(PGExecutionContext):
    def create_cursor(self):
        cursor = self._dbapi_connection.cursor()
        cursor.datahandler = self.dialect.DataHandler(cursor.datahandler)
        return cursor


class PGDialect_zxjdbc(ZxJDBCConnector, PGDialect):
    jdbc_db_name = "postgresql"
    jdbc_driver_name = "org.postgresql.Driver"

    execution_ctx_cls = PGExecutionContext_zxjdbc

    supports_native_decimal = True

    def __init__(self, *args, **kwargs):
        super(PGDialect_zxjdbc, self).__init__(*args, **kwargs)
        from com.ziclix.python.sql.handler import PostgresqlDataHandler

        self.DataHandler = PostgresqlDataHandler

    def _get_server_version_info(self, connection):
        parts = connection.connection.dbversion.split(".")
        return tuple(int(x) for x in parts)


dialect = PGDialect_zxjdbc


Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
11 Feb 2026 9.30 AM
root / root
0755
__pycache__
--
11 Feb 2026 9.30 AM
root / root
0755
__init__.py
2.403 KB
20 Jan 2026 1.01 PM
root / root
0644
array.py
11.5 KB
20 Jan 2026 1.01 PM
root / root
0644
base.py
126.219 KB
20 Jan 2026 1.01 PM
root / root
0644
dml.py
7.607 KB
20 Jan 2026 1.01 PM
root / root
0644
ext.py
7.558 KB
20 Jan 2026 1.01 PM
root / root
0644
hstore.py
12.126 KB
20 Jan 2026 1.01 PM
root / root
0644
json.py
9.866 KB
20 Jan 2026 1.01 PM
root / root
0644
pg8000.py
9.494 KB
20 Jan 2026 1.01 PM
root / root
0644
provision.py
1.961 KB
20 Jan 2026 1.01 PM
root / root
0644
psycopg2.py
36.883 KB
20 Jan 2026 1.01 PM
root / root
0644
psycopg2cffi.py
1.618 KB
20 Jan 2026 1.01 PM
root / root
0644
pygresql.py
7.938 KB
20 Jan 2026 1.01 PM
root / root
0644
pypostgresql.py
2.847 KB
20 Jan 2026 1.01 PM
root / root
0644
ranges.py
4.514 KB
20 Jan 2026 1.01 PM
root / root
0644
zxjdbc.py
1.382 KB
20 Jan 2026 1.01 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF