I faced this issue too. To support both PostgreSQL and SQL Server, I switched from JsonBinaryType to JsonType and removed the PostgreSQL-specific columnDefinition = "jsonb"
By using jsonType
and omitting database-specific definitions, the same entity worked seamlessly across both databases.