2

QueryDSL SQL を使用してhttps://stackoverflow.com/a/16392399/14731を実装するにはどうすればよいですか?

という事は承知しています

new SQLSubQuery().from(customer).where(customer.email.eq("foo@example.com"))

モデル

customer.email = 'foo@example.com' の顧客を選択

しかし、次のような[literal] の選択方法がわかりません。

select 1 from customerまた select 'foo@example.com', 0

前述のリンクの必要に応じて。

4

1 に答える 1