public class SqlServerDbEngineDialect extends Object implements DbEngineDialect
| Constructor and Description |
|---|
SqlServerDbEngineDialect() |
| 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.
|
public org.springframework.jdbc.core.JdbcTemplate createJdbcTemplate(DataSource dataSource)
DbEngineDialectJdbcTemplate 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.createJdbcTemplate in interface DbEngineDialectdataSource - The Data Source to use for the template.JdbcTemplate that can be used to DB operations.public org.springframework.jdbc.core.simple.SimpleJdbcCallOperations createJdbcCallForQuery(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
DbEngineDialectcreateJdbcCallForQuery in interface DbEngineDialectjdbcTemplate - The JDBC template is needed for actually performing the calls.SimpleJdbcCallOperations instance that can be used to call a query function in the DB.public String getParamNamePrefix()
DbEngineDialectgetParamNamePrefix in interface DbEngineDialectpublic String getPreSearchQueryCommand()
DbEngineDialectgetPreSearchQueryCommand in interface DbEngineDialectpublic String getFunctionReturnKey()
DbEngineDialectgetFunctionReturnKey in interface DbEngineDialectSimpleJdbcCallOperations#execute().Copyright © 2012. All Rights Reserved.