You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all!
I'm just starting a project with Maven+Spring+HIbernate+JPA+liquibase and want for a complete integration.
In my pom I'm using liquibase-maven-plugin 3.1.0, liquibase-hibernate4 3.2 and the latest core.
I've found when I run a liquibase:dif I got a NullPointerException at line 30 in liquibase.database.jvm.JdbcConnection.
I this place when attach the Database, add the SQLKeybwords to the ReservedWords obtained from the HibernateConnectionMetadata.. but the getSQLKeywords always will return null, it's hardcoded, so always will fail... isn't it?
The specific line is
database.addReservedWords(Arrays.asList(this.getWrappedConnection().getMetaData().getSQLKeywords().toUpperCase().split(",\s*")));
So.. I asked. there any work-arround, or planned to change this for new releases?
Thanks in advance!!
The text was updated successfully, but these errors were encountered:
The same goes for liquibase-hibernate3 3.2. The workaround I found was to go back to liquibase-maven-plugin 3.0.8. In that version getSqlkeywords() is not yet used.
Hi all!
I'm just starting a project with Maven+Spring+HIbernate+JPA+liquibase and want for a complete integration.
In my pom I'm using liquibase-maven-plugin 3.1.0, liquibase-hibernate4 3.2 and the latest core.
I've found when I run a liquibase:dif I got a NullPointerException at line 30 in liquibase.database.jvm.JdbcConnection.
I this place when attach the Database, add the SQLKeybwords to the ReservedWords obtained from the HibernateConnectionMetadata.. but the getSQLKeywords always will return null, it's hardcoded, so always will fail... isn't it?
The specific line is
database.addReservedWords(Arrays.asList(this.getWrappedConnection().getMetaData().getSQLKeywords().toUpperCase().split(",\s*")));
So.. I asked. there any work-arround, or planned to change this for new releases?
Thanks in advance!!
The text was updated successfully, but these errors were encountered: