Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Object Relational Mapping
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Object Relational Mapping
Hibernate null pointer exception help?
Kaustubh G Sharma
Ranch Hand
Posts: 1283
I like...
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Node to traverse can not be null
getting this in hibernate's one of table home file.
help me out
thanks
kaustubh
No Kaustubh No Fun, Know Kaustubh Know Fun..
Paul Sturrock
Bartender
Posts: 10336
I like...
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
If you provide more detail we can help. There is not much anyone can suggest based on the information you've supplied so far.
JavaRanch FAQ
HowToAskQuestionsOnJavaRanch
Kaustubh G Sharma
Ranch Hand
Posts: 1283
I like...
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I am getting this error from table's home file where I am executing one query. There is something wrong in the query but I didn't forget it out.
No Kaustubh No Fun, Know Kaustubh Know Fun..
Paul Sturrock
Bartender
Posts: 10336
I like...
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
There is still too little detail in your question to help. Please have a read of
this
.
JavaRanch FAQ
HowToAskQuestionsOnJavaRanch
Kaustubh G Sharma
Ranch Hand
Posts: 1283
I like...
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
" select count(distinct me.msgSeqId) as no_of_Investigation,map.nature as Nature from MapQryRespReasonCode map,com.t8.DAL.DALBean.FldMultiLine fm, com.t8.DAL.DALBean.MessageExchanged me, com.t8.DAL.DALBean.CaseAddlInfo cai,com.t8.DAL.DALBean.PaymentInstructionExtract pie, com.t8.DAL.DALBean.MessageMaster mm where map.messageMaster.messageId=me.messageMaster.messageId and map.queryResponseCode = Replace(substring(fm.line,2,2),'/','') and me.msgSeqId = fm.msgSeqId and fm.lineNumber=0 group by map.nature union select count (distinct me.msgSeqId) as no_of_Investigation,map.nature as Nature from com.t8.DAL.DALBean.MessageExchanged me, MapQryRespReasonCode map,com.t8.DAL.DALBean.FldMultiLine fm, com.t8.DAL.DALBean.CaseAddlInfo cai, com.t8.DAL.DALBean.PaymentInstructionExtract pie, com.t8.DAL.DALBean.MessageMaster mm where map.messageMaster.messageId=me.messageMaster.messageId and me.msgSeqId = fm.msgSeqId and fm.lineNumber=0 and me.messageId in (20,24,30,23,27,33) group by map.nature "
No Kaustubh No Fun, Know Kaustubh Know Fun..
Paul Sturrock
Bartender
Posts: 10336
I like...
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
That looks like a SQL Query to me (since HQL doesn't support unions). Perhaps you could show us how you are running it?
JavaRanch FAQ
HowToAskQuestionsOnJavaRanch
Kaustubh G Sharma
Ranch Hand
Posts: 1283
I like...
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hey Paul I made some changes in sql query and now everything is working fine thanks for your suggestion It works for me...
Kaustubh
No Kaustubh No Fun, Know Kaustubh Know Fun..
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Paths
Array Problems
Symbol cannot be solved
Set Chained OFF error while executing from my Bean
Invalidating a valid session in jsp
More...