Package | Description |
---|---|
sirius.db.jdbc |
Support layer for using JDBC (accessing SQL Databases).
|
Modifier and Type | Field and Description |
---|---|
protected SQLQuery |
TransformedQuery.qry |
Modifier and Type | Method and Description |
---|---|
SQLQuery |
SmartQuery.asSQLQuery()
Converts this query into a plain
SQLQuery which will return rows instead of entities. |
SQLQuery |
Database.createQuery(String sql)
Creates a new query wrapper which permits safe and convenient queries.
|
SQLQuery |
SQLQuery.set(Map<String,Object> ctx)
Sets all parameters of the given context.
|
SQLQuery |
SQLQuery.set(String parameter,
Object value)
Adds a parameter.
|
Modifier and Type | Method and Description |
---|---|
<E extends SQLEntity> |
OMA.transform(Class<E> type,
SQLQuery qry)
Transforms a plain
SQLQuery to directly return entities of the given type. |
<E extends SQLEntity> |
OMA.transform(Class<E> type,
String alias,
SQLQuery qry)
Same as
OMA.transform(Class, SQLQuery) but with support for aliased columns. |
Constructor and Description |
---|
TransformedQuery(EntityDescriptor descriptor,
String alias,
SQLQuery qry) |
Copyright © 2018. All rights reserved.