Class InsertPreparedStatementSetter
- java.lang.Object
-
- de.hybris.platform.directpersistence.setter.InsertPreparedStatementSetter
-
- All Implemented Interfaces:
org.springframework.jdbc.core.PreparedStatementSetter
- Direct Known Subclasses:
InsertPropsPreparedStatementSetter
public class InsertPreparedStatementSetter extends java.lang.Object implements org.springframework.jdbc.core.PreparedStatementSetter
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Set<ColumnPayload>changesprotected JDBCValueMappingsjdbcValueMapper
-
Constructor Summary
Constructors Constructor Description InsertPreparedStatementSetter(java.util.Set<ColumnPayload> changes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetValues(java.sql.PreparedStatement ps)protected voidsetValues(java.sql.PreparedStatement ps, java.util.Set<ColumnPayload> changes)java.lang.StringtoString()
-
-
-
Field Detail
-
jdbcValueMapper
protected final JDBCValueMappings jdbcValueMapper
-
changes
protected final java.util.Set<ColumnPayload> changes
-
-
Constructor Detail
-
InsertPreparedStatementSetter
public InsertPreparedStatementSetter(java.util.Set<ColumnPayload> changes)
-
-
Method Detail
-
setValues
public void setValues(java.sql.PreparedStatement ps) throws java.sql.SQLException- Specified by:
setValuesin interfaceorg.springframework.jdbc.core.PreparedStatementSetter- Throws:
java.sql.SQLException
-
setValues
protected void setValues(java.sql.PreparedStatement ps, java.util.Set<ColumnPayload> changes) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-