Opened 15 years ago
Closed 14 years ago
#1489 closed task (fixed)
Update to Hibernate 3.6
Reported by: | Nicklas Nordborg | Owned by: | Nicklas Nordborg |
---|---|---|---|
Priority: | critical | Milestone: | BASE 2.17 |
Component: | core | Version: | |
Keywords: | Cc: |
Description
I don't know when this will happen. Considering that Hibernate 3.5 was just released it is probably some time before this happens. The reason that I add this ticket now is that the Hibernate team is redesigning the type system and it is important that we don't miss this when we update to Hibernate 3.6.
The redesign started in Hibernate 3.5.2 which deprecated several classes/methods/constants (see #1488). This caused some issues in the BASE API and will require more changes once BASE is updated to use Hibernate 3.6.
Type.getHibernateType()
should be removedVirtualColumn.getType()
should be removedTypeWrapper
needs to be fixed since the use ofNullableType
no longer will work.Metadata.getPropertyPath()
needs to be fixed since the use ofImmutableType
no longer will work.
There are possible other issues that I am not aware of now or that may show up later if there are additional changes in the Hibernate code.
Change History (5)
comment:1 by , 14 years ago
Milestone: | BASE 2.x+ → BASE 2.17 |
---|
comment:2 by , 14 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 14 years ago
comment:4 by , 14 years ago
(In [5476]) References #1489: Update to Hibernate 3.6
Changed URL:s to DTD:s used in various Hibernate mappings files as described in http://opensource.atlassian.com/projects/hibernate/browse/HHH-5485
comment:5 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
(In [5475]) References #1489: Update to Hibernate 3.6
Type
andVirtualColumn
.HibernateUtil.init1()
andinit2()
methods due to changes in how the hibernate configuration works. I am not completely comfortable with our vulnerability to the inner workings of Hibernate.I would like to get rid of our manipulation of
PersistentClass
objects. It would be better to make our changes to the XML mapping files before we pass them on to Hibernate. But I'll add that as another ticket since, strictly speaking, it has nothing to do with this update.