You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by Jonathan Prater <jo...@gmail.com> on 2006/08/02 12:56:17 UTC

IBATIS newbie questions

OK, I am an IBATIS newbie and I have a couple of questions...
1.  I want to be able to search any field in my database using a SELECT 
statement mapped through IBATIS.  Do I need write maps for any possible 
combination of fields, or is it enough to write one SELECT map that 
covers all the fields?  For example, if I have 10 fields, do I have to 
write maps for every possible combination of those 10, or do I only need 
one map that maps all of them?
2.  Does IBATIS require J2EE, or is the J2SE sufficient?

Re: IBATIS newbie questions

Posted by Gwyn Evans <gw...@gmail.com>.
I'd suggest that you download "abator" and run that against the DB &
let it generate things, as it will provide you with a lot, if not all,
of the code you'll need...

/Gwyn

On 02/08/06, Jonathan Prater <jo...@gmail.com> wrote:
> OK, I am an IBATIS newbie and I have a couple of questions...
> 1.  I want to be able to search any field in my database using a SELECT
> statement mapped through IBATIS.  Do I need write maps for any possible
> combination of fields, or is it enough to write one SELECT map that
> covers all the fields?  For example, if I have 10 fields, do I have to
> write maps for every possible combination of those 10, or do I only need
> one map that maps all of them?
> 2.  Does IBATIS require J2EE, or is the J2SE sufficient?
>
>
>