در هنگام insert در یکی از table ها
s.execute("INSERT INTO attendance VALUES("
+s[0]+","+Timestamp(now)+","+new Timestamp(0)+","+s[2]+")");
با خطای زیر مواجه می شوم:
org.h2.jdbc.JdbcSQLException: Syntax error in SQL statement "INSERT INTO ATTENDANCE VALUES(10000,2015-05-15 20[*]:51:30.249,1970-01-01 03:30:00.0,0) "; expected "[, ::, *, /, %, +, -, ||, ~, !~, NOT, LIKE, REGEXP, IS, IN, BETWEEN, AND, OR, ,, )"; SQL statement:
INSERT INTO attendance VALUES(10000,2015-05-15 20:51:30.249,1970-01-01 03:30:00.0,0) [42001-187]
مشکل چیست؟