Re: Using elements

2006-01-26 Thread Larry Meadors
Why would you do that? That makes no sense at all in a parameter map - we have the dynamic sql so you can choose how to apply the parameters in the statement. You can also use dyanmic sql in the select list, with a remapResults="true", and change the returned columns. Larry On 1/26/06, Rick Gr

Re: Using elements

2006-01-26 Thread Mark Bennett
Like Jeff said, no, but you could either just allow null values into your object.  Or if you have two or three different variation of fields coming back then you can use the extending method.  But if you really need the flexibility of being able to handle any permutation then perhaps use a HashMap

Re: Using elements

2006-01-26 Thread Jeff Butler
Short answer - no.   Jeff Butler  On 1/26/06, Rick Gray <[EMAIL PROTECTED]> wrote: Mark, I need to know if i can build dynamic result maps and dynamic parameter maps using the element like you can in the statement.  In other words can i use the , and other dynamic elements in the result and para

Re: Using elements

2006-01-26 Thread Rick Gray
Mark, I need to know if i can build dynamic result maps and dynamic parameter maps using the element like you can in the statement.  In other words can i use the , and other dynamic elements in the result and parameter maps? The section of code below was taken from the dynamic statement example i

Re: Using elements

2006-01-25 Thread Mark Bennett
You can extend resultmaps which allow you to factor similar fields but allow special handling for separate fields.        MarkOn 1/25/06, Rick Gray <[EMAIL PROTECTED] > wrote:Hi,   I'm evaluating IBATIS for use in our project. I need to know if I can use elements in the ParameterMaps and ResultM

Using elements

2006-01-25 Thread Rick Gray
Hi,   I'm evaluating IBATIS for use in our project. I need to know if I can use elements in the ParameterMaps and ResultMaps. I want to keep the parameters and results in sync with the statement.   Thanks   Rick __Do You Yahoo!?Tired of spam?