public class LocalTimeToTimeAttributeConverter extends Object implements javax.persistence.AttributeConverter<LocalTime,Time>
AttributeConverter to enable LocalTime data type for entity attributes.
This converter is automatically applyed if present in the ORM auto-scan package list.
Attribute values are expected to be backed by a Time-compatible SQL type in database.
| Constructor and Description |
|---|
LocalTimeToTimeAttributeConverter() |
| Modifier and Type | Method and Description |
|---|---|
Time |
convertToDatabaseColumn(LocalTime attribute) |
LocalTime |
convertToEntityAttribute(Time dbData) |
Copyright © 2019 The Holon Platform. All rights reserved.