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.

See:
          Description

Class Summary
ContextMapAttributeConverter A JPA 2.1 attribute converter for Map<String, String>s in LogEvents.
ContextMapJsonAttributeConverter A JPA 2.1 attribute converter for Map<String, String>s in LogEvents.
ContextStackAttributeConverter A JPA 2.1 attribute converter for ThreadContext.ContextStacks in LogEvents.
ContextStackJsonAttributeConverter A JPA 2.1 attribute converter for ThreadContext.ContextStacks in LogEvents.
LevelAttributeConverter A JPA 2.1 attribute converter for Levels in LogEvents.
MarkerAttributeConverter A JPA 2.1 attribute converter for Markers in LogEvents.
MessageAttributeConverter A JPA 2.1 attribute converter for Messages in LogEvents.
StackTraceElementAttributeConverter A JPA 2.1 attribute converter for StackTraceElements in LogEvents.
ThrowableAttributeConverter A JPA 2.1 attribute converter for Throwables in LogEvents.
 

Package org.apache.logging.log4j.core.appender.db.jpa.converter Description

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.



Copyright © 1999-2014 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.