-->
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: Please help with value return from query not map in xml?
PostPosted: Fri Jan 18, 2008 12:02 pm 
Newbie

Joined: Fri Jan 18, 2008 11:50 am
Posts: 1
Hibernate 3:

Mapping documents:

SQLQuery query = session.createSQLQuery(query).addEntity(tablename.class)

Full stack trace of any exception that occurs:

Oracle 10g:

String sql= "select tablename.*, score(1) as score from tablename where contains(columnname, 'stringpassingin', 1) > 0";

My question is: how do get the score value from the query , where score is not part of the column table, and it is not map to the hibernate mapping. Please help!!!


Problems with Session and transaction handling?

Read this: http://hibernate.org/42.html


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.