spring-cloud-task
spring-cloud-task copied to clipboard
SqlServer: Invalid Object Name 'TASK_SEQ'
Hi,
I am using sql-server as my DB and using pre-defined schema as defined in https://github.com/spring-cloud/spring-cloud-task/blob/main/spring-cloud-task-core/src/main/resources/org/springframework/cloud/task/schema-sqlserver.sql
I think the query for TASK_SEQ is not correct, as I am not seeing any SEQUENCE created in the file. from : https://github.com/spring-cloud/spring-cloud-task/blob/main/spring-cloud-task-core/src/main/java/org/springframework/cloud/task/repository/support/TaskExecutionDaoFactoryBean.java we can see that TASK_SEQ needs to be created for TASK_EXECUTION Table's TASK_EXECUTION_ID.
What version of SqlServer and Task are you using?
@cppwfs Below are the versions I am currently using SqlServer : 9.4.1.jre8 Task : 2.2.3.RELEASE
Sorry for the delay in response. Please try Task 2.4.3.
Closing this issue due to lack of activity. If there is any additional information. Please comment. Thanks!