
com.clusterra.iam.session.application.Dao Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clusterra-iam-session Show documentation
Show all versions of clusterra-iam-session Show documentation
A application used as an example on how to set up pushing its components to the Central Repository.
The newest version!
/*
* Copyright (c) 2015 the original author or authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.clusterra.iam.session.application;
import org.springframework.jdbc.core.RowMapper;
import org.springframework.jdbc.core.support.AbstractLobCreatingPreparedStatementCallback;
import java.util.Map;
/**
* Created with IntelliJ IDEA.
*
* @author Denis Kuchugurov
* Date: 30.10.13
*/
public interface Dao {
int insert(String tableName, Map params);
int update(String query, Map parameters);
Map singleResult(String sql, Map parameters);
void execute(String query, AbstractLobCreatingPreparedStatementCallback callback);
Map queryForObject(String query, Map parameters, RowMapper
© 2015 - 2025 Weber Informatics LLC | Privacy Policy