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

org.xblackcat.sjpu.storage.impl.AFunctionalAH Maven / Gradle / Ivy

Go to download

Service for generating DB access logic in simple way via interfaces and annotations

There is a newer version: 2.0
Show newest version
package org.xblackcat.sjpu.storage.impl;

import org.xblackcat.sjpu.storage.IFunctionalAH;
import org.xblackcat.sjpu.storage.connection.IConnectionFactory;

/**
 * 24.04.2015 10:45
 *
 * @author xBlackCat
 */
public class AFunctionalAH extends AnAH implements IFunctionalAH {
    private final String sql;

    protected AFunctionalAH(IConnectionFactory factory, String sql) {
        super(factory);
        if (sql == null) {
            throw new NullPointerException("Sql can't be null");
        }
        this.sql = sql;
    }

    protected String getSql() {
        return sql;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy