We're updating the issue view to help you get more done. 

End keyword is not escaped in generated insert statement despite explicit use of PostgreSQL dialect

Description

An entity containing a field called "end" effectively results in an insert statement containing a raw "end" (insert into table_name (duration_ms, end, start, id) values (?, ?, ?, ?)) when save of a JpaRepository of said entity, despite setting spring.jpa.properties.hibernate.dialect: org.hibernate.dialect.PostgreSQLDialect explicitly.

Expected: "end" is escaped properly

Environment

PostgreSQL, Spring Boot, Java 8

Status

Assignee

Unassigned

Reporter

Florian Pollak

Fix versions

None

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

5.3.0.Final

Priority

Major