Skip to content

Error with running sql server datasource. #1

@b4uazam

Description

@b4uazam

Hi Michaelc,
Thanks for your code share, We are running application with spring boot 2.0.4, on Eclipse IDE maven build with the Sql server datasource, getting below error. Did you tried this application by runnign with the sql server datasource? Please share the code base if you able to run this with sql server datasource successfully. Thanks in advance

o.s.boot.autoconfigure.jdbc.Datasource.initailizer disabled(not running DDL scripts)

at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
Caused by: org.springframework.jdbc.BadSqlGrammarException: PreparedStatementCallback; bad SQL grammar [SELECT JOB_INSTANCE_ID, JOB_NAME from BATCH_JOB_INSTANCE
where JOB_NAME = ? order by JOB_INSTANCE_ID desc]; nested exception is java.sql.SQLServerException: Invalid object name 'BATCH_JOB_INSTANCE'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions