1
I created a Python/Django app and published it in Heroku. (My database)
Now I have a Java/Spring Boot API that is also in Heroku. (Rest API) But it connects in the base created by Django which is also in Heroku.
I put in my application.properties
that:
spring.datasource.url=${JDBC_HEROKU_POSTGRESQL_OLIVE_URL:jdbc:sqlite:/home/leonardo/Github/tercalivre/tercalivre-orm/db.sqlite3}
In other words, when I am developing I use Django’s Sqlite same. And when I will publish use postgresql.
Localhost works, but when calling the API in Heroku this error occurs:
"could not extract ResultSet; SQL [n/a]; nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet",
Am I doing something wrong?
I’ve already done the attach