public interface DbEngineDialect
Modifier and Type | Method and Description |
---|---|
org.springframework.jdbc.core.simple.SimpleJdbcCallOperations |
createJdbcCallForQuery(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
Create the object used for performing function calls for querying data and returning a result/list of results.
|
org.springframework.jdbc.core.JdbcTemplate |
createJdbcTemplate(DataSource dataSource)
Create the
JdbcTemplate to use in the DbFacade class. |
String |
getFunctionReturnKey()
TODO: Remove this method once we don't use SqlServer anymore, since it's a needed only for SqlServer
Compatibility.
|
String |
getParamNamePrefix()
Gets the engine prefix to be used for sp parameters.
|
String |
getPreSearchQueryCommand()
TODO: Remove this method once we don't use SqlServer anymore, since it's a needed only for SqlServer
Compatibility.
|
org.springframework.jdbc.core.JdbcTemplate createJdbcTemplate(DataSource dataSource)
JdbcTemplate
to use in the DbFacade
class.
TODO: Remove this method once we don't use SqlServer anymore, since it's a needed only for SqlServer
Compatibility.dataSource
- The Data Source to use for the template.JdbcTemplate
that can be used to DB operations.org.springframework.jdbc.core.simple.SimpleJdbcCallOperations createJdbcCallForQuery(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
jdbcTemplate
- The JDBC template is needed for actually performing the calls.SimpleJdbcCallOperations
instance that can be used to call a query function in the DB.String getParamNamePrefix()
String getPreSearchQueryCommand()
String getFunctionReturnKey()
SimpleJdbcCallOperations#execute()
.Copyright © 2012. All Rights Reserved.