pg.ddx.io pgsql-jdbc@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: BillR <iambill@williamrosmus.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: meta data domains ibatis abator etc
Date: Mon, 5 Feb 2007 10:28:30 -0500 (EST)
Message-ID: <Pine.BSO.4.64.0702051022580.17289@leary2.csoft.net> (raw)
In-Reply-To: <45C64CA8.5040304@williamrosmus.com>
References: <45C64CA8.5040304@williamrosmus.com>
On Sun, 4 Feb 2007, BillR wrote:
> Hi,
> Unfortunately it seems the Postgres JDBC driver doesn't return the base
> type for domains... the data type shows up as 'OTHER'. Now that Ibatis is
> pretty big, there is an Apache/Ibatis code generating tool you can use to
> generate most of the sql map files you need. However it relies on being able
> to find the correct jdbc data type.
>
> Is there something I need to know in order to get the JDBC driver to return
> the correct base types?
How to write some code? Unfortunately the JDBC driver knows nothing about
domains. Pretty much everything you'd need to modify should be in
org.postgresql.jdbc2.TypeInfoCache.java to be able to make it see through
domains.
Kris Jurka
view thread (2+ messages)
Message-ID: <Pine.BSO.4.64.0702051022580.17289@leary2.csoft.net> Permalink: ../Pine.BSO.4.64.0702051022580.17289@leary2.csoft.net/ Also on: postgresql.org/message-id/Pine.BSO.4.64.0702051022580.17289@leary2.csoft.net ·
reply
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Reply to all the recipients from your mail client; the link fills in the headers below: reply via email Some clients, webmail especially, drop In-Reply-To and References from a link, and the reply then starts a new thread: use the mbox below. To: pgsql-jdbc@postgresql.org Cc: books@ejurka.com, iambill@williamrosmus.com Subject: Re: meta data domains ibatis abator etc In-Reply-To: <Pine.BSO.4.64.0702051022580.17289@leary2.csoft.net> References: <45C64CA8.5040304@williamrosmus.com> <Pine.BSO.4.64.0702051022580.17289@leary2.csoft.net> * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox