public class DefaultAttributeConverter extends Object implements AttributeConverter
| Constructor and Description |
|---|
DefaultAttributeConverter() |
| Modifier and Type | Method and Description |
|---|---|
Object |
convertToDatabaseColumn(Object attribute)
将实体属性值转换为数据库列的值。
|
Object |
convertToEntityAttribute(Object dbData)
将数据库列的值转换为实体属性值。
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisSkipConvertToDatabaseColumn, isSkipConvertToEntityAttributepublic Object convertToDatabaseColumn(Object attribute)
AttributeConverterconvertToDatabaseColumn in interface AttributeConverterattribute - 实体属性值public Object convertToEntityAttribute(Object dbData)
AttributeConverterconvertToEntityAttribute in interface AttributeConverterdbData - 数据库列值Copyright © 2024–2025 Dynamic-SQL. All rights reserved.