protected void init(Connection conn,String triggerName,String schemaName,String tableName) throws SQLException {
  if (this.templates == null) {
    this.schemaName=schemaName;
    this.triggerName=triggerName;
    this.templates=getTemplates(conn);
  }
  if (templates == null || templates.size() == 0) {
    throw new IllegalStateException(String.format("The '%s' SymmetricDS trigger is in an invalid state.  It needs to be dropped.",triggerName));
  }
}

protected void init ( Connection conn , String triggerName , String schemaName , String tableName ) throws SQLException { if ( this . templates == null ) { this . schemaName = schemaName ; this . triggerName = triggerName ; this . templates = getTemplates ( conn ) ; } if ( templates == null || templates . size ( ) == 0 ) { throw new IllegalStateException ( String . format ( "The '%s' SymmetricDS trigger is in an invalid state.  It needs to be dropped." , triggerName ) ) ; } }
this method should be called by the database engine once when initializing the trigger .
