ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Karl Schwaerzler <Thomas.Schwaerz...@student.uibk.ac.at>
Subject cant get abator to start
Date Sat, 01 Jul 2006 11:05:59 GMT

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 

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 

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 :)

View raw message