Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id E43619FB30C for ; Sun, 4 Feb 2007 17:14:26 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 92985-03 for ; Sun, 4 Feb 2007 17:14:20 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id A47409FB309 for ; Sun, 4 Feb 2007 17:14:23 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.3 Received: from kgb08.kgbinternet.com (kgb08.kgbinternet.com [66.199.152.35]) by svr4.postgresql.org (Postfix) with ESMTP id 259B35AF024 for ; Sun, 4 Feb 2007 21:14:22 +0000 (GMT) Received: from [127.0.0.1] (216.19.188.70.novuscom.net [216.19.188.70]) (authenticated bits=0) by kgb08.kgbinternet.com (8.12.10/8.12.8) with ESMTP id l14LEKE3001637 for ; Sun, 4 Feb 2007 15:14:20 -0600 Message-ID: <45C64CA8.5040304@williamrosmus.com> Date: Sun, 04 Feb 2007 13:14:16 -0800 From: BillR User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: meta data domains ibatis abator etc Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.03 tagged_above=0 required=5 tests=AWL, BAYES_50 X-Spam-Level: X-Archive-Number: 200702/29 X-Sequence-Number: 16585 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