File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
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.
I agree. Here's the link:
subject: Hibernate (decode && null)
Need help - Lot of joins are slowing down my query
Can I Select column A OR column B ?
URGENT HEELP NEED IN DECODE
[Hibernate] Boolean mapping
Hibernate returning List with NULL values
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015