Internal Website Search

1-3 of 3 results

javax.persistence.MapKeyTemporal

JPA Annotation MapKeyTemporal Target: METHOD, FIELD Implemented Interfaces: Annotation ... . It may only be specified for map keys of these types. The MapKeyTemporal annotation can be applied ... , OneToMany , or ManyToMany annotation. Example: @OneToMany @ MapKeyTemporal (DATE) protected java.util

javax.persistence.MapKeyTemporal.value

JPA Annotation Attribute in javax.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