ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry Meadors <lmead...@apache.org>
Subject Re: Element Naming Question
Date Thu, 17 Nov 2005 15:13:34 GMT
Rick's examples stil use 1.x, so they need to be changed for 2.x development.


On 11/17/05, Scott Purcell <spurcell@vertisinc.com> wrote:
> I am trying to get an understanding of the IBatis framework, and I am currently using
the reumann web example as a tool. My problem is as follows though.
> In the EmployeeSQL.xml mapping, I am seeing elements like this:
> <result-map name="employee_result" class="net.reumann.Employee">
> and
> <sql-map name="EmployeeSQL">
> But as I am using the DevGuide.pdf from the IBatis site download, they refer to the elements
like so:
> <resultMap id="productResult" class="product">
> <result property="id" column="PRD_ID"/>
> <result property="description" column="PRD_DESCRIPTION"/>
> </resultMap>
> <sqlMap namespace="Product">
> Basically the DevGuide.pdf uses a different element naming than the example I am working
with. Does anyone know the difference? The DTDs look the same?

View raw message