Opened 13 years ago

Closed 13 years ago

#1547 closed enhancement (fixed)

Get rid of unsafe Hibernate initialization

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: critical Milestone: BASE 2.17
Component: core Version:
Keywords: Cc:

Description

Our current implementation when initializing Hibernate is adding XML mappings files to a Configuration object and then manipulating some properties after that directly on PersistentClass instances. This is somewhat problematic since we depend on non-public parts of Hibernate (see #1489 for some more info). It would be better to instead manipulate the XML mappings files before they are passed to Hibernate. This should not be too difficult since Hibernate already has support for adding mappings as XML Document objects.

Change History (2)

comment:1 by Nicklas Nordborg, 13 years ago

Owner: changed from everyone to Nicklas Nordborg
Status: newassigned

comment:2 by Nicklas Nordborg, 13 years ago

Resolution: fixed
Status: assignedclosed

(In [5477]) Fixes #1547: Get rid of unsafe Hibernate initialization

Note: See TracTickets for help on using tickets.