|
|
|
[
Permlink
| « Hide
]
Lutz Zimmermann - [25/Jun/04 03:18 PM ]
Bug was not fixed in release >=2.1.3
This patch changes mapping for Types.TIMESTAMP from DATE to TIMESTAMP
Fixed in Hibernate3 branch (not in Hibernate 2.1, since it could potentially break existing stuff).
Thanks Gavin, didn't think about that.
But really gave me good insight on Hibernate's "bowels" and my Colleagues Tefan & Methin some cosy hours in our customer's office (lights were out due to cost-containment) ;-) >> Gavin wrote: not in Hibernate 2.1, since it could potentially break existing stuff
Gavin, would you please elaborate on the "stuff" it could break? Is the workaround to simply define your Oracle columns as timestamp versus changing Oracle9Dialect.java? You can always customize the generated DDL by using <column sql-type="TIMESTAMP"/>.
I mean, it will change people's existing Oracle schemas, which is unacceptable in a point release. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||