File tree Expand file tree Collapse file tree 6 files changed +10
-8
lines changed
hibernate-core/src/main/java/org/hibernate Expand file tree Collapse file tree 6 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 9
9
import oracle .sql .json .OracleJsonDatum ;
10
10
import oracle .sql .json .OracleJsonGenerator ;
11
11
12
+ import org .hibernate .dialect .type .OracleJsonArrayJdbcType ;
12
13
import org .hibernate .internal .CoreLogging ;
13
14
import org .hibernate .internal .CoreMessageLogger ;
14
15
import org .hibernate .metamodel .mapping .EmbeddableMappingType ;
22
23
import org .hibernate .type .descriptor .jdbc .BasicBinder ;
23
24
import org .hibernate .type .descriptor .jdbc .BasicExtractor ;
24
25
import org .hibernate .type .descriptor .jdbc .JdbcType ;
26
+ import org .hibernate .type .descriptor .jdbc .JsonHelper ;
25
27
import org .hibernate .type .descriptor .jdbc .JsonJdbcType ;
26
28
import org .hibernate .type .format .OsonDocumentReader ;
27
29
import org .hibernate .type .format .OsonDocumentWriter ;
Original file line number Diff line number Diff line change 9
9
import oracle .sql .json .OracleJsonDatum ;
10
10
import oracle .sql .json .OracleJsonFactory ;
11
11
import oracle .sql .json .OracleJsonGenerator ;
12
+ import org .hibernate .dialect .type .OracleJsonJdbcType ;
12
13
import org .hibernate .internal .CoreLogging ;
13
14
import org .hibernate .internal .CoreMessageLogger ;
14
15
import org .hibernate .metamodel .mapping .EmbeddableMappingType ;
20
21
import org .hibernate .type .descriptor .jdbc .AggregateJdbcType ;
21
22
import org .hibernate .type .descriptor .jdbc .BasicBinder ;
22
23
import org .hibernate .type .descriptor .jdbc .BasicExtractor ;
24
+ import org .hibernate .type .descriptor .jdbc .JsonHelper ;
23
25
import org .hibernate .type .format .OsonDocumentReader ;
24
26
import org .hibernate .type .format .OsonDocumentWriter ;
25
27
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ public class OracleJsonJdbcType extends OracleJsonBlobJdbcType {
24
24
*/
25
25
public static final OracleJsonJdbcType INSTANCE = new OracleJsonJdbcType ( null );
26
26
27
- OracleJsonJdbcType (EmbeddableMappingType embeddableMappingType ) {
27
+ protected OracleJsonJdbcType (EmbeddableMappingType embeddableMappingType ) {
28
28
super ( embeddableMappingType );
29
29
}
30
30
Original file line number Diff line number Diff line change 34
34
import org .hibernate .type .descriptor .WrapperOptions ;
35
35
import org .hibernate .type .descriptor .java .BasicPluralJavaType ;
36
36
import org .hibernate .type .descriptor .java .JavaType ;
37
- import org .hibernate .type .descriptor .jdbc .AggregateJdbcType ;
38
- import org .hibernate .type .descriptor .jdbc .ArrayJdbcType ;
39
- import org .hibernate .type .descriptor .jdbc .JdbcType ;
40
- import org .hibernate .type .descriptor .jdbc .JsonJdbcType ;
41
37
import org .hibernate .type .format .JsonDocumentItemType ;
42
38
import org .hibernate .type .format .JsonDocumentReader ;
43
39
import org .hibernate .type .format .JsonDocumentWriter ;
Original file line number Diff line number Diff line change @@ -129,6 +129,8 @@ private void moveStateMachine(StringJsonDocumentMarker marker) {
129
129
this .processingStates .push ( JsonProcessingState .ARRAY );
130
130
}
131
131
break ;
132
+ default :
133
+ throw new IllegalStateException ( "Unexpected JsonProcessingState " + marker );
132
134
}
133
135
}
134
136
Original file line number Diff line number Diff line change 4
4
*/
5
5
package org .hibernate .type .format ;
6
6
7
- import org .hibernate .dialect .StructAttributeValues ;
8
- import org .hibernate .dialect .StructHelper ;
9
7
import org .hibernate .internal .util .CharSequenceHelper ;
10
8
import org .hibernate .metamodel .mapping .EmbeddableMappingType ;
11
9
import org .hibernate .type .SqlTypes ;
19
17
import org .hibernate .type .descriptor .java .PrimitiveByteArrayJavaType ;
20
18
import org .hibernate .type .descriptor .jdbc .AggregateJdbcType ;
21
19
import org .hibernate .type .descriptor .jdbc .JdbcType ;
20
+ import org .hibernate .type .descriptor .jdbc .StructAttributeValues ;
21
+ import org .hibernate .type .descriptor .jdbc .StructHelper ;
22
22
23
23
import java .sql .SQLException ;
24
24
25
- import static org .hibernate .dialect .StructHelper .instantiate ;
25
+ import static org .hibernate .type . descriptor . jdbc .StructHelper .instantiate ;
26
26
27
27
/**
28
28
* JDBC type adapter for String-based JSON document reader.
You can’t perform that action at this time.
0 commit comments