Seems it may also be in the spelling of <resutMaps>. Should be <resultMaps>. Notice the missing 'l'.
Confidentiality Notice: This E-mail message, including any attachments, is for the sole use of intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. -----Original Message----- From: Dorin Manoli [mailto:[EMAIL PROTECTED] Sent: Thursday, September 28, 2006 8:34 AM To: [email protected] Subject: RE: Question resultMap Fault is in <typeAlias alias="Person" type="DAL.Entities.Person, DAL" /> Try: <typeAlias alias="Person" type="DAL.Entities.Person, DAL.Entities" /> -----Original Message----- From: Anthony [mailto:[EMAIL PROTECTED] Sent: Thursday, September 28, 2006 3:22 PM To: [email protected] Subject: Question resultMap 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

