Class JDBCValueMappings.ItemPropertyValueReaderWriter
- java.lang.Object
-
- de.hybris.platform.persistence.property.JDBCValueMappings.AbstractValueReaderWriter<ItemPropertyValue,ItemPropertyValue>
-
- de.hybris.platform.persistence.property.JDBCValueMappings.ItemPropertyValueReaderWriter
-
- All Implemented Interfaces:
JDBCValueMappings.PrimitiveValueReader
,JDBCValueMappings.PrimitiveValueWriter
,JDBCValueMappings.ValueReader<ItemPropertyValue,ItemPropertyValue>
,JDBCValueMappings.ValueWriter<ItemPropertyValue,ItemPropertyValue>
- Enclosing class:
- JDBCValueMappings
public static class JDBCValueMappings.ItemPropertyValueReaderWriter extends JDBCValueMappings.AbstractValueReaderWriter<ItemPropertyValue,ItemPropertyValue>
-
-
Constructor Summary
Constructors Constructor Description ItemPropertyValueReaderWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ItemPropertyValue
readValue(java.sql.ResultSet rs, int idx)
protected ItemPropertyValue
readValue(java.sql.ResultSet rs, java.lang.String fieldName)
protected void
writeValue(java.sql.PreparedStatement stmt, int fieldIndex, ItemPropertyValue value)
-
Methods inherited from class de.hybris.platform.persistence.property.JDBCValueMappings.AbstractValueReaderWriter
convertValueToJava, convertValueToSQL, getBoolean, getBoolean, getByte, getByte, getChar, getChar, getDouble, getDouble, getFloat, getFloat, getInt, getInt, getLong, getLong, getShort, getShort, getValue, getValue, setPrimitive, setPrimitive, setPrimitive, setPrimitive, setPrimitive, setPrimitive, setPrimitive, setPrimitive, setPrimitive, setValue, toString
-
-
-
-
Method Detail
-
readValue
protected final ItemPropertyValue readValue(java.sql.ResultSet rs, java.lang.String fieldName) throws java.sql.SQLException
- Specified by:
readValue
in classJDBCValueMappings.AbstractValueReaderWriter<ItemPropertyValue,ItemPropertyValue>
- Throws:
java.sql.SQLException
-
readValue
protected final ItemPropertyValue readValue(java.sql.ResultSet rs, int idx) throws java.sql.SQLException
- Specified by:
readValue
in classJDBCValueMappings.AbstractValueReaderWriter<ItemPropertyValue,ItemPropertyValue>
- Throws:
java.sql.SQLException
-
writeValue
protected final void writeValue(java.sql.PreparedStatement stmt, int fieldIndex, ItemPropertyValue value) throws java.sql.SQLException
- Specified by:
writeValue
in classJDBCValueMappings.AbstractValueReaderWriter<ItemPropertyValue,ItemPropertyValue>
- Throws:
java.sql.SQLException
-
-