Commit 6bc18e5
committed
fix(webauthn): use Length.LONG32 for byte[] columns to fix MariaDB row size limit (#286)
VARBINARY(65535) columns exceed MariaDB's InnoDB 65,535-byte row size
limit, causing silent table creation failure with ddl-auto: update.
Length.LONG32 causes Hibernate to auto-upgrade to LONGBLOB on MariaDB
(stored off-page) and stays as bytea on PostgreSQL (no OID issues).
Avoids @lob which maps to OID on PostgreSQL per Hibernate docs.1 parent b441cb5 commit 6bc18e5
1 file changed
Lines changed: 4 additions & 3 deletions
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
33 | | - | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
61 | | - | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
65 | | - | |
| 66 | + | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
| |||
0 commit comments