Hibernate: /* load com.blackside.group.entity.Product */ select product0_.`ID` as ID1_2_1_, product0_.`DESCRIPTION` as DESCRIPT2_2_1_, product0_.`NAME` as NAME3_2_1_, product0_.`PRICE` as PRICE4_2_1_, orders1_.`PRODUCT_ID` as PRODUCT_1_2_3_, order2_.`ID` as ORDER_ID2_1_3_, order2_.`ID` as ID1_0_0_, order2_.`END_ADRESS` as END_ADRE2_0_0_, order2_.`START_ADRESS` as START_AD3_0_0_ from `PRODUCT` product0_ left outer join `PRODUCT_ORDER` orders1_ on product0_.`ID`=orders1_.`PRODUCT_ID` left outer join `ORDER` order2_ on orders1_.`ORDER_ID`=order2_.`ID` where product0_.`ID`=?
Hibernate: /* update com.blackside.group.entity.Product */ update `PRODUCT` set `DESCRIPTION`=?, `NAME`=?, `PRICE`=? where `ID`=?
Hibernate: /* delete collection com.blackside.group.entity.Product.orders */ delete from `PRODUCT_ORDER` where `PRODUCT_ID`=?
Hibernate: /* criteria query */ select this_.`ID` as ID1_2_0_, this_.`DESCRIPTION` as DESCRIPT2_2_0_, this_.`NAME` as NAME3_2_0_, this_.`PRICE` as PRICE4_2_0_ from `PRODUCT` this_