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:
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 <[EMAIL PROTECTED]> 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 :)
