Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 2993

Creating a table with liquibase xml using api java with context defined not working

$
0
0
Hi,
I need update my database with new changesets of one especific context. When a run my code, the liquibase runs normally, but the table is not created. Nothing error is showed, so it is very difficult to understand the problem. What do I doing wrong?

My code is:

  1. Connection connection = // my connection
  2. Database database = DatabaseFactory.getInstance().findCorrectDatabaseImplementation(new JdbcConnection(connection));
  3. Liquibase liquibase = new Liquibase("config/liquibase/master.xml", new ClassLoaderResourceAccessor(), database);
  4. liquibase.update( "TEST" );

Like a said, the liquibase runs but don't create my table from xml. I am using 3.4.1 for liquibase and java 8.

Viewing all articles
Browse latest Browse all 2993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>