RE: Design Question

2007-10-11 Thread Warren
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

Re: Design Question

2007-10-11 Thread Koka Kiknadze
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.

Design Question

2007-10-11 Thread Warren
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

Re: Design Question

2007-10-11 Thread Koka Kiknadze
>>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 ;)

Re: Design Question

2007-10-10 Thread Larry Meadors
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

Design Question

2007-10-10 Thread Warren
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