解决There is no READABLE property named 'SID'问题

xiaoxiao2026-08-15  31

解决There is no READABLE property named 'SID'问题

<insert id="insertStudent" parameterClass="Student">INSERT INTO STUDENT(SID, SNAME, MAJOR, BIRTH, SCORE) VALUES (#sid#,#sname#,#major#,#birth#,#score#)</insert>

上面大写的是数据库中表的字段名称

下面的小写的sid是Student类中的属性名称,要注意大小写

相关资源:敏捷开发V1.0.pptx
转载请注明原文地址: https://www.6miu.com/read-5051255.html

最新回复(0)