0

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>
3
  • 1
    Try timestamp instead of date.
    – GriffeyDog
    Sep 9, 2013 at 20:42
  • length = 7 might be a problem.
    – Dan Bracuk
    Sep 9, 2013 at 21:52
  • timestamp solved my problem :) thanks
    – John Smith
    Sep 10, 2013 at 8:11

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.