mybatis input mapping and output mapping

1. parameterType (input type) (1) Pass simple types (such as int, which we can use directly) public Student getStudentById(Integer studentId); <select id="getStudentById" parameterType="int" resultType="student"> select * from tblstudent where studentId = #{studentId} </select> (2) Passing pojo objects     p ...

Posted by bogins on Mon, 06 May 2019 22:55:03 +0200