From: | Kris Jurka <books(at)ejurka(dot)com> |
---|---|
To: | BillR <iambill(at)williamrosmus(dot)com> |
Cc: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: meta data domains ibatis abator etc |
Date: | 2007-02-05 15:28:30 |
Message-ID: | Pine.BSO.4.64.0702051022580.17289@leary2.csoft.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Do, Leon (Leon) | 2007-02-05 15:59:11 | Re: Max size for bytea type |
Previous Message | BillR | 2007-02-04 21:14:16 | meta data domains ibatis abator etc |