Class JodaTypeContributor
java.lang.Object
ch.tocco.nice2.persist.core.impl.hibernate.bootstrap.JodaTypeContributor
- All Implemented Interfaces:
org.hibernate.boot.model.TypeContributor
Registers the user types for
DateTime
and LocalDate
provided by the jadira library.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
contribute
(org.hibernate.boot.model.TypeContributions typeContributions, org.hibernate.service.ServiceRegistry serviceRegistry)
-
Constructor Details
-
JodaTypeContributor
public JodaTypeContributor()
-
-
Method Details
-
contribute
public void contribute(org.hibernate.boot.model.TypeContributions typeContributions, org.hibernate.service.ServiceRegistry serviceRegistry) - Specified by:
contribute
in interfaceorg.hibernate.boot.model.TypeContributor
-