How can we help you today? How can we help you today?

Flyway support oracle with weblogic

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 ?
Mad_max
0

Comments

3 comments

  • Peter_Laws
    Hi Mad_max,

    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?
    Peter_Laws
    0
  • Mad_max
    I use Springboot to config Flyway (app.properties) but when I start application, Flyway does not seem to start.

    How can I use Springboot to act as a consolidating intermediary ?

    Mad_max
    0
  • Peter_Laws
    If flyway doesn't initiate, you might have a different problem to what we're discussing here?

    I was thinking you could use Spring's PropertyPlaceholderAutoConfiguration to pass your existing JNDI connection to flyway.
    Peter_Laws
    0

Add comment

Please sign in to leave a comment.