Can anyone tell me what I am doing wrong? Here is my following mapping

<?xml version="1.0" encoding="utf-8" ?>
<sqlMap namespace="Person"
xmlns="http://ibatis.apache.org/mapping";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

  <alias>
    <typeAlias alias="Person" type="DAL.Entities.Person, DAL" />
  </alias>
  
  <resutMaps>
    <resultMap id="selectResult" class="Person">
      <result property="Id" column="pid" />
      <result property="FirstName" column="firstname" />
      <result property="LastName" column="lastname" />
      <result property="Birthday" column="dob" />
    </resultMap>
  </resutMaps>

  
  <statements>

    <select id="selectAll" resultMap="selectResult">
      SELECT
      pid,
      firstname,
      lastname,
      dob  
      FROM Person
    </select>   
    
  </statements>

</sqlMap>


I am getting the following error

- The error occurred while loading SqlMap.
- loading select tag
- The error occurred in <sqlMap
resource="../../../DAL/Entities/MSSQL/Person.xml
" xmlns="http://ibatis.apache.org/dataMapper"; />.
- Check the selectAll.

I know it must be something simple, can anyone help me?

Anthony


Reply via email to