|
I think this is clearly not a bug in Hibernate. The types are not equal (because the database is not returning the correct type).
But I think this is part of something I'd like to do in Hibernate later which is to be "smarter" about these type validations. Think "assignable from" versus "equal".
|