Hi!! i´m MatiasI wanted to ask one question
¿how can i persist a LocalDateTime?
i can do this to persist the LocalDate
@javax.jdo.annotations.Persistent(defaultFetchGroup="true")private LocalDate 
dateLocal;
@javax.jdo.annotations.Column(allowsNull="false")public LocalDate 
getDateLocal() {      return datelLocal;}public void setFechaHora(LocalDate 
dateLocal) {              this.dateLocal = dateLocal;}
but i can´t persist LocalDateTime 
@javax.jdo.annotations.Persistent(defaultFetchGroup="true")private 
LocalDateTime dateLocal;
@javax.jdo.annotations.Column(allowsNull="false")public LocalDateTime 
getDateLocal() {  return dateLocal;}public void setFechaHora(LocalDateTime 
dateLocal) {           this.dateLocal = dateLocal;}                             
         

Reply via email to