Adding pre-parsed Binding<?> instance to MetadataSources

Description

MetadataSources currently allows adding orm.xml/hbm.xml files to be parsed, using their path or an input stream. It also exposes a XmlMappingBinderAccess, allowing us to parse such a file ourselves.

But it does not allow us to add that pre-parsed file to the metadata sources. That would be as easy as exposing a three-line method, and integrators would benefit from this because they would then be able to parse files ahead of time (i.e. at compile time) and to skip parsing at runtime.

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

Created March 24, 2021 at 1:16 PM
Updated April 30, 2021 at 12:14 PM
Resolved April 15, 2021 at 12:02 PM