I assume you are talking about Abator - not iBATIS.  If so...

1. You can exclude any column from code generation using the <ignoreColumn>
element
2. You could write your own DAO generator - but this is probably more than
you want to do.
3. You can specify the "rootClass" property on the <javaModelGenerator>
element

Take a look at Abator documentation - it's all in there.

Jeff Butler



On 7/25/07, ibrahim demir <[EMAIL PROTECTED]> wrote:

Hi all;

  I have  questions about configuring ibatis.

  1-Is there a way of blocking the code generation of some columns on
some tables. For examle i have table_mytable and it has

  column_1
  column_2
  column_3
  column_4

  and i do not column_1 and column_2 to be mapped. Is there a way of
excluidng these columns

  2-As you know ibatis DOA classes extends SQLMapDaoTemplate. but after
generating these classes we manually go and change this to
xxxSQLMapDaoTemplate which is a class that we want to be extended. Is
there a way
of changing the extended classes for the generated dao objects

  3-And the same thing for the ibatis-beans we maually make them extend
XXXAbstractObject. So is there a way to make them automatically extend
XXXAbstractObject.

  Thanks for the help.

  Yours


*Ýbrahim DEMÝR*
*jdbc_tr group moderator* <http://tech.groups.yahoo.com/group/jdbc_tr/>
*http://ibrahimdemir.wordpress.com* <http://ibrahimdemir.wordpress.com/>




------------------------------
Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge
<http://us.rd.yahoo.com/evt=47093/*http://tv.yahoo.com/collections/222>to
see what's on, when.


Reply via email to