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

com.spun.util.persistence.DatabaseObjectSaver 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 DatabaseObjectSaver implements Saver
{
  private Statement stmt;
  public DatabaseObjectSaver(Statement stmt)
  {
    this.stmt = stmt;
  }
  public DatabaseObject save(DatabaseObject save)
  {
    save.save(stmt);
    return save;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy