Top "Spring-jdbc" questions

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

Clean way to externalize long (+20 lines sql) when using spring jdbc?

I want to externalize some large queries in my application to properties\sql\xml files. However I was wondering if …

java sql spring-jdbc
Spring-boot populate H2 database with schema.sql and data.sql

I set up Spring-boot to work with H2 in-memory database application.properties file is in the /config directory and it …

spring-boot h2 spring-jdbc
Configure spring to connect to mysql over ssl

I am connecting to MySQL over SSL from my Java application. I have configured MYSQL to support SSL and generated …

spring ssl jdbc c3p0 spring-jdbc
JdbcTemplate and SimpleJdbcTemplate

I am new to Spring 3.0 . For DAO access i have choosen SpringJDBC. SpringJDBC provides JDBC Template and SimpleJDBCTemplate . Which one …

spring jdbctemplate spring-jdbc
Spring JDBC + Postgres SQL + Java 8 - conversion from/to LocalDate

I am using Postgres SQL 9.2, Spring JDBC with version 4.0.5, and Java 8. Java 8 introduced new date/time API and I would …

java spring postgresql java-8 spring-jdbc
Using Spring's KeyHolder with programmatically-generated primary keys

I am using Spring's NamedParameterJdbcTemplate to perform an insert into a table. The table uses a NEXTVAL on a sequence …

spring oracle10g primary-key jdbctemplate spring-jdbc
How do I get Spring Boot to automatically reconnect to PostgreSQL?

I am running Spring Boot connecting to a PostgreSQL database. I have verified that data is written to the database …

java spring postgresql spring-boot spring-jdbc
How to use Spring's JdbcTemplate to connect to a simple MySql database?

I am trying to use Spring's JdbcTemplate Class to connect to a simple MySql database based on this tutorial. In …

java mysql maven spring-boot spring-jdbc
How to get inserted id using Spring Jdbctemplate.update(String sql, obj...args)

I'm using Jdbctemplate and I need the inserted id of a query. I read that I have to build a …

mysql spring spring-jdbc last-insert-id
is java.lang.NoClassDefFoundError: org/apache/ibatis/session/SqlSessionFactory with mybatis and Spring

I'm new to Mybatis and trying to implement mybatis with Spring but getting the below runtime error while starting tomcat. …

spring spring-aop mybatis spring-jdbc