java.lang.Object
org.apache.logging.log4j.core.appender.db.jpa.converter.MarkerAttributeConverter
- All Implemented Interfaces:
javax.persistence.AttributeConverter<Marker,String>
public class MarkerAttributeConverter
extends Object
implements javax.persistence.AttributeConverter<Marker,String>
A JPA 2.1 attribute converter for
Markers in
LogEvents. This
converter is capable of converting both to and from
Strings.
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
MarkerAttributeConverter
public MarkerAttributeConverter()
-
Method Details
-
convertToDatabaseColumn
- Specified by:
convertToDatabaseColumn in interface javax.persistence.AttributeConverter<Marker,String>
-
convertToEntityAttribute
- Specified by:
convertToEntityAttribute in interface javax.persistence.AttributeConverter<Marker,String>