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