Earlier quoted context omitted.
Kind of goes without saying that any framework/library you use must not allow you to write SQL injection vulnerabilities, and if it does you should stop using it right now.
SQL injection is always possible with an ORM, since they always allow executing raw SQL as an escape hatch.
"select * from sometable where id=" + id
feels like a logical next step unless you actually have studied the subject or read the manual ;-)