Joined: Wed Feb 16, 2005 10:40 am Posts: 1
|
Hi All,
Is it possible to map a custom class of mine CalendarDate directly to date hibernate type.
Why ?
Because I would like the efficiency of SQL Oracle date management but I don't want to use Java Date because as they are TimeZone sensitive.
The solution I'm using is :
- not saving CalendarDate
- saving instead java date with always the same TimeZone.
- converting java date to CalendarDate
Any advice would be welcome.
Thanks
Joel
Hibernate version: 2.1.7
Mapping documents:none
Code between sessionFactory.openSession() and session.close():none
Full stack trace of any exception that occurs:none
Name and version of the database you are using:Oracle 9i
The generated SQL (show_sql=true):none
Debug level Hibernate log excerpt:not applicable
|
|