javax.persistence.AttributeConverter<ReadOnlyStringMap,String>public class ContextDataJsonAttributeConverter extends Object implements javax.persistence.AttributeConverter<ReadOnlyStringMap,String>
ReadOnlyStringMaps in
LogEvents. This converter is capable of converting both to and from
Strings.
In addition to other optional dependencies required by the JPA appender, this converter requires the Jackson Data
Processor.| Constructor | Description |
|---|---|
ContextDataJsonAttributeConverter() |
| Modifier and Type | Method | Description |
|---|---|---|
String |
convertToDatabaseColumn(ReadOnlyStringMap contextData) |
|
ReadOnlyStringMap |
convertToEntityAttribute(String s) |
public String convertToDatabaseColumn(ReadOnlyStringMap contextData)
convertToDatabaseColumn in interface javax.persistence.AttributeConverter<ReadOnlyStringMap,String>public ReadOnlyStringMap convertToEntityAttribute(String s)
convertToEntityAttribute in interface javax.persistence.AttributeConverter<ReadOnlyStringMap,String>Copyright © 1999-2018. 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.