Scalars now work in SQL

Instead of having to hand in a bean, a list
of objects can now be handed in, and the
object class type need only be listed in
the sql file.