public class InstantAttributeConverter extends Object implements javax.persistence.AttributeConverter<org.apache.logging.log4j.core.time.Instant,String>
Instants in LogEvents. This
converter is capable of converting both to and from Strings.| Constructor and Description |
|---|
InstantAttributeConverter() |
| Modifier and Type | Method and Description |
|---|---|
String |
convertToDatabaseColumn(org.apache.logging.log4j.core.time.Instant instant) |
org.apache.logging.log4j.core.time.Instant |
convertToEntityAttribute(String s) |
public InstantAttributeConverter()
public String convertToDatabaseColumn(org.apache.logging.log4j.core.time.Instant instant)
convertToDatabaseColumn in interface javax.persistence.AttributeConverter<org.apache.logging.log4j.core.time.Instant,String>public org.apache.logging.log4j.core.time.Instant convertToEntityAttribute(String s)
convertToEntityAttribute in interface javax.persistence.AttributeConverter<org.apache.logging.log4j.core.time.Instant,String>Copyright © 1999-2019 The Apache Software Foundation. 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.