java.lang.Object
org.apache.logging.log4j.core.appender.db.jpa.converter.LevelAttributeConverter
- All Implemented Interfaces:
javax.persistence.AttributeConverter<Level,String>
public class LevelAttributeConverter
extends Object
implements javax.persistence.AttributeConverter<Level,String>
A JPA 2.1 attribute converter for
Level
s in
LogEvent
s. This
converter is capable of converting both to and from
String
s.
-
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
-
LevelAttributeConverter
public LevelAttributeConverter()
-
Method Details
-
convertToDatabaseColumn
- Specified by:
convertToDatabaseColumn
in interface javax.persistence.AttributeConverter<Level,String>
-
convertToEntityAttribute
- Specified by:
convertToEntityAttribute
in interface javax.persistence.AttributeConverter<Level,String>