Package io.ebean.service
Interface SpiRawSqlService
public interface SpiRawSqlService
Service provided by Ebean for parsing and column mapping raw SQL queries.
-
Method Summary
Modifier and Type Method Description RawSqlBuilderparsed(String sql)Parse the SQL determining column mapping.RawSqlresultSet(ResultSet resultSet, String... propertyNames)Create based on a JDBC ResultSet.SqlRowsqlRow(ResultSet resultSet, String dbTrueValue, boolean binaryOptimizedUUID)Create based on a JDBC ResultSet.RawSqlBuilderunparsed(String sql)Unparsed SQL so explicit column mapping expected.
-
Method Details
-
resultSet
Create based on a JDBC ResultSet. -
parsed
Parse the SQL determining column mapping. -
unparsed
Unparsed SQL so explicit column mapping expected. -
sqlRow
SqlRow sqlRow(ResultSet resultSet, String dbTrueValue, boolean binaryOptimizedUUID) throws SQLExceptionCreate based on a JDBC ResultSet.- Parameters:
resultSet- The ResultSet row to read as a SqlRowdbTrueValue- The DB true valuebinaryOptimizedUUID- Flag set to true if the UUID value is stored as optimised binary(16)- Throws:
SQLException
-