HHH-15415 Cleanup of JaxbXmlFormatMapper initialization
This commit is contained in:
parent
f6580ae520
commit
492b4aa540
|
@ -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();
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue