Unfortunatley, I must not be grasping it.
I end up getting a "java.sql.SQLException: ORA-00936: missing expression" when it tries to create the SQL. The SQL looks like:
select this.ID as ID0_, this.copy as copy0_, from MYSCHEMA.Foo this, MYSCHEMA.barNames x0_ where this.copy like ? and this.ID=x0_.FOO_ID
Not sure what's wrong with it. I'm definiately not an SQL expert on anything complex. I don't see anything in that SQL that deals with the barName I'm looking for either.
Quote:
add( Expression.eq( "b.property", value )
Where does the "property" bit come from? Is that documented somewhere as a way to query against sets of primitive types? Again, "b" is just a <set> of type string. It's not an object with any kind of accessor.[/url]