Given I have web application and enable liquibase updates with liquibase.enabled=true.
The application connects to Oracle db.
Let's say I have 2 users/schemas, one for deployment, second one for the application:
Application properties look like:
- liquibase.url=jdbc:oracle:thin:@localhost:1521:XE
- liquibase.user=appdeploy
- liquibase.password=appdeploy
- spring.datasource.url=jdbc:oracle:thin:@localhost:1521:XE
- spring.datasource.username=appuser
- spring.datasource.password=appuser
When I boot up the application (whereas liquibase update is executed) and I try to DROP USER appdeploy CASCADE;
Then I get ORA-01940: cannot drop a user that is currently connected
what indicates web application didn't release db connections