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

io.ebeaninternal.server.dto.DtoNamedQueries Maven / Gradle / Ivy

There is a newer version: 15.8.0
Show newest version
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