ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry Meadors" <lmead...@apache.org>
Subject Re: Design Question
Date Thu, 11 Oct 2007 03:14:10 GMT
I think I'd do it in the SQL - that way the rest of the app is clean.

Larry


On 10/10/07, Warren <warren@clarksnutrition.com> wrote:
> 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
>

Mime
View raw message