Well, a little bit more info provided by firebird jdbc driver logging. Also I looked at hibernate sources and found smth interesting in comments about
getKeyFromResultSet:
Quote:
Warning: this method is side-effecty.
and at line 352:
Quote:
//problematic for <key-many-to-one>!
I do not use
<key-many-to-one> anyway. This is a full log:
==============================================
2004-06-04 21:06:35,418 DEBUG [net.sf.hibernate.impl.SessionImpl] - <opened session>
2004-06-04 21:06:35,498 DEBUG [net.sf.hibernate.transaction.JDBCTransaction] - <begin>
2004-06-04 21:06:35,498 DEBUG [net.sf.hibernate.transaction.JDBCTransaction] - <current autocommit status:false>
2004-06-04 21:06:35,548 DEBUG [net.sf.hibernate.impl.SessionImpl] - <SQL query: select {survey.*} from Admin_Surveys {survey}, User_Details {sadmin}, Master_Details {master} left outer join Accounts {account} on {master}.master_id={account}.uid where ( {account}.username = 'acinausa' and {survey}.uid={sadmin}.user_id and {sadmin}.master_id={master}.master_id) order by {survey}.Survey_Name>
2004-06-04 21:06:35,558 DEBUG [net.sf.hibernate.impl.BatcherImpl] - <about to open: 0 open PreparedStatements, 0 open ResultSets>
2004-06-04 21:06:35,558 DEBUG [net.sf.hibernate.SQL] - <select survey.sid as sid0_, survey.uid as uid0_, survey.Parent_sid as Parent_sid0_, survey.Survey_Name as Survey_N4_0_, survey.Date_Of_Creation as Date_Of_5_0_, survey.Status as Status0_, survey.Date_Of_Status_Update as Date_Of_7_0_, survey.Tree as Tree0_, survey.History as History0_, survey.Comment as Comment0_ from Admin_Surveys survey, User_Details sadmin, Master_Details master left outer join Accounts account on master.master_id=account.uid where ( account.username = 'acinausa' and survey.uid=sadmin.user_id and sadmin.master_id=master.master_id) order by survey.Survey_Name>
Hibernate: select survey.sid as sid0_, survey.uid as uid0_, survey.Parent_sid as Parent_sid0_, survey.Survey_Name as Survey_N4_0_, survey.Date_Of_Creation as Date_Of_5_0_, survey.Status as Status0_, survey.Date_Of_Status_Update as Date_Of_7_0_, survey.Tree as Tree0_, survey.History as History0_, survey.Comment as Comment0_ from Admin_Surveys survey, User_Details sadmin, Master_Details master left outer join Accounts account on master.master_id=account.uid where ( account.username = 'acinausa' and survey.uid=sadmin.user_id and sadmin.master_id=master.master_id) order by survey.Survey_Name
2004-06-04 21:06:35,558 DEBUG [net.sf.hibernate.impl.BatcherImpl] - <preparing statement>
2004-06-04 21:06:35,608 DEBUG [org.firebirdsql.jca.FBManagedConnection] - <start called: org.firebirdsql.jca.FBLocalTransaction$FBLocalXid@187275d>
2004-06-04 21:06:35,618 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <op_transaction >
2004-06-04 21:06:35,618 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <sent>
2004-06-04 21:06:35,618 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <op_response >
2004-06-04 21:06:35,618 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <op_response resp_object: 1>
2004-06-04 21:06:35,618 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <op_response resp_blob_id: 0>
2004-06-04 21:06:35,618 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <op_response resp_data size: 0>
2004-06-04 21:06:35,618 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <readStatusVector arg:isc_arg_gds int: 0>
2004-06-04 21:06:35,618 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <received>
2004-06-04 21:06:35,618 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <op_allocate_statement >
2004-06-04 21:06:35,628 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <sent>
2004-06-04 21:06:35,628 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <op_response >
2004-06-04 21:06:35,628 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <op_response resp_object: 2>
2004-06-04 21:06:35,628 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <op_response resp_blob_id: 0>
2004-06-04 21:06:35,628 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <op_response resp_data size: 0>
2004-06-04 21:06:35,628 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <readStatusVector arg:isc_arg_gds int: 0>
2004-06-04 21:06:35,628 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <received>
2004-06-04 21:06:35,638 DEBUG [org.firebirdsql.jca.FBManagedConnection] - <preparing sql: select survey.sid as sid0_, survey.uid as uid0_, survey.Parent_sid as Parent_sid0_, survey.Survey_Name as Survey_N4_0_, survey.Date_Of_Creation as Date_Of_5_0_, survey.Status as Status0_, survey.Date_Of_Status_Update as Date_Of_7_0_, survey.Tree as Tree0_, survey.History as History0_, survey.Comment as Comment0_ from Admin_Surveys survey, User_Details sadmin, Master_Details master left outer join Accounts account on master.master_id=account.uid where ( account.username = 'acinausa' and survey.uid=sadmin.user_id and sadmin.master_id=master.master_id) order by survey.Survey_Name>
2004-06-04 21:06:35,638 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <op_prepare_statement >
2004-06-04 21:06:35,658 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <sent>
2004-06-04 21:06:35,658 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <op_response >
2004-06-04 21:06:35,658 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <op_response resp_object: 0>
2004-06-04 21:06:35,658 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <op_response resp_blob_id: 0>
2004-06-04 21:06:35,658 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <op_response resp_data size: 1024>
2004-06-04 21:06:35,658 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <readStatusVector arg:isc_arg_gds int: 0>
2004-06-04 21:06:35,658 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <received>
2004-06-04 21:06:35,658 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <parseSqlInfo started>
2004-06-04 21:06:35,658 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <parseSqlInfo: first 2 bytes are 1796 or: 4, 7>
2004-06-04 21:06:35,658 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <xsqlda.sqln read as 10>
2004-06-04 21:06:35,658 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <new xsqlvar 0>
2004-06-04 21:06:35,668 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_type 580>
2004-06-04 21:06:35,668 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_sub_type 1>
2004-06-04 21:06:35,668 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_scale 0>
2004-06-04 21:06:35,668 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_length 8>
2004-06-04 21:06:35,668 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_field SID>
2004-06-04 21:06:35,668 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_relation ADMIN_SURVEYS>
2004-06-04 21:06:35,668 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_owner SYSDBA>
2004-06-04 21:06:35,668 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_alias SID0_>
2004-06-04 21:06:35,668 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <new xsqlvar 1>
2004-06-04 21:06:35,668 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_type 580>
2004-06-04 21:06:35,668 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_sub_type 1>
2004-06-04 21:06:35,668 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_scale 0>
2004-06-04 21:06:35,668 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_length 8>
2004-06-04 21:06:35,668 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_field UID>
2004-06-04 21:06:35,668 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_relation ADMIN_SURVEYS>
2004-06-04 21:06:35,668 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_owner SYSDBA>
2004-06-04 21:06:35,668 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_alias UID0_>
2004-06-04 21:06:35,668 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <new xsqlvar 2>
2004-06-04 21:06:35,668 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_type 581>
2004-06-04 21:06:35,668 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_sub_type 1>
2004-06-04 21:06:35,678 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_scale 0>
2004-06-04 21:06:35,678 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_length 8>
2004-06-04 21:06:35,678 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_field PARENT_SID>
2004-06-04 21:06:35,678 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_relation ADMIN_SURVEYS>
2004-06-04 21:06:35,678 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_owner SYSDBA>
2004-06-04 21:06:35,678 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_alias PARENT_SID0_>
2004-06-04 21:06:35,678 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <new xsqlvar 3>
2004-06-04 21:06:35,678 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_type 448>
2004-06-04 21:06:35,678 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_sub_type 0>
2004-06-04 21:06:35,678 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_scale 0>
2004-06-04 21:06:35,678 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_length 300>
2004-06-04 21:06:35,678 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_field SURVEY_NAME>
2004-06-04 21:06:35,678 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_relation ADMIN_SURVEYS>
2004-06-04 21:06:35,689 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_owner SYSDBA>
2004-06-04 21:06:35,689 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_alias SURVEY_N4_0_>
2004-06-04 21:06:35,689 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <new xsqlvar 4>
2004-06-04 21:06:35,689 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_type 510>
2004-06-04 21:06:35,689 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_sub_type 0>
2004-06-04 21:06:35,689 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_scale 0>
2004-06-04 21:06:35,689 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_length 8>
2004-06-04 21:06:35,689 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_field DATE_OF_CREATION>
2004-06-04 21:06:35,689 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_relation ADMIN_SURVEYS>
2004-06-04 21:06:35,699 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_owner SYSDBA>
2004-06-04 21:06:35,699 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_alias DATE_OF_5_0_>
2004-06-04 21:06:35,699 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <new xsqlvar 5>
2004-06-04 21:06:35,699 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_type 448>
2004-06-04 21:06:35,699 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_sub_type 0>
2004-06-04 21:06:35,699 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_scale 0>
2004-06-04 21:06:35,699 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_length 2>
2004-06-04 21:06:35,699 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_field STATUS>
2004-06-04 21:06:35,699 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_relation ADMIN_SURVEYS>
2004-06-04 21:06:35,699 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_owner SYSDBA>
2004-06-04 21:06:35,699 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_alias STATUS0_>
2004-06-04 21:06:35,699 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <new xsqlvar 6>
2004-06-04 21:06:35,699 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_type 511>
2004-06-04 21:06:35,699 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_sub_type 0>
2004-06-04 21:06:35,699 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_scale 0>
2004-06-04 21:06:35,699 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_length 8>
2004-06-04 21:06:35,699 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_field DATE_OF_STATUS_UPDATE>
2004-06-04 21:06:35,699 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_relation ADMIN_SURVEYS>
2004-06-04 21:06:35,699 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_owner SYSDBA>
2004-06-04 21:06:35,709 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_alias DATE_OF_7_0_>
2004-06-04 21:06:35,709 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <new xsqlvar 7>
2004-06-04 21:06:35,719 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_type 521>
2004-06-04 21:06:35,719 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_sub_type 0>
2004-06-04 21:06:35,719 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_scale 0>
2004-06-04 21:06:35,719 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_length 8>
2004-06-04 21:06:35,719 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_field TREE>
2004-06-04 21:06:35,719 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_relation ADMIN_SURVEYS>
2004-06-04 21:06:35,719 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_owner SYSDBA>
2004-06-04 21:06:35,719 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_alias TREE0_>
2004-06-04 21:06:35,719 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <new xsqlvar 8>
2004-06-04 21:06:35,719 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_type 521>
2004-06-04 21:06:35,719 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_sub_type 0>
2004-06-04 21:06:35,719 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_scale 0>
2004-06-04 21:06:35,719 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_length 8>
2004-06-04 21:06:35,719 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_field HISTORY>
2004-06-04 21:06:35,719 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_relation ADMIN_SURVEYS>
2004-06-04 21:06:35,729 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_owner SYSDBA>
2004-06-04 21:06:35,729 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_alias HISTORY0_>
2004-06-04 21:06:35,729 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <new xsqlvar 9>
2004-06-04 21:06:35,729 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_type 448>
2004-06-04 21:06:35,729 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_sub_type 0>
2004-06-04 21:06:35,729 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_scale 0>
2004-06-04 21:06:35,729 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_length 300>
2004-06-04 21:06:35,729 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_field COMMENT>
2004-06-04 21:06:35,729 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_relation ADMIN_SURVEYS>
2004-06-04 21:06:35,729 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_owner SYSDBA>
2004-06-04 21:06:35,729 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <isc_info_sql_alias COMMENT0_>
2004-06-04 21:06:35,729 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <parseSqlInfo ended>
2004-06-04 21:06:35,729 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <op_info_sql >
2004-06-04 21:06:35,729 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <sent>
2004-06-04 21:06:35,729 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <op_response >
2004-06-04 21:06:35,729 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <op_response resp_object: 2>
2004-06-04 21:06:35,729 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <op_response resp_blob_id: 0>
2004-06-04 21:06:35,729 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <op_response resp_data size: 1024>
2004-06-04 21:06:35,729 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <readStatusVector arg:isc_arg_gds int: 0>
2004-06-04 21:06:35,739 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <received>
2004-06-04 21:06:35,739 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <parseSqlInfo started>
2004-06-04 21:06:35,739 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <parseSqlInfo: first 2 bytes are 1797 or: 5, 7>
2004-06-04 21:06:35,739 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <xsqlda.sqln read as 0>
2004-06-04 21:06:35,739 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <parseSqlInfo ended>
2004-06-04 21:06:35,739 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <op_execute >
2004-06-04 21:06:35,749 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <sent>
2004-06-04 21:06:35,749 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <op_response >
2004-06-04 21:06:35,749 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <op_response resp_object: 1>
2004-06-04 21:06:35,749 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <op_response resp_blob_id: 0>
2004-06-04 21:06:35,749 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <op_response resp_data size: 0>
2004-06-04 21:06:35,749 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <readStatusVector arg:isc_arg_gds int: 0>
2004-06-04 21:06:35,749 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <received>
2004-06-04 21:06:35,879 DEBUG [net.sf.hibernate.loader.Loader] - <processing result set>
2004-06-04 21:06:35,879 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <op_fetch >
2004-06-04 21:06:35,879 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <sent>
2004-06-04 21:06:35,879 DEBUG [org.firebirdsql.jgds.GDS_Impl] - <all rows successfully fetched>
2004-06-04 21:06:35,889 DEBUG [net.sf.hibernate.util.JDBCExceptionReporter] - <SQL Exception>
org.firebirdsql.jdbc.FBSQLException: Column name uid1_ not found in result set.
at org.firebirdsql.jdbc.FBResultSet.findColumn(FBResultSet.java:682)
at org.firebirdsql.jdbc.FBResultSet.getField(FBResultSet.java:389)
at org.firebirdsql.jdbc.FBResultSet.getLong(FBResultSet.java:450)
at org.apache.commons.dbcp.DelegatingResultSet.getLong(DelegatingResultSet.java:221)
at net.sf.hibernate.type.LongType.get(LongType.java:18)
at net.sf.hibernate.type.NullableType.nullSafeGet(NullableType.java:62)
at net.sf.hibernate.type.NullableType.nullSafeGet(NullableType.java:53)
at net.sf.hibernate.loader.Loader.getKeyFromResultSet(Loader.java:352)
at net.sf.hibernate.loader.Loader.doQuery(Loader.java:203)
at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:133)
at net.sf.hibernate.loader.Loader.doList(Loader.java:950)
at net.sf.hibernate.loader.Loader.list(Loader.java:941)
at net.sf.hibernate.loader.SQLLoader.list(SQLLoader.java:92)
at net.sf.hibernate.impl.SessionImpl.findBySQL(SessionImpl.java:3764)
at net.sf.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:52)
at com.volin.sas.hibernate.HibernateSurveyFactory$1.doInHibernate(HibernateSurveyFactory.java:136)
............................................