A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
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.
I agree. Here's the link:
subject: Hibernate (decode && null)
Can I Select column A OR column B ?
Need help - Lot of joins are slowing down my query
[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