Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 36889 invoked from network); 11 Oct 2007 03:07:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Oct 2007 03:07:52 -0000 Received: (qmail 70703 invoked by uid 500); 11 Oct 2007 03:07:34 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 70686 invoked by uid 500); 11 Oct 2007 03:07:34 -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 70672 invoked by uid 99); 11 Oct 2007 03:07:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Oct 2007 20:07:34 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of warren@clarksnutrition.com designates 66.160.183.118 as permitted sender) Received: from [66.160.183.118] (HELO unassigned118.fc.aoindustries.com) (66.160.183.118) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Oct 2007 03:07:36 +0000 Received: from [192.168.4.47] (pool-71-110-202-177.lsanca.dsl-w.verizon.net [71.110.202.177]) (authenticated bits=0) by www7.fc.aoindustries.com (8.13.4/8.13.4) with ESMTP id l9B36T3Q023785 for ; Wed, 10 Oct 2007 22:07:15 -0500 Message-ID: <470D9339.6030306@clarksnutrition.com> Date: Wed, 10 Oct 2007 20:06:33 -0700 From: Warren User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: user-java@ibatis.apache.org Subject: Design Question Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I know this is not an Ibatis question, but Ibatis makes this much easier to do. I have a field in my db that holds data for two class properties. Example, the field INV_Size = "90 oz" while the class properties are size = "90" and unit = "oz". Is it better to split this field in the SQL Map or in the class. I have no control over the structure of the db. Thanks, Warren Bell