select emp.name from Employee emp, Product p where emp.shop.stock[p] > 5 and p.name='Product_10'
SQL (missing the table SHOP, aliased as shop_2) select employee0_.name as col_0_0_ from Employee employee0_, PRODUCT product1_, SHOP_PRODUCT_STOCK stock3_ where employee0_.SHOP_ID=shop2_.SHOP_ID and shop2_.SHOP_ID=stock3_.SHOP_ID and stock3_.PRODUCT_ID = product1_.PRODUCT_ID and stock3_.AMOUNT>5 and product1_.name='Product_10'
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________ hibernate-issues mailing list hibernate-issues@(protected) https://lists.jboss.org/mailman/listinfo/hibernate-issues