Class JDBCValueMappings.PKReaderWriter
- java.lang.Object
-
- de.hybris.platform.persistence.property.JDBCValueMappings.AbstractValueReaderWriter<PK,PK>
-
- de.hybris.platform.persistence.property.JDBCValueMappings.PKReaderWriter
-
- All Implemented Interfaces:
JDBCValueMappings.PrimitiveValueReader
,JDBCValueMappings.PrimitiveValueWriter
,JDBCValueMappings.ValueReader<PK,PK>
,JDBCValueMappings.ValueWriter<PK,PK>
- Enclosing class:
- JDBCValueMappings
public static class JDBCValueMappings.PKReaderWriter extends JDBCValueMappings.AbstractValueReaderWriter<PK,PK>
-
-
Constructor Summary
Constructors Constructor Description PKReaderWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PK
readValue(java.sql.ResultSet rs, int idx)
protected PK
readValue(java.sql.ResultSet rs, java.lang.String fieldName)
protected void
writeValue(java.sql.PreparedStatement stmt, int fieldIndex, PK 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 PK readValue(java.sql.ResultSet rs, java.lang.String fieldName) throws java.sql.SQLException
- Specified by:
readValue
in classJDBCValueMappings.AbstractValueReaderWriter<PK,PK>
- Throws:
java.sql.SQLException
-
readValue
protected final PK readValue(java.sql.ResultSet rs, int idx) throws java.sql.SQLException
- Specified by:
readValue
in classJDBCValueMappings.AbstractValueReaderWriter<PK,PK>
- Throws:
java.sql.SQLException
-
writeValue
protected final void writeValue(java.sql.PreparedStatement stmt, int fieldIndex, PK value) throws java.sql.SQLException
- Specified by:
writeValue
in classJDBCValueMappings.AbstractValueReaderWriter<PK,PK>
- Throws:
java.sql.SQLException
-
-