daily pastebin goal
60%
SHARE
TWEET

Untitled

a guest Jan 22nd, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Fruit fruit = dao.get(id, Fruit.class)
  2. if(fruit instanceof Orange)
  3. {
  4.    (Orange) fruit
  5. }
  6.    
  7. select f from Fruit f where f.class = 'a.b.c.Fruit'
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