Class ReactiveTypeContributor

java.lang.Object
org.hibernate.reactive.provider.impl.ReactiveTypeContributor
All Implemented Interfaces:
org.hibernate.boot.model.TypeContributor

public class ReactiveTypeContributor extends Object implements org.hibernate.boot.model.TypeContributor
Overrides Hibernate's built-in `materialized_blob` and `materialized_clob` type mappings and replaces them with the same handling as regular byte arrays and strings, since the SqlClient doesn't support any special handling for LOBs. This is only applied if the Hibernate ORM instance we're registering with is marked as being reactive.
  • Constructor Details

    • ReactiveTypeContributor

      public ReactiveTypeContributor()
  • Method Details

    • contribute

      public void contribute(org.hibernate.boot.model.TypeContributions typeContributions, org.hibernate.service.ServiceRegistry serviceRegistry)
      Specified by:
      contribute in interface org.hibernate.boot.model.TypeContributor