I've gotten simple parameters to work for Jinq JPA in Scala. It will
fail if there's a security manager in place. I'll have to see whether
that's common with Scala.