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

io.github.wycst.wast.jdbc.executer.SubOqlQuery Maven / Gradle / Ivy

Go to download

Wast is a high-performance Java toolset library package that includes JSON, YAML, CSV, HttpClient, JDBC and EL engines

There is a newer version: 0.0.16
Show newest version
package io.github.wycst.wast.jdbc.executer;

/**
 * 子查询支持(where)
 *
 * @param 
 */
public class SubOqlQuery extends OqlQuery {

    private final Class subClass;

    SubOqlQuery(Class subClass) {
        EntityManagementFactory.defaultManagementFactory().checkEntityClass(subClass);
        this.subClass = subClass;
    }

    public static  SubOqlQuery create(Class subClass) {
        return new SubOqlQuery(subClass);
    }

    public EntitySqlMapping getSubEntitySqlMapping() {
        return EntityManagementFactory.defaultManagementFactory().getEntitySqlMapping(subClass);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy