HHH-15415 Cleanup of JaxbXmlFormatMapper initialization

This commit is contained in:
Sanne Grinovero 2022-07-21 20:21:28 +01:00 committed by Sanne Grinovero
parent f6580ae520
commit 492b4aa540
1 changed files with 1 additions and 8 deletions

View File

@ -816,14 +816,7 @@ public class SessionFactoryOptionsBuilder implements SessionFactoryOptions {
if (jacksonFormatMapper != null) {
return jacksonFormatMapper;
}
try {
return new JaxbXmlFormatMapper();
}
catch (NoClassDefFoundError ex) {
// Ignore
}
return null;
return new JaxbXmlFormatMapper();
}
);
}