You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Noticed while building the Cultural Gauntlet's part 3 (#3834, PR #3947).
What: the generated VSAM repository entities map packed and zoned decimal fields to BigDecimal, with no @Column(precision = …, scale = …). Hibernate's DDL default is precision 38, scale 2, so a PIC S9(5)V9(4) field stored through the generated schema loses its last two decimal places. The schema forge knows the exact precision (parse_pic_precision, and #3910's currency-aware version), but the entity doesn't carry it.
Fix: emit @Column(precision = <digits>, scale = <decimals>) from the same PIC precision the schema forge uses, for every BigDecimal field of the VSAM entities and DTOs.
Test:S9(5)V9(4) gives precision = 9, scale = 4; a currency-edited field uses #3910's precision; a round-trip through H2 keeps 4 decimals.
Activity
#3950 test: no backslash inside an f-string expression (Python 3.9 / …
#3945 / #3946 / #3949 / #3950: generated Java reads KSDS files in key…