All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.spun.util.persistence.DatabaseObjectDeletor Maven / Gradle / Ivy

There is a newer version: 24.9.0
Show newest version
package com.spun.util.persistence;

import com.spun.util.database.DatabaseObject;

import java.sql.Statement;

public class DatabaseObjectDeletor implements Deletor
{
  private Statement stmt;
  public DatabaseObjectDeletor(Statement stmt)
  {
    this.stmt = stmt;
  }
  public void delete(T delete)
  {
    delete.deleteFromDatabase(stmt);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy