a guest Jan 22nd, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- Fruit fruit = dao.get(id, Fruit.class)
- if(fruit instanceof Orange)
- (Orange) fruit
- select f from Fruit f where f.class = 'a.b.c.Fruit'
RAW Paste Data