The spring boot application by default is connecting to derby embedded database as shown in the below statement.
Starting embedded database: url='jdbc:derby:memory:testdb;create=true', username='sa'
I don't know where it is picking the above url from
I need to connect weblogic oracle datasource I gave the following properties in the application.properties of the application but its not picking the below properties
spring.jpa.hibernate.ddl-auto=create-drop
# Oracle settings
spring.datasource.url=jdbc:oracle:thin:@//localhost:1521/XE
spring.datasource.username=system
spring.datasource.password=vasu
spring.datasource.driver-class-name=oracle.jdbc.driver.OracleDriver
Added the following entry in pom.xml
<dependency>
<groupId>com.github.noraui</groupId>
<artifactId>ojdbc7</artifactId>
<version>12.1.0.2</version>
</dependency>