public interface SpiRawSqlService
Service provided by Ebean for parsing and column mapping raw SQL queries.
-
Method Summary
Modifier and TypeMethodDescriptionParse the SQL determining column mapping.Create based on a JDBC ResultSet.Create based on a JDBC ResultSet.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 SQLException Create 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
-