答案 0 :(得分:0)
使用 [交易] 。*有效。
@SuppressWarnings(RoomWarnings.CURSOR_MISMATCH)
@Query("SELECT RetailTransaction.*, [Transaction].*, SaleReturnLineItem.*, PriceModificationLineItem.* FROM RetailTransaction " +
"INNER JOIN [Transaction] ON [Transaction].transactionID =
public abstract List<RetailTransactionGenerator> getRetailTransactions();