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