-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: getting null when accessing database view through hql
PostPosted: Thu Dec 08, 2011 6:15 am 
Newbie

Joined: Thu Dec 08, 2011 5:56 am
Posts: 1
Hi,

I have view in oracle database and when I am trying to access the data using hql query form the view, I am getting null as the id item. When I access the id.column name then it is giving me the data.

I have reverse engineered my view using eclipse jboss plugin and then it created me view java pojo along with one pojo for id which is holding all the columns information.

I want to access the entire object back when queried instead of individual in select clause.

Please guide me in resolving this.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.