问一个iBatis的问题
我想用Timestamp和BigDecimal类型来绑定数据库表中的Date和number类型
应该怎么做
比如
Table person
......
BirthDay Date,
person_id number(38)
Class Person{
java.sql.Timestamp birthDay;
java.math.BigDecimal person_id;
}
xml文件
<insert id="Person-createRecord" parameterClass="Person" >
INSERT INTO PERSON(
PERSON_ID ,
BIRTHDAY
)VALUES(
#person_id# ,
#birthDay#)
</insert>
结果运行的时候就出错,提示错误的类型
请大虾指教!