我不知道这个代码的问题是什么,我试图绑定值,但它无法正常工作。我得到了
INSERT INTO menucategory(menu_type,menu_order,menu_status)VALUES(?,?,?)
因为它是
这是我的代码
Caused by: org.h2.jdbc.JdbcSQLException: Column "AGE" not found; SQL statement:
select age from TestValue [42122-191]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
at org.h2.message.DbException.get(DbException.java:179)
at org.h2.message.DbException.get(DbException.java:155)
at org.h2.expression.ExpressionColumn.optimize(ExpressionColumn.java:147)
at org.h2.command.dml.Select.prepare(Select.java:852)
我从这里提到http://php.net/manual/en/pdostatement.bindparam.php#118975