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
Copy file name to clipboardExpand all lines: src/main/java/liquibase/ext/hibernate/snapshot/ColumnSnapshotGenerator.java
+48-29
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
packageliquibase.ext.hibernate.snapshot;
2
2
3
3
importjava.util.List;
4
+
importjava.util.Optional;
4
5
importjava.util.Properties;
5
6
importjava.util.regex.Matcher;
6
7
importjava.util.regex.Pattern;
@@ -11,6 +12,7 @@
11
12
importorg.hibernate.dialect.PostgreSQLDialect;
12
13
importorg.hibernate.id.ExportableColumn;
13
14
importorg.hibernate.mapping.SimpleValue;
15
+
importorg.hibernate.type.SqlTypes;
14
16
15
17
importliquibase.Scope;
16
18
importliquibase.datatype.DataTypeFactory;
@@ -28,8 +30,9 @@
28
30
importliquibase.util.SqlUtil;
29
31
importliquibase.util.StringUtil;
30
32
33
+
31
34
/**
32
-
* Columns are snapshotted along with with Tables in {@link TableSnapshotGenerator} but this class needs to be here to keep the default ColumnSnapshotGenerator from running.
35
+
* Columns are snapshotted along with Tables in {@link TableSnapshotGenerator} but this class needs to be here to keep the default ColumnSnapshotGenerator from running.
33
36
* Ideally the column logic would be moved out of the TableSnapshotGenerator to better work in situations where the object types to snapshot are being controlled, but that is not the case yet.
0 commit comments