Flyway support oracle with weblogic
Mad_max
Posts: 2 New member
Hi guys ! I have a Maven application which runs with Oracle database and Weblogic as a server. My connection to database is realized by a datasource created from Weblogic(JNDI). As a pom.xml dependencies i have flyway-core 8.0.0 and flyway-database-oracle 9.21.2 . How can i realize a Flyway configuration with Oracle and JNDI connection with database ?
Tagged:
Comments
Not natively I believe, the only instance I've seen of this is where Springboot is being used which acts a consolidating intermediary.
Was your goal to explicitly use the same connection as the one that's already established or just to reuse the connection details?
How can I use Springboot to act as a consolidating intermediary ?
I was thinking you could use Spring's PropertyPlaceholderAutoConfiguration to pass your existing JNDI connection to flyway.