You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with Hibernate SQL comments enabled, the SQL statement starts with a comment that contains the JPA query, which may contains bound variables like ?1, ?2...
In such a case v0.8.2 tries to replace the ? in the SQL comment which is incorrect.
The text was updated successfully, but these errors were encountered:
the pull request #71 should take care of that. Without implementing a full parser with tokens.
It removes comments before letting the fillParameters method doing the job.
But the code will manage even inner comments in the sql statements like those
PreparedStatement stmnt = con.prepareStatement(" UPDATE /*blah = ? */ TBL SET col1 = ? ")
with Hibernate SQL comments enabled, the SQL statement starts with a comment that contains the JPA query, which may contains bound variables like
?1
,?2
...In such a case v0.8.2 tries to replace the
?
in the SQL comment which is incorrect.The text was updated successfully, but these errors were encountered: