example:
select doc0_.id as id2_5_, doc0_.aligned_file_path as aligned2_2_5_,
doc0_.approved as approved2_5_, doc0_.author as author2_5_, doc0_.copyright as
copyright2_5_, doc0_.en_title as en5_2_5_, doc0_.genre as genre2_5_,
doc0_.hu_title as hu6_2_5_, doc0_.is_open_content as is7_2_5_, doc0_.old_docid
as old8_2_5_, doc0_.upload as upload2_5_, doc0_.version as version2_5_,
author1_.id as id0_0_, author1_.description as descript2_0_0_, author1_.name as
name0_0_, author1_.version as version0_0_, genre2_.id as id3_1_,
genre2_.description as descript2_3_1_, genre2_.name as name3_1_,
genre2_.version as version3_1_, upload3_.id as id4_2_,
upload3_.align_bisentence_count as align2_4_2_, upload3_.approved as
approved4_2_, upload3_.author as author4_2_, upload3_.author_name as
author4_4_2_, upload3_.copyright as copyright4_2_, upload3_.created_timestamp
as created6_4_2_, upload3_.en_original_file_name as en7_4_2_,
upload3_.en_original_file_size as en8_4_2_, upload3_.en_raw_file_size as
en9_4_2_, upload3_.en_sentence_count as en10_4_2_, upload3_.en_title as
en11_4_2_, upload3_.en_uploaded_file_path as en12_4_2_, upload3_.genre as
genre4_2_, upload3_.harnessed_timestamp as harnessed13_4_2_,
upload3_.hu_original_file_name as hu14_4_2_, upload3_.hu_original_file_size as
hu15_4_2_, upload3_.hu_raw_file_size as hu16_4_2_, upload3_.hu_sentence_count
as hu17_4_2_, upload3_.hu_title as hu18_4_2_, upload3_.hu_uploaded_file_path as
hu19_4_2_, upload3_.is_processed as is20_4_2_, upload3_.old_docid as
old21_4_2_, upload3_.version as version4_2_, author4_.id as id0_3_,
author4_.description as descript2_0_3_, author4_.name as name0_3_,
author4_.version as version0_3_, genre5_.id as id3_4_, genre5_.description as
descript2_3_4_, genre5_.name as name3_4_, genre5_.version as version3_4_ from
doc doc0_ left outer join author author1_ on doc0_.author=author1_.id left
outer join genre genre2_ on doc0_.genre=genre2_.id left outer join upload
upload3_ on doc0_.upload=upload3_.id left outer join author author4_ on
upload3_.author=author4_.id left outer join genre genre5_ on
upload3_.genre=genre5_.id where doc0_.id=?
----------
cause: eager initialization of ManyToOne relations by Hibernate
Original issue reported on code.google.com by bpgergo on 10 Mar 2011 at 10:32
Original issue reported on code.google.com by
bpgergo
on 10 Mar 2011 at 10:32