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
I'm using liquibase-hibernate3 version 3.3
I encountered this problem.
In class liquibase.ext.hibernate.snapshot.TableSnapshotGenerator. On line 82
primaryKey.setName(table.getPrimaryKey().getName());
, the "table.getPrimaryKey()" statement returns null, ans thus it throws an NPE and the liquibase operation fails.
When replacing this line with
primaryKey.setName(column.getName());
It work better (but not sure at all of potential negative impacts)
Thank's for your job!
The text was updated successfully, but these errors were encountered:
Hi
I'm using liquibase-hibernate3 version 3.3
I encountered this problem.
In class liquibase.ext.hibernate.snapshot.TableSnapshotGenerator. On line 82
primaryKey.setName(table.getPrimaryKey().getName());
, the "table.getPrimaryKey()" statement returns null, ans thus it throws an NPE and the liquibase operation fails.
When replacing this line with
primaryKey.setName(column.getName());
It work better (but not sure at all of potential negative impacts)
Thank's for your job!
The text was updated successfully, but these errors were encountered: