I'd like to filter a String array with a criteria... what is the reference that i must put in my Expression.eq?
Or there is another way to make this criteria query? Maybe with Filter?
This is my code with "??" where is the problem...
Code:
Criteria criteria=session.createCriteria(HAz.class);
HAz az=new HA();
Example example=Example.create(az);
example.excludeProperty("prov");
criteria.add(example);
criteria.createCriteria("prov").add(Expression.eq("??","RO"));
List list=criteria.list();
Thanks to any help!
Gio