Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 88889 invoked from network); 11 Oct 2006 22:03:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Oct 2006 22:03:39 -0000 Received: (qmail 79712 invoked by uid 500); 11 Oct 2006 22:03:36 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 79701 invoked by uid 500); 11 Oct 2006 22:03:36 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 79690 invoked by uid 99); 11 Oct 2006 22:03:36 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Oct 2006 15:03:36 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [64.92.200.18] (HELO mail.thenewpush.com) (64.92.200.18) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Oct 2006 15:03:35 -0700 Received: (qmail 14058 invoked from network); 11 Oct 2006 22:01:51 -0000 Received: from unknown (HELO ?192.168.1.117?) (tduffey@utilivisor.com@70.94.34.134) by sophocles with RC4-SHA encrypted SMTP; 11 Oct 2006 22:01:51 -0000 Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <257336F3-944C-40E1-A104-6F4C34D8FF6A@utilivisor.com> Content-Transfer-Encoding: 7bit From: Tom Duffey Subject: Re: Type handlers for associated objects Date: Wed, 11 Oct 2006 17:03:12 -0500 To: user-java@ibatis.apache.org X-Mailer: Apple Mail (2.752.2) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Oct 11, 2006, at 4:50 PM, Tom Duffey wrote: > Can I use a type handler to convert results of type BaseMeter to > their more appropriate concrete classes by checking the "type" > property of the base meter result? Is there some other way that > people handle this? My situation is more complicated than what I > describe above so I want to avoid having to create database tables, > iBATIS mappings, etc. for each concrete meter type. Never mind, I think this post I just found answers my question: http://www.mail-archive.com/user-java@ibatis.apache.org/msg05332.html Tom