ResourceDatabasePopulator should ignore MySQL single-line comments in SQL scripts [SPR-16594] #21135
Labels
for: team-attention
An issue we'd like other members of the team to review
in: data
Issues in data modules (jdbc, orm, oxm, tx)
type: enhancement
A general enhancement
Milestone
Urs Wiss opened SPR-16594 and commented
In MySQL, starting a line with a hash key is a valid comment (see https://dev.mysql.com/doc/refman/5.7/en/comments.html)
Currently, ResourceDatabasePopulator doesn't recognize lines starting with a hash key as comments. See the example https://github.com/urswiss/spring-jdbc-comment, it's based on h2 but it nonetheless illustrates the point I think.
No further details from SPR-16594
The text was updated successfully, but these errors were encountered: