You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
656 B
14 lines
656 B
Runtime failure evidence
|
|
=======================
|
|
Task: manual application startup from IntelliJ
|
|
Symptom: Hibernate SessionFactory build failed
|
|
Column: occupation_skills.importance_is_proxy
|
|
Found: bit (Types#BIT)
|
|
Expected: tinyint (Types#TINYINT)
|
|
Root cause: OccupationSkill.importanceIsProxy is explicitly forced to SqlTypes.TINYINT, unlike existing Boolean mappings.
|
|
|
|
Attempt 2 evidence
|
|
==================
|
|
Removing @JdbcTypeCode(TINYINT) alone fixed the MySQL expectation but broke H2 schema validation:
|
|
found tinyint, expected boolean.
|
|
Conclusion: the column must be normalized to a cross-dialect BOOLEAN/BIT form, without modifying already-applied V35.
|
|
|