io.ebeaninternal.server.dto.DtoNamedQueries Maven / Gradle / Ivy
package io.ebeaninternal.server.dto;
import java.util.HashMap;
import java.util.Map;
/**
* Collection of named queries for a single Dto bean type.
*/
public final class DtoNamedQueries {
private final Map namedRawSql = new HashMap<>();
/**
* Add the named query from deployment XML.
*/
public void addRawSql(String name, String query) {
namedRawSql.put(name, query);
}
Map map() {
return namedRawSql;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy