Comments (3)
I've got the same exception
from liquibase-hibernate.
I've tried this code in debugger instead of null value in doDiffToChangeLog call
new CompareControl.SchemaComparison[]{new CompareControl.SchemaComparison(CatalogAndSchema.DEFAULT, CatalogAndSchema.DEFAULT)}
public static void doDiffToChangeLog(String changeLogFile,
Database referenceDatabase,
Database targetDatabase,
DiffOutputControl diffOutputControl,
String snapshotTypes)
throws LiquibaseException, IOException, ParserConfigurationException {
doDiffToChangeLog(changeLogFile, referenceDatabase, targetDatabase, diffOutputControl, snapshotTypes, null);
}
and now i'm getting BUILD SUCCESS and generated schema file
i think this minor fix must be presented in liquibase-core(CommandLineUtils.java) 3.2.1
from liquibase-hibernate.
I'm closing this issue since this appears to be a bug in liquibase-core, and there is now an issue for it in Liquibase JIRA:
https://liquibase.jira.com/browse/CORE-1936
Let's continue the discussion there.
from liquibase-hibernate.
Related Issues (20)
- diffChangeLog generates always an equal modifyDataType ChangeSet HOT 1
- Duplicated add/drop index SQL statements for adding/removing unique constraints HOT 1
- is 4.23.0+ not going to support Hibernate 5? HOT 3
- Liquibase diff not working from cli
- Maven plugin 'diff' generate addUniqueConstraint on PrimaryKey column HOT 1
- Hibernate 6.3.1 breaking changes HOT 3
- Database diff not considering column length HOT 1
- Broken hyperlink in the ReadMe
- Quarkus Support with liquibase-hibernate similar to Spring Bean HOT 1
- liquibase-hibernate6-4.25.0.jar contains classes from other libraries HOT 6
- Hibernet6 Enum type DDL issue HOT 2
- Wrong column type generated with diffChangelog
- HibernateSpringBeanDatabase cannot be loaded by service loader if Spring is not on classpath HOT 1
- org.liquibase.ext:liquibase-hibernate5:4.26.0 in the Maven HOT 1
- LocalTime (TIME) is not handled the same as TIMESTAMP
- NullPointerException for jsonb Postgres column
- java.lang.NullPointerException: Cannot invoke "java.sql.ResultSet.next()" because "schemas" is null HOT 1
- Primary Key Ordering with Hibernate >6.4
- Request for minimal example for integration with Spring Boot
- liquibase:generateChangeLog creates UUID properties as char(32) in changelog HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from liquibase-hibernate.