Beginner |
|
Joined: Fri Jan 16, 2004 11:05 am Posts: 33
|
Hibernate version:
2.1.2
Oracle 8.1.5 does not provide a means to store and retrieve timestamps that have precision to microseconds. To solve this problem we have added micros columns to store this data. In DB2 and Oracle 9 and 10, the precision is there and the extra columns have been removed.
I can not change the tables to add or remove these columns, but I would like to have one code set that can access either databases. In our C++ code we handle these differences at the db layer. Any suggestions on how to do this with Hibernate?
Just to clarify this code is written to access tables that are primarly used by a C++ application.
Thanks for any information.
Travis Zimmerman
|
|