Interface EmbeddableInstantiator

All Superinterfaces:
Instantiator
All Known Subinterfaces:
CompositeUserType<J>

@Incubating(since="5.4") @SPI({USE,IMPLEMENT,SUPPLY}) public interface EmbeddableInstantiator extends Instantiator

Instantiates embeddable values from the attribute values supplied by Hibernate.

Select an implementation for an embeddable using EmbeddableInstantiator.value(), or register it for an embeddable Java type using EmbeddableInstantiatorRegistration.instantiator().

See Also:
API Note:
Incubating until the proposed instantiate(IntFunction valueAccess) form can be implemented.
  • Method Details

    • instantiate

      Object instantiate(ValueAccess valueAccess)
      Create an instance of the embeddable