File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
hibernate-core/src/test/resources/org/hibernate/orm/test/query/joinfetch Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 34
34
</set >
35
35
36
36
<sql-query name =" all" >
37
- <return alias =" item " class =" Item" />
38
- <return-join alias =" bid" property =" item .bids" />
39
- <return-join alias =" commnt" property =" item .comments" />
40
- select {item .*}, {bid.*}, {commnt.*}
41
- from AuctionItems item
42
- left outer join AuctionBids bid on bid.item = item .id
43
- left outer join AuctionComments commnt on commnt.item = item .id
37
+ <return alias =" it " class =" Item" />
38
+ <return-join alias =" bid" property =" it .bids" />
39
+ <return-join alias =" commnt" property =" it .comments" />
40
+ select {it .*}, {bid.*}, {commnt.*}
41
+ from AuctionItems it
42
+ left outer join AuctionBids bid on bid.item = it .id
43
+ left outer join AuctionComments commnt on commnt.item = it .id
44
44
</sql-query >
45
45
46
46
</class >
You can’t perform that action at this time.
0 commit comments