Uses of Interface
io.ebean.DtoQuery
Packages that use DtoQuery
-
Uses of DtoQuery in io.ebean
Modifier and TypeMethodDescription<D> DtoQuery<D>
Convert the query to a DTO bean query.<D> DtoQuery<D>
Convert the query to a DTO bean query.<T> DtoQuery<T>
Database.createNamedDtoQuery
(Class<T> dtoType, String namedQuery) Create a named Query for DTO beans.<T> DtoQuery<T>
Create a Query for DTO beans.static <T> DtoQuery<T>
Create a Query for DTO beans.DtoQuery.setArrayParameter
(String name, Collection<?> values) Bind the named multi-value array parameter which we would use with Postgres ANY.DtoQuery.setBufferFetchSizeHint
(int bufferFetchSizeHint) A hint which for JDBC translates to the Statement.fetchSize().DtoQuery.setFirstRow
(int firstRow) Set the index of the first row of the results to return.Set a label on the query to make it easier to identify queries related to query execution statistics.DtoQuery.setMaxRows
(int maxRows) Set the maximum number of query results to return.DtoQuery.setParameter
(int position, Object value) Bind the parameter by its index position (1 based like JDBC).DtoQuery.setParameter
(Object value) Bind the next parameter using index position.DtoQuery.setParameter
(String name, Object value) Bind the named parameter.DtoQuery.setParameters
(Object... value) Bind all the parameters using index positions.DtoQuery.setProfileLocation
(ProfileLocation profileLocation) Set the profile location of this query.DtoQuery.setRelaxedMode()
When resultSet columns are not able to be mapped to a bean property then instead of throwing effectively skip reading that column.DtoQuery.setTimeout
(int secs) Set a timeout on this query.DtoQuery.usingTransaction
(Transaction transaction) Use the explicit transaction to execute the query.