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