Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Object Relational Mapping
Hibernate (decode && null)
Joined: Dec 18, 2005
Jan 23, 2006 01:21:00
does hibernate support "DECODE" function???
Also when a particular attribute has null value, I get an error when getting that row from the database.
Someone help me out...
Thanks in advance.
Joined: Apr 14, 2004
Jan 23, 2006 02:27:00
You can run any SQL query with Hibernate (so long as you use a create
Query() method of Session) so yes. I don't think HQL supports it though.
It is sorta covered in the
JavaRanch Style Guide
subject: Hibernate (decode && null)
URGENT HEELP NEED IN DECODE
Can I Select column A OR column B ?
Need help - Lot of joins are slowing down my query
Hibernate returning List with NULL values
[Hibernate] Boolean mapping
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013