public class DefaultAttributeConverter extends Object implements AttributeConverter
| 构造器和说明 |
|---|
DefaultAttributeConverter() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 AttributeConverterattribute - 实体属性值public Object convertToEntityAttribute(Object dbData)
AttributeConverterconvertToEntityAttribute 在接口中 AttributeConverterdbData - 数据库列值Copyright © 2024–2025 Dynamic-SQL. All rights reserved.