Class ReactiveTypeContributor

  • All Implemented Interfaces:
    org.hibernate.boot.model.TypeContributor

    public class ReactiveTypeContributor
    extends java.lang.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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void contribute​(org.hibernate.boot.model.TypeContributions typeContributions, org.hibernate.service.ServiceRegistry serviceRegistry)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ReactiveTypeContributor

        public ReactiveTypeContributor()
    • Method Detail

      • 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