Class Jsr310JpaConverters

java.lang.Object
org.springframework.data.jpa.convert.threeten.Jsr310JpaConverters

public class Jsr310JpaConverters extends Object
JPA 2.1 converters to turn JSR-310 types into legacy Dates. To activate these converters make sure your persistence provider detects them by including this class in the list of mapped classes. In Spring environments, you can simply register the package of this class (i.e. org.springframework.data.jpa.convert.threeten) as package to be scanned on e.g. the LocalContainerEntityManagerFactoryBean.
Author:
Oliver Gierke, Kevin Peters, Greg Turnquist
  • Constructor Details

    • Jsr310JpaConverters

      public Jsr310JpaConverters()