Fixed
Details
Assignee
Zhen QianZhen QianReporter
Zhen QianZhen QianComponents
Fix versions
Affects versions
Priority
Major
Details
Details
Assignee
Zhen Qian
Zhen QianReporter
Zhen Qian
Zhen QianComponents
Fix versions
Affects versions
Priority
Created October 15, 2012 at 11:24 AM
Updated July 31, 2013 at 11:57 AM
Resolved October 15, 2012 at 11:33 AM
The insert.TaskLock query is defined as the following now in 1.0.2_RC02:
insert.TaskLock = insert into dash_task_lock (id, task, server_id, claim_time, last_update) values (dash_task_lock_seq, ?, ?, ?, ?)1
where dash_task_lock_seq.NEXTVAL should be used instead.
The correct setting results the following error in the app log:
2012-10-15 13:36:17,511 WARN Dashboard Event Processing Thread org.sakaiproject.dash.dao.impl.DashboardDaoImpl - addTaskLock: Error executing query: class org.springframework.jdbc.BadSqlGrammarException:PreparedStatementCallback; bad SQL grammar [insert into dash_task_lock (id, task, server_id, claim_time, last_update) values (dash_task_lock_seq, ?, ?, ?, ?)]; nested exception is java.sql.SQLSyntaxErrorException: ORA-00984: column not allowed here