I created a Python / Django app and published it on Heroku. (My database)
Now I have a Java / Spring Boot API that is also in heroku. (Rest API) But it connects to the base created by Django that is also in heroku.
I put in my application.properties
this:
spring.datasource.url=${JDBC_HEROKU_POSTGRESQL_OLIVE_URL:jdbc:sqlite:/home/leonardo/Github/tercalivre/tercalivre-orm/db.sqlite3}
That is, how much I'm developing I use Django's SQLite itself. And when I will post 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 already did attach