Skip to content

Commit a0d2b2f

Browse files
committed
fix test on Informix (item is some kind of keyword)
1 parent 0be008f commit a0d2b2f

File tree

1 file changed

+7
-7
lines changed
  • hibernate-core/src/test/resources/org/hibernate/orm/test/query/joinfetch

1 file changed

+7
-7
lines changed

hibernate-core/src/test/resources/org/hibernate/orm/test/query/joinfetch/ItemBid.hbm.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@
3434
</set>
3535

3636
<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
4444
</sql-query>
4545

4646
</class>

0 commit comments

Comments
 (0)