Java Weekly, Issue 266

A lightweight approach to CDI bean testing with Weld, plus a look at four quality gates you can use to evaluate whether your release is production-ready.

Spring Boot H2 JdbcSQLSyntaxErrorException expected “identifier”

This tutorial explains the exception org.h2.jdbc.JdbcSQLSyntaxErrorException: Syntax error in SQL statement expected “identifier”. It provides a practical example to reproduce the exception and showcases how to fix it by double-quoting the keyword or using a JDBC URL workaround. It also covers how to automatically quote all database identifiers when using Hibernate.