Class InsertUserEvent

java.lang.Object
net.solarnetwork.central.common.dao.jdbc.sql.InsertUserEvent
All Implemented Interfaces:
org.springframework.jdbc.core.PreparedStatementCreator, org.springframework.jdbc.core.SqlProvider

public class InsertUserEvent extends Object implements org.springframework.jdbc.core.PreparedStatementCreator, org.springframework.jdbc.core.SqlProvider
Insert UserEvent entities.
  • Constructor Details

    • InsertUserEvent

      public InsertUserEvent(UserEvent event)
      Constructor.
      Parameters:
      event - the event to insert
  • Method Details

    • getSql

      public String getSql()
      Specified by:
      getSql in interface org.springframework.jdbc.core.SqlProvider
    • createPreparedStatement

      public PreparedStatement createPreparedStatement(Connection con) throws SQLException
      Specified by:
      createPreparedStatement in interface org.springframework.jdbc.core.PreparedStatementCreator
      Throws:
      SQLException