Free Online Whiteboard Base64 Converter JSON Utility SmartTool PDF

Category: Blog

What is SQLProvider? 0

What is SQLProvider?

SQLProvider: Has one method – getSql() Typically implemented by PreparedStatementCreator implementers. Useful for debugging.

What is PreparedStatementCreator ? 0

What is PreparedStatementCreator ?

PreparedStatementCreator: Is one of the most common used interfaces for writing data to database. Has one method – createPreparedStatement(Connection) Responsible for creating a PreparedStatement. Does not need to handle SQLExceptions.

What is Spring’s JdbcTemplate? 0

What is Spring’s JdbcTemplate?

Spring’s JdbcTemplate is central class to interact with a database through JDBC. JdbcTemplate provides many convenience methods for doing things such as converting database data into primitives or objects, executing prepared and callable statements,...

What is SQLExceptionTranslator ? 0

What is SQLExceptionTranslator ?

SQLExceptionTranslator, is an interface to be implemented by classes that can translate between SQLExceptions and Spring’s own data-access-strategy-agnostic org.springframework.dao.DataAccessException.

What are the exceptions thrown by the Spring DAO classes ? 0

What are the exceptions thrown by the Spring DAO classes ?

Spring DAO classes throw exceptions which are subclasses ofDataAccessException(org.springframework.dao.DataAccessException).Spring provides a convenient translationfrom technology-specific exceptions like SQLException to its own exception class hierarchy with theDataAccessException as the root exception. These exceptions wrap the original...

Explain about the Spring DAO support ? 0

Explain about the Spring DAO support ?

The Data Access Object (DAO) support in Spring is aimed at making it easy to work with data access technologies like JDBC, Hibernate or JDO in a consistent way. This allows one to switch...

How the AOP used in Spring? 0

How the AOP used in Spring?

AOP is used in the Spring Framework: To provide declarative enterprise services, especially as a replacement for EJB declarative services. The most important such service is declarative transaction management, which builds on the Spring...