gs-relational-data-access icon indicating copy to clipboard operation
gs-relational-data-access copied to clipboard

Accessing Relational Data using JDBC with Spring :: Learn how to access relational data with Spring.

Results 6 gs-relational-data-access issues
Sort by recently updated
recently updated
newest added

https://github.com/spring-guides/gs-relational-data-access/blob/adcc29334279b01b9e9d9bafcfb1f8fe61e625c1/complete/src/main/java/com/example/relationaldataaccess/RelationalDataAccessApplication.java#L32 Caused by: org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [DROP TABLE customers if exists ]; nested exception is java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that...

good first issue
help wanted

*changed `"jdbcTemplate.execute("DROP TABLE customers IF EXISTS");"` to `"jdbcTemplate.execute("DROP TABLE IF EXISTS customers");"` as stated in issue #27 *upgraded springboot version to 3.2.2 issue #36

Update the guide to use the most recent Spring Boot version. Files that require changes are: ``` initial/build.gradle initial/pom.xml complete/build.gradle complete/pom.xml ```

good first issue
help wanted

Using IntelliJ, the `Autowired` annotation for the `jdbcTemplate` variable is labeled as an issue. ``` ... public static void main(String[] args) { SpringApplication.run(SpringjdbcApplication.class, args); } @Autowired //Field injection is not...

good first issue
help wanted

This PR polishes a bit.