Skip to content

Commit 65f785c

Browse files
committed
HHH-18854 Change scopes of methods in AbstractInformationExtractorImpl
Hibernate Reactive extends this class and needs to access/overrides some of the methods.
1 parent dd80b3e commit 65f785c

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

hibernate-core/src/main/java/org/hibernate/tool/schema/extract/internal/AbstractInformationExtractorImpl.java

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,10 @@ private void populateTablesWithColumns(
638638
}
639639
}
640640

641-
private ColumnInformationImpl columnInformation(TableInformation tableInformation, ResultSet resultSet)
641+
/*
642+
* Hibernate Reactive overrides this
643+
*/
644+
protected ColumnInformationImpl columnInformation(TableInformation tableInformation, ResultSet resultSet)
642645
throws SQLException {
643646
return new ColumnInformationImpl(
644647
tableInformation,
@@ -864,7 +867,10 @@ protected void addColumns(TableInformation tableInformation) {
864867
}
865868
}
866869

867-
private Boolean interpretTruthValue(String nullable) {
870+
/*
871+
* Used by Hibernate Reactive
872+
*/
873+
protected Boolean interpretTruthValue(String nullable) {
868874
if ( "yes".equalsIgnoreCase( nullable ) ) {
869875
return Boolean.TRUE;
870876
}

0 commit comments

Comments
 (0)