pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: BillR <iambill@williamrosmus.com>
To: pgsql-jdbc@postgresql.org
Subject: meta data domains ibatis abator etc
Date: Sun, 04 Feb 2007 13:14:16 -0800
Message-ID: <45C64CA8.5040304@williamrosmus.com> (raw)

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?  Does anyone have any experience with this with respect to 
Abator?

Since domains are absolutely essential for effectively managing the data model, 
I don't really want to get rid of them.  However, code generating tools are 
essential for code development to reduce time wasted on monkey work.  If Abator 
didn't exist, I would have written my own generator (which would rely on the 
correct data type being returned).

As a side note, I don't know why, but I keep wanting to pronounce it as 
Abattoir.  There has to be a better name.

Thanks,

BillR



view thread (2+ messages)  latest in thread

Message-ID: <45C64CA8.5040304@williamrosmus.com>
Permalink:  ../45C64CA8.5040304@williamrosmus.com/
Also on:    postgresql.org/message-id/45C64CA8.5040304@williamrosmus.com

 · 

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: iambill@williamrosmus.com
  Subject: Re: meta data domains ibatis abator etc
  In-Reply-To: <45C64CA8.5040304@williamrosmus.com>
  References: <45C64CA8.5040304@williamrosmus.com>

* 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