| The same issue happens with quoted column names in the WHERE and SELECT clauses. For example: Original select: SELECT t."value_b" ... WHERE t."value_a" ... Generated by Hibernate: SELECT t.outerTable0_."value_b" ... WHERE t.outerTable0_."value_a" ... Getting rid of the whole
if ( isOpenQuote ) {
result.append( placeholder ).append( '.' );
}
block obviously solves the issue - but then again there is probably a reason why it is there in the first place. |