public class ContextMapAttributeConverter extends Object implements javax.persistence.AttributeConverter<Map<String,String>,String>
Map<String, String>
s in
LogEvent
s. This converter is only capable of converting to String
s. The
convertToEntityAttribute(String)
method throws an UnsupportedOperationException
. If you need to
support converting to an entity attribute, you should use the ContextMapJsonAttributeConverter
for conversion
both ways.Constructor and Description |
---|
ContextMapAttributeConverter() |
Modifier and Type | Method and Description |
---|---|
String |
convertToDatabaseColumn(Map<String,String> contextMap) |
Map<String,String> |
convertToEntityAttribute(String s) |
Copyright © 1999-2017. 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.