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 forReadOnlyStringMap
s inLogEvent
s.ContextDataJsonAttributeConverter A JPA 2.1 attribute converter forReadOnlyStringMap
s inLogEvent
s.ContextMapAttributeConverter A JPA 2.1 attribute converter forMap<String, String>
s inLogEvent
s.ContextMapJsonAttributeConverter A JPA 2.1 attribute converter forMap<String, String>
s inLogEvent
s.ContextStackAttributeConverter A JPA 2.1 attribute converter forThreadContext.ContextStack
s inLogEvent
s.ContextStackJsonAttributeConverter A JPA 2.1 attribute converter forThreadContext.ContextStack
s inLogEvent
s.LevelAttributeConverter MarkerAttributeConverter MessageAttributeConverter StackTraceElementAttributeConverter A JPA 2.1 attribute converter forStackTraceElement
s inLogEvent
s.ThrowableAttributeConverter A JPA 2.1 attribute converter forThrowable
s inLogEvent
s.