public abstract class AbstractDatabaseInterface extends Object implements DatabaseInterface
| Constructor and Description |
|---|
AbstractDatabaseInterface() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteInsertWithId, executeSqlInsertWithId, getVendorpublic Map<String,Object> executeSqlSelectSingleRow(String name, String message, Connection connection, String sql, Map<String,Object> context, String[] required, String[] optional) throws SQLException
executeSqlSelectSingleRow in interface DatabaseInterfaceSQLExceptionpublic List<Map<String,Object>> executeSqlSelectMultipleRow(String name, String message, Connection connection, String sql, Map<String,Object> context, String[] required, String[] optional) throws SQLException
executeSqlSelectMultipleRow in interface DatabaseInterfaceSQLExceptionpublic Object executeSqlSelectValue(String name, String message, Connection connection, String sql, Map<String,Object> context, String[] required, String[] optional) throws SQLException
executeSqlSelectValue in interface DatabaseInterfaceSQLExceptionpublic int executeSqlUpdate(Connection connection, String sql, Map<String,Object> context, String[] required, String[] optional) throws SQLException
executeSqlUpdate in interface DatabaseInterfaceSQLExceptionpublic int executeSqlInsert(Connection connection, String sql, Map<String,Object> context, String[] required, String[] optional) throws SQLException
executeSqlInsert in interface DatabaseInterfaceSQLExceptionpublic Map<String,Object> executeSelectSingleRow(String name, String message, Connection connection, String table, Map<String,Object> context, String[] required, String[] optional) throws SQLException
executeSelectSingleRow in interface DatabaseInterfaceSQLExceptionpublic List<Map<String,Object>> executeSelectMultipleRow(String name, String message, Connection connection, String table, Map<String,Object> context, String[] required, String[] optional) throws SQLException
executeSelectMultipleRow in interface DatabaseInterfaceSQLExceptionpublic Object executeSelectValue(String name, String message, Connection connection, String table, Map<String,Object> context, String[] required, String[] optional) throws SQLException
executeSelectValue in interface DatabaseInterfaceSQLExceptionpublic int executeUpdate(Connection connection, String table, Map<String,Object> context, String[] required, String[] optional) throws SQLException
executeUpdate in interface DatabaseInterfaceSQLExceptionpublic int executeInsert(Connection connection, String table, Map<String,Object> context, String[] required, String[] optional) throws SQLException
executeInsert in interface DatabaseInterfaceSQLExceptionpublic String buildInsertSql(String quote, String table, Map<String,Object> context, String[] required, String[] optional)
public abstract String buildInsertWithIdSql(String quote, String table, Map<String,Object> context, String[] required, String[] optional)
public StringBuilder buildInsertSql0(String quote, String table, Map<String,Object> context, String[] required, String[] optional)
public String buildUpdateSql(String quote, String table, Map<String,Object> context, String[] required, String[] optional)
Copyright © 2019 Cesar Martinez. All rights reserved.