|
5 | 5 | */
|
6 | 6 | package org.hibernate.reactive.provider.service;
|
7 | 7 |
|
| 8 | +import java.lang.invoke.MethodHandles; |
8 | 9 | import java.sql.ResultSet;
|
9 | 10 | import java.sql.SQLException;
|
10 | 11 | import java.util.ArrayList;
|
|
14 | 15 | import org.hibernate.boot.model.TruthValue;
|
15 | 16 | import org.hibernate.boot.model.naming.DatabaseIdentifier;
|
16 | 17 | import org.hibernate.boot.model.naming.Identifier;
|
| 18 | +import org.hibernate.reactive.logging.impl.Log; |
| 19 | +import org.hibernate.reactive.logging.impl.LoggerFactory; |
17 | 20 | import org.hibernate.tool.schema.extract.internal.AbstractInformationExtractorImpl;
|
18 | 21 | import org.hibernate.tool.schema.extract.internal.ColumnInformationImpl;
|
19 | 22 | import org.hibernate.tool.schema.extract.spi.ColumnInformation;
|
|
29 | 32 | */
|
30 | 33 | public abstract class AbstractReactiveInformationSchemaBasedExtractorImpl extends AbstractInformationExtractorImpl {
|
31 | 34 |
|
| 35 | + private static final Log LOG = LoggerFactory.make( Log.class, MethodHandles.lookup() ); |
| 36 | + |
32 | 37 | public AbstractReactiveInformationSchemaBasedExtractorImpl(ExtractionContext extractionContext) {
|
33 | 38 | super( extractionContext );
|
34 | 39 | }
|
@@ -154,6 +159,20 @@ protected <T> T processCatalogsResultSet(ExtractionContext.ResultSetProcessor<T>
|
154 | 159 | );
|
155 | 160 | }
|
156 | 161 |
|
| 162 | + @Override |
| 163 | + protected <T> T processCrossReferenceResultSet( |
| 164 | + String parentCatalog, |
| 165 | + String parentSchema, |
| 166 | + String parentTable, |
| 167 | + String foreignCatalog, |
| 168 | + String foreignSchema, |
| 169 | + String foreignTable, |
| 170 | + ExtractionContext.ResultSetProcessor<T> processor) { |
| 171 | + // This method has been added as fix for https://hibernate.atlassian.net/browse/HHH-18221 |
| 172 | + // The issue is only for Informix that we don't currently support. |
| 173 | + throw LOG.notYetImplemented(); |
| 174 | + } |
| 175 | + |
157 | 176 | @Override
|
158 | 177 | protected <T> T processSchemaResultSet(
|
159 | 178 | String catalog,
|
|
0 commit comments