Expanded component support in query language for 3.2
Expanded component support HQL now supports two ehanced ways to deal with components in HQL First is the ability to bind complete components as parameter values. This works partially on the Improved parameter type guessing described above. So for example, users can now do: Name name = new Name(); name.setFirst( "John" ); name.setLast( "Doe" ); List johnDoes = session.createQuery( "from Person where name = :name" ) .setParameter( "name", name ) .list(); Second is use of the "row value constructor" syntax borrowed from ANSI SQL, which would allow users to do List johnDoes = session.createQuery( "from Person where name = ('John', 'Doe')" ) .list();