Hibernate version:2.1.4
Mapping documents:
Code:
<property name="dateArrivee" type="date"/>
Code between sessionFactory.openSession() and session.close():Full stack trace of any exception that occurs:Name and version of the database you are using:oracle 8.1.7The generated SQL (show_sql=true):
Code:
create table toto(
dateArrivee date
)
Debug level Hibernate log excerpt:
hello,
I have a problem with hibernate configuration and date type. I want to store date with format "dd/MM/yyyy HH:mm".
my java date is well formed (ex: 14/10/2004 14:15)but it seems that hibernate can't store hours and minutes.
in database, I have 10/14/2004 0:0:0 !!!!????
have i the right hibernate type in hbm file?
is there any manipulation on java date to do?
also, if I insert a well formed date in database, I retrieve it in bad format ie. 14/10/2004 00:00:00.0 ???!!
help me please !!!!!!!!
thanks for quickly answer.