All About Java

Java EE

JPA Temporal Types

JPA Temporal Types Temporal types are the set of time-based types which is used to represent datetime. It can be used in persistent state mappings. JPA supports following temporal types includes the three java.sql types: java.sql.Date, java.sql.Time, and java.sql.Timestamp And the two java.util types: java.util.Date and java.util.Calendar. The @Temporal annotation is used to specify the […]


Next posts