A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
this week in the
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)
Need help - Lot of joins are slowing down my query
Can I Select column A OR column B ?
[Hibernate] Boolean mapping
Hibernate returning List with NULL values
URGENT HEELP NEED IN DECODE
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014