Quantcast
Channel: Liquibase Forums
Browsing all 2993 articles
Browse latest View live

Detecting Failed Change Sets During automated build process

I seem to be missing some very basic functionality using Liquibase.  I simply need my automated build process to FAIL whenever one of the sql changesets fail during execution.  No matter what i do,...

View Article


Re : Problem: Updateset timeout on huge databases

JDBC is unlikely to drop connections on timeout of 2 minutes (there is a default socketTimeout of 0 - never time out)Is that a JDBC connection timeout or MySQL config issue? Can you run the same update...

View Article


Re : Detecting Failed Change Sets During automated build process

Liquibase should return non-zero error codes for failures. Can you give me a bit more info on what you are running? Is it the liquibase 3.8.0 CLI running "update"? And, what database are you using?Nathan

View Article

Exception in thread "main" java.lang.NoClassDefFoundError:

java -jar ./liquibase.jar --driver=com.oracle.ojdbc8...

View Article

Re : Exception in thread "main" java.lang.NoClassDefFoundError:

You need to also include the "lib" directory that ships with Liquibase. You're looking for the lib directory that contains slf4j-api-1.7.25.jar, among other things.Let us know if that resolves the issue.

View Article


What is the advantage I will get by using liquibase instead of keeping SQL...

Hello,I need to know the advantages of using liquibaseliquibase uses XML file which is kept on git but I can still maintain raw SQL versioning on git.Also liquibase rollback also needs XML file even...

View Article

Re : Exception in thread "main" java.lang.NoClassDefFoundError:

I had included the self4j-api.1.7.25 as external jar when I had build it but still same error. Also tried the following tooD:\Liquibase3.8.0>set path=%path%;D:\Liquibase3.8.0\lib;java -jar...

View Article

Re : Exception in thread "main" java.lang.NoClassDefFoundError:

Rather than calling java directly, it is much easier to use the provided liquibase.bat file that ships with the liquibase zip file. That batch file will automatically build your classpath using the...

View Article


Re : What is the advantage I will get by using liquibase instead of keeping...

The first advantage is that liquibase keeps track of which SQL scripts (which in liquibase parlance are known as changesets) have been deployed to any given database instance, which if you are doing...

View Article


Re : Exception in thread "main" java.lang.NoClassDefFoundError:

liquibase   --classpath="C:\Users\Axxx\.m2\repository\com\oracle\ojdbc8\12.2.0.1\ojdbc8-12.2.0.1.jar;D:\Liquibase\liquibase\target\liquibase-0.0.1-SNAPSHOT.jar"...

View Article

Re : What is the advantage I will get by using liquibase instead of keeping...

Hello Steve,Good day!!Can I use SQL statements directly in liquibase & those SQL changes being tracked ?

View Article

Re : Exception in thread "main" java.lang.NoClassDefFoundError:

No it didn't resolve the issue. 

View Article

Re : What is the advantage I will get by using liquibase instead of keeping...

Yes, you can. There is a tutorial showing the basics of doing that at https://www.liquibase.org/quickstart.htmlAfter reading and following the first page, follow the link about using Liquibase with SQL...

View Article


Re : Exception in thread "main" java.lang.NoClassDefFoundError:

One way to see would be to edit the liquibase.bat file. The last line in liquibase.bat looks like this:java -cp "%CP%" %JAVA_OPTS% liquibase.integration.commandline.Main %CMD_LINE_ARGS%Change that to...

View Article

Re : Exception in thread "main" java.lang.NoClassDefFoundError:

Once again, Steve coming through with the real answers. Thanks, Steve!!!

View Article


Re : Exception in thread "main" java.lang.NoClassDefFoundError:

Roger. Spoke with Steve today and he's got you covered below. We should always listen to him and not me. 

View Article

Re : What is the advantage I will get by using liquibase instead of keeping...

Hey Steve,I tried  with  sql tag but it doesn't seems to be  provide  rollback feature.Writing  XML is the only way to get rollback option ?

View Article


throwing an error

<?xml version="1.0" encoding="UTF-8"?><databaseChangeLog    xmlns="http://www.liquibase.org/xml/ns/dbchangelog"    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"...

View Article

Re : What is the advantage I will get by using liquibase instead of keeping...

You can include rollback in sql formatted changelogs. There is some basic documentation at https://www.liquibase.org/documentation/sql_format.htmlSome discussion about different rollback options at...

View Article

Index Precondition performance on ORACLE

Hello,I am unsing the 3.6.3 version of liquibase on an Oracle database.When i use the index pre condition Liquibase is freezing and the freez can take more than one hour..Here my changeLog<?xml...

View Article
Browsing all 2993 articles
Browse latest View live


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