Package org.apache.logging.log4j.core.appender.db.jpa.converter
The converters in this package implement the JPA 2.1 mechanism for converting non-standard types to and from
database fields. Most of these types are capable of two-way conversion and can be used to both persist and retrieve
entities. The
ContextMapAttributeConverter
and ContextStackAttributeConverter
only support persistence and not retrieval, persisting the type as a simple string. You can use the
ContextMapJsonAttributeConverter
and ContextStackJsonAttributeConverter
instead, which require the Jackson Data Processor dependency to also be on your class path.-
Class Summary Class Description ContextDataAttributeConverter A JPA 2.1 attribute converter forReadOnlyStringMaps inLogEvents.ContextDataJsonAttributeConverter A JPA 2.1 attribute converter forReadOnlyStringMaps inLogEvents.ContextMapAttributeConverter A JPA 2.1 attribute converter forMap<String, String>s inLogEvents.ContextMapJsonAttributeConverter A JPA 2.1 attribute converter forMap<String, String>s inLogEvents.ContextStackAttributeConverter A JPA 2.1 attribute converter forThreadContext.ContextStacks inLogEvents.ContextStackJsonAttributeConverter A JPA 2.1 attribute converter forThreadContext.ContextStacks inLogEvents.LevelAttributeConverter MarkerAttributeConverter MessageAttributeConverter StackTraceElementAttributeConverter A JPA 2.1 attribute converter forStackTraceElements inLogEvents.ThrowableAttributeConverter A JPA 2.1 attribute converter forThrowables inLogEvents.