Sorry, double posted
-Original Message-
From: Koka Kiknadze [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 11, 2007 4:22 PM
To: user-java@ibatis.apache.org
Subject: Re: Design Question
What was wrong with replys you got to this question recenly?
Like this one from Larry
What was wrong with replys you got to this question recenly?
Like this one from Larry Meadors:
>I think I'd do it in the SQL - that way the rest of the app is clean.
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
t
>>I have no control over the structure of the db
>I think I'd do it in the SQL - that way the rest of the app is clean.
+1
And hope that some day you'll gain some control over the structure of the
db ;)
I think I'd do it in the SQL - that way the rest of the app is clean.
Larry
On 10/10/07, Warren <[EMAIL PROTECTED]> 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 I
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