ObjectDB Database Search
1-3 of 3 resultsAnnotationRef jakarta.persistence.MapKeyTemporal JPA Annotation MapKeyTemporal Target: METHOD, FIELD Implemented Interfaces: Annotation This annotation must be specified for persistent map keys of type java.util.Date and java.util.Calendar . It may only be specified for map keys of these types. The MapKeyTemporal annotation can be applied | |
AnnotationAttrRef jakarta.persistence.MapKeyTemporal.value JPA Annotation Attribute in jakarta.persistence. MapKeyTemporal TemporalType value default null (Required) The type used in mapping java.util.Date or java.util.Calendar . Since: JPA 2.0 | |
How to use JOIN FETCH?. MapKeyTemporal ; import javax.persistence.OneToMany; import javax.persistence.Persistence; import javax ... ; @OneToMany @ MapKeyTemporal (TemporalType.DATE) private Map addressHistory = new HashMap |