Top "Spring-jdbc" questions

Spring JDBC is a part of Data access layer provided by Spring.

When to use Map and SqlParameterSource in namedParameterJdbcTemplate?

String SQL = "INSERT INTO Employee (name, age, salary) VALUES (:name,:age,:salary)"; Map namedParameters = new HashMap(); namedParameters.put("name", name); …

spring-jdbc
How to delete multiple rows with JdbcTemplate

Want to delete multiple rows with the help of JdbcTemplate. In the below code msgNos is a String variable containing …

java spring spring-jdbc
Verifying success for spring JDBC batch update

I am using Spring JDBCTemplate batchUpdate to insert data in a batch. I want to verify if the data is …

java jdbc spring-jdbc batch-updates
Spring + Maven: The matching wildcard is strict, but no declaration can be found for element 'jdbc:embedded-database'

i am currently trying to build a little webapp that uses Spring, Hibernate and Maven (running on a tomcat). It …

java spring maven-3 tomcat7 spring-jdbc
can not use resultSet.setFetchDirection(ResultSet.TYPE_SCROLL_SENSITIVE) with spring jdbc DaoSupport with Oracle

I want to use scrollable resultset, so when I use two lines of code: rs.setFetchDirection(ResultSet.TYPE_SCROLL_SENSITIVE); …

java oracle resultset spring-jdbc scrollableresults
Large list returned from a SimpleJdbcTemplate query

here is my problem : at some point in my Java program, I get a (very) big List of Events from …

java sql spring jdbc spring-jdbc
Spring JDBC template without Spring

Is there Java library like Spring JDBC Template, with same quality of code and documentation and similar data access exceptions …

java spring spring-jdbc
Spring NamedParameterJDBCTemplate reuse of Prepared Statements

I am using the Spring NamedParameterJdbcTemplate to fetch some values from a table. For some reason, the query runs very …

java spring jdbc jdbctemplate spring-jdbc
Embedded HSQLDB persist data to a file

I am creating a spring based web application that uses embedded hsqldb. My spring config is pretty simple: <jdbc:…

hsqldb spring-jdbc
Multiple one-to-many relations in Spring JDBC

I am using Spring JDBC and I am a bit unsure on how to work with multiple one-to-many relations (or …

java spring jdbc spring-jdbc