Skip to content

Commit 8b7d58d

Browse files
committed
HHH-9955 - EnumType mapped via hbm.xml not always resolved properly as far as named/ordinal
1 parent e678a5b commit 8b7d58d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

working-5.0-migration-guide.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ Working list of changes for 5.0
3535
enum names; this is more consistent with other Hibernate settings
3636
* For ids defined as UUID with generation, for some databases it is required to explicitly set the `@Column( length=16 )`
3737
in order to generate BINARY(16) so that comparisons properly work.
38+
* For EnumType mappings defined in hbm.xml where the user wants name-mapping (`javax.persistence.EnumType#STRING`)
39+
the configuration must explicitly state that using either the `useNamed` (true) setting or by specifying the `type`
40+
setting set to the value 12 (VARCHAR JDBC type code).
41+
3842

3943
TODOs
4044
=====

0 commit comments

Comments
 (0)