Skip to content

Commit 3082549

Browse files
gavinkingyrodiere
andcommitted
Update migration-guide.adoc
Co-authored-by: Yoann Rodière <[email protected]>
1 parent b3b543a commit 3082549

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

migration-guide.adoc

+3-1
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,9 @@ was removed in favor of `org.hibernate.metamodel.MappingMetmodel` or `org.hibern
331331
* Removed `AdditionalJaxbMappingProducer` in favor of `AdditionalMappingContributor`.
332332
* Removed `MetadataContributor` in favor of `AdditionalMappingContributor`
333333
* Removed incubating `setOrder()` from `SelectionQuery()` in favor of `SelectionSpecification.sort()`
334-
* `PostgreSQLIntervalSecondJdbcType` was moved to an internal package--use `@JdbcTypeCode(INTERVAL_SECOND)`
334+
* Various JDBC types were moved to an internal package -- use `@JdbcTypeCode` instead of `@JdbcType` to map your attributes to these types.
335+
For example use `@JdbcTypeCode(SqlTypes.INTERVAL_SECOND)` instead of `@JdbcType(PostgreSQLIntervalSecondJdbcType.class)`.
336+
Other moved types include `PostgreSQLEnumJdbcType`, `PostgreSQLOrdinalEnumJdbcType`, `PostgreSQLUUIDJdbcType`, `DB2StructJdbcType`, `H2DurationIntervalSecondJdbcType`, `H2JsonJdbcType`, `OracleBooleanJdbcType`, `OracleEnumJdbcType`, `OracleJsonJdbcType`, `OracleOrdinalEnumJdbcType`, `OracleReflectionStructJdbcType`, `OracleXmlJdbcType`.
335337

336338

337339

0 commit comments

Comments
 (0)