Export to GitHub

mybatisnet - issue #36

I can't use member property by use sharp.


Posted on Nov 16, 2011 by Swift Kangaroo

What version of the MyBatis.NET are you using? Mapper : 1.6.2 Access : 1.9.2 Framework : 4.0

Please describe the problem. Unit tests are best!

  1. next style is good working. <select id="Find" parameterClass="MemberVO" resultMap="resultMemberVO"> <![CDATA[ SELECT MEMBER_ID , MEMBER_NM , MEMBER_PWD FROM TB_MEMBER WHERE MEMBER_ID = '$MemberId$' ]]> </select>

  2. but next style is occure error ( error is ORA-00911: invalid character ) <select id="Find" parameterClass="MemberVO" resultMap="resultMemberVO"> <![CDATA[ SELECT MEMBER_ID , MEMBER_NM , MEMBER_PWD FROM TB_MEMBER WHERE MEMBER_ID = #MemberId# ]]> </select>

however, i can't use "#". i want to use "#".

What is the expected output? What do you see instead? ORA-00911: invalid character

Please provide any additional information below.

Attachments

Status: New

Labels:
Type-Defect Priority-Low