HHH-15415 Cleanup of JaxbXmlFormatMapper initialization
This commit is contained in:
parent
f6580ae520
commit
492b4aa540
|
@ -816,15 +816,8 @@ public class SessionFactoryOptionsBuilder implements SessionFactoryOptions {
|
|||
if (jacksonFormatMapper != null) {
|
||||
return jacksonFormatMapper;
|
||||
}
|
||||
|
||||
try {
|
||||
return new JaxbXmlFormatMapper();
|
||||
}
|
||||
catch (NoClassDefFoundError ex) {
|
||||
// Ignore
|
||||
}
|
||||
return null;
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue