|
While I understand that sentiment, something has to be a feature for it breaking to be a bug. Its a feature when either
-
its documented to work that way
-
tested to work that way
Neither of those hold true for this case. And Hibernate may have allowed the syntax to "go through", but I seriously doubt it "did the right thing". To me if you are casting a Date/time with a TZ to a Date/time without a TZ there is an explicit question about what should happen in terms of the TZ. At best Hibernate would use to simply ignore that.
Anyway, I'll reclassify this as an enhancement and leave it open for a bit to see if it gets votes.
|