Hi,every one!
I Use Hibernate3.0.5 to insert a data to oracle,the Action is very successful,but when i select that the time field from oracle9I,i find some question.
The time field of oracle is date type,Hibernate map the oracle date field to java.text.date variable,but some bug in the java.text.date. The java.text.date variable can't reserve the Hour info,can't reserve the minute info,can't reserve the second info.when i select the field of oracle:
Code:
select to_date(t.datefieldname,'yyyymmdd hh24miss') from sometablename;
the Result:
20050803
000000
How can i resolve this question?How can i write the Hour,minute,second info to the date field of oracle!!!!
thanks for you help!