java.lang.Object
org.apache.logging.log4j.core.appender.db.jpa.converter.MessageAttributeConverter
- All Implemented Interfaces:
javax.persistence.AttributeConverter<Message,String>
public class MessageAttributeConverter
extends Object
implements javax.persistence.AttributeConverter<Message,String>
A JPA 2.1 attribute converter for
Message
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
-
MessageAttributeConverter
public MessageAttributeConverter()
-
Method Details
-
convertToDatabaseColumn
- Specified by:
convertToDatabaseColumn
in interface javax.persistence.AttributeConverter<Message,String>
-
convertToEntityAttribute
- Specified by:
convertToEntityAttribute
in interface javax.persistence.AttributeConverter<Message,String>