com.wizarius.orm.database.mysql.actions.MysqlDBInsert Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wizarius-orm Show documentation
Show all versions of wizarius-orm Show documentation
Java orm for Postgres or Mysql with migration system and connection pool
package com.wizarius.orm.database.mysql.actions;
import com.wizarius.orm.database.DBConnectionPool;
import com.wizarius.orm.database.DBParsedFieldsList;
import com.wizarius.orm.database.actions.AbstractDBInsert;
/**
* Created by Vladyslav Shyshkin on 12.11.17.
*/
@SuppressWarnings("Duplicates")
public class MysqlDBInsert extends AbstractDBInsert {
/**
* DBInsert constructor
*
* @param fieldsMap list of fields map
* @param connection database connection
*/
public MysqlDBInsert(DBParsedFieldsList fieldsMap, DBConnectionPool connection) {
super(fieldsMap, connection);
}
/**
* Get abstract action instance
*
* @return abstract action instance
*/
@Override
public MysqlDBInsert getInstance() {
return this;
}
}