Here's the deal, I got 2 tables:
table (A) with columns ( colA_1 | colA_2 | colA_ID ) <br>
table (B) with columns ( colB )
and I'm using DetachedCriteria.For<AnyEntity>()
to query SQL.
The purpose is get an sql senerated like this:
Select A.colA_ID from A
where (CAST(colA_1 AS VARCHAR(10)) + CAST(colA_2 AS VARCHAR(10)))
in (select colB from B)
Thanks in advance for any help