Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

Error while running with Sql sever data source and maven build.(batch-boot-file-to-db) #3

Open
b4uazam opened this issue Sep 1, 2018 · 1 comment

Comments

@b4uazam
Copy link

b4uazam commented Sep 1, 2018

Hi Josh,
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 serer datasource successfully

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'.

@b4uazam b4uazam changed the title Error while running with Sql sever data source and maven build. Error while running with Sql sever data source and maven build.(batch-boot-file-to-db) Sep 1, 2018
@abhinandanmadaan
Copy link

Hi @b4uazam I'm facing a similar issue. Did you find a solution to it?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants