SQL Injection Concern

How do we address SQL injection concerns when using the Java API?

Can you ask in github issue how they would like to handle it? I also saw this issue over there, maybe it is related?