SHARE
TWEET

Untitled

a guest Apr 24th, 2019 92 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Hibernate:
  2.     /* select
  3.         marketRow
  4.     from
  5.         MarketRow marketRow
  6.     where
  7.         marketRow.product is not null
  8.         and marketRow.product.productName like ?1 escape '!'
  9.         or not length(marketRow.productFreeText) = 0
  10.         and marketRow.productFreeText like ?1 escape '!' */ select
  11.             marketrow0_.id as id1_0_,
  12.             marketrow0_.product_id as product_3_0_,
  13.             marketrow0_.product_free_text as product_2_0_
  14.         from
  15.             market_row marketrow0_ cross
  16.         join
  17.             product product1_
  18.         where
  19.             marketrow0_.product_id=product1_.id
  20.             and (
  21.                 (
  22.                     marketrow0_.product_id is not null
  23.                 )
  24.                 and (
  25.                     product1_.product_name like ? escape '!'
  26.                 )
  27.                 or length(marketrow0_.product_free_text)<>0
  28.                 and (
  29.                     marketrow0_.product_free_text like ? escape '!'
  30.                 )
  31.             )
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top