Inicio
✉
Pregunta
Frecuentes 9 años, 4 meses
Visto 118 veces
0
118
I dont know what i am doing wrong. When I try to get Date from database i get only date without time ;/
I map that column like that:
<property name="dataAktualizacji" type="date"> <column name="DATA_AKTUALIZACJI" length="7" not-null="true" /> </property>
preguntado el 09 de septiembre de 13 a las 21:09
John Smith
Trata timestamp en lugar de date. - GriffeyDog
timestamp
date
length = 7 might be a problem. - Dan Bracuk
timestamp solved my problem :) thanks - John Smith
No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas java sql database oracle hibernate or haz tu propia pregunta.
Trata
timestamp
en lugar dedate
. - GriffeyDoglength = 7 might be a problem. - Dan Bracuk
timestamp solved my problem :) thanks - John Smith