kz.greetgo.security.session.SessionStorageOracleAdapter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of greetgo.security Show documentation
Show all versions of greetgo.security Show documentation
Security infrastructure used in greetgo!
package kz.greetgo.security.session;
import java.sql.SQLException;
import java.util.List;
class SessionStorageOracleAdapter extends SessionStorageAdapterAbstract implements SessionStorage {
SessionStorageOracleAdapter(SessionStorageJdbcBuilder.Names names) {
super(names);
}
@Override
protected String checkTableExistsSql() {
return "select " + names.id + " from " + names.tableName + " where rowNum = 1";
}
@Override
protected String insertSessionSql(List