|
4 | 4 | */
|
5 | 5 | package org.hibernate.graalvm.internal;
|
6 | 6 |
|
7 |
| -import java.util.List; |
8 |
| -import java.util.Map; |
9 |
| -import java.util.function.Function; |
10 |
| -import java.util.function.Supplier; |
11 | 7 |
|
12 |
| -import org.hibernate.graph.internal.parse.SubGraphGenerator; |
13 |
| -import org.hibernate.graph.spi.AttributeNodeImplementor; |
14 |
| -import org.hibernate.graph.spi.GraphImplementor; |
15 |
| -import org.hibernate.query.hql.spi.DotIdentifierConsumer; |
16 |
| -import org.hibernate.query.hql.spi.SqmCreationProcessingState; |
17 |
| -import org.hibernate.query.sqm.spi.ParameterDeclarationContext; |
18 |
| -import org.hibernate.query.sqm.sql.FromClauseIndex; |
19 |
| -import org.hibernate.sql.ast.Clause; |
20 |
| -import org.hibernate.sql.ast.spi.SqlAstProcessingState; |
21 |
| -import org.hibernate.sql.ast.tree.Statement; |
22 |
| -import org.hibernate.sql.ast.tree.select.QueryPart; |
23 |
| -import org.hibernate.sql.results.graph.FetchParent; |
24 |
| -import org.hibernate.sql.results.jdbc.spi.JdbcValuesSourceProcessingState; |
25 | 8 | import org.hibernate.tool.schema.internal.script.MultiLineSqlScriptExtractor;
|
26 | 9 | import org.hibernate.type.EnumType;
|
27 | 10 |
|
@@ -94,25 +77,6 @@ public static Class[] typesNeedingArrayCopy() {
|
94 | 77 | org.hibernate.event.spi.PostCollectionRecreateEventListener[].class,
|
95 | 78 | org.hibernate.event.spi.PostCollectionRemoveEventListener[].class,
|
96 | 79 | org.hibernate.event.spi.PostCollectionUpdateEventListener[].class,
|
97 |
| - //And other array types, necessary for allocation of generified instances of org.hibernate.internal.util.collections.StandardStack: |
98 |
| - //TODO can this list be tested for consistency with the core module? Or generated? e.g. could use Jandex? |
99 |
| - AttributeNodeImplementor[].class, |
100 |
| - Clause[].class, |
101 |
| - DotIdentifierConsumer[].class, |
102 |
| - FetchParent[].class, |
103 |
| - FromClauseIndex[].class, |
104 |
| - Function[].class, |
105 |
| - GraphImplementor[].class, |
106 |
| - JdbcValuesSourceProcessingState[].class, |
107 |
| - List[].class, |
108 |
| - Map.Entry[].class, |
109 |
| - ParameterDeclarationContext[].class, |
110 |
| - QueryPart[].class, |
111 |
| - SqlAstProcessingState[].class, |
112 |
| - SqmCreationProcessingState[].class, |
113 |
| - Statement[].class, |
114 |
| - SubGraphGenerator[].class, |
115 |
| - Supplier[].class, |
116 | 80 | };
|
117 | 81 | }
|
118 | 82 |
|
|
0 commit comments