transparent values to SQL statements?

2007-07-13 Thread Shan Syed
Hi, I'd like to transparently send parameters to SQL functions, without having to include those parameters always through my code. For example, SELECT * from person WHERE lastname = #lastname# AND recordstatus = #recordstatus# Where the "recordstatus" property is not inside my Person domain o

Passing parameter objects to sub-selects?

2007-07-26 Thread Shan Syed
I have a function, like so: where activity_id = #activityID#; the ResultMap is like so: which, as you see, makes a subselect itself. The first select takes a java Map as a param class, in which various values are stored. Is ther

caching question

2007-07-25 Thread Shan Syed
If I apply a cache model to a SELECT function in my config, but don't call this function directly through my Java code - rather as a "subselect" through a resultMap, will the result of that subselect still be cached?

Re: This is not an urgent message :-) (non-xml config?)

2007-08-02 Thread Shan Syed
Are you trying to create mappings dynamically, or protect your configuration from being tampered with or messed up? On 8/2/07, Alex Shneyderman <[EMAIL PROTECTED]> wrote: > > But an important nevertheless: > > I wonder what are the options of configuring iBatis sqlMapClient non-xml > way? > Some d