ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Butler" <jeffgbut...@gmail.com>
Subject Re: cant get abator to start
Date Sat, 01 Jul 2006 13:15:47 GMT
You do have to update the sqlmapconfig.xml file manually.  And also the
dao.xml file if you are generating IBATIS DAOs.

I've been working on some better documentation for Abator - you can check it
out here:

http://svn.apache.org/repos/asf/ibatis/trunk/java/mapper/mapper2/tools/abator/core/htmldoc/index.html

There is a page specifically about what you have to do after running
abator.  This new documentation references some things that aren't released
yet, but most of the information applies to the current release too.

Jeff Butler


On 7/1/06, Thomas Karl Schwaerzler <Thomas.Schwaerzler@student.uibk.ac.at>
wrote:
>
>
> hi out there,
>
> we re just new users of ibatis. until now we used to bind ibatis into our
> servlet appliction directly and it works great.
>
> now since we know that there exists abator we d like to create sql-maps
> automatically.
>
> building the maps, beans and model classes  works great, too, BUT....
> we could not find out how to use these automatically generated classes.
>
> our problem is that we could not find out where we get the (supposedly)
> needed
> sqlMapClient for any *DAOImpl.java classes.
> another question is:
>
> every table has its map, but shouldn there be a xml file that loads all
> these
> maps.
>
> shouldnt there be generated a sqlmap config file that identifies which xml
> map
> files should be loaded into the sqlmapclient.
>
> containing something like this:
>   <sqlMap
> resource="org/dea/odm/model/dao/test/sqlmap/c108272dev_ODM_ATTACHMENT_SqlMap.xml"
> />
>   <sqlMap
> resource="org/dea/odm/model/dao/test/sqlmap/c108272dev_ODM_EMPLOYEE_SqlMap.xml"
> />
>   <sqlMap
> resource="org/dea/odm/model/dao/test/sqlmap/c108272dev_ODM_LINK_SqlMap.xml"
> />
>
>
> or do we have to write this xml file by hand??
>
> thanks in advance
>
> tom + clemens + andy :)
>

Mime
View raw message