I hereby claim:
- I am zerofudge on github.
- I am fudge (https://keybase.io/fudge) on keybase.
- I have a public key whose fingerprint is 2D36 6730 4A44 4000 55B5 1145 A912 086A 6A55 4978
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
String hql = "/*+ INDEX(stock idx_stock_code) */ | |
select * from stock s where s.stock_code = :stockCode"; | |
List result = session.createQuery(hql) | |
.setString("stockCode", "7277") | |
.list(); |
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer