私はQuerydslを初めて使用するので、質問がばかげているように見えるかもしれません:)
これが私がやりたいことです:
QAppt qApptRqst = QAppt.apptRqst;
QLocZip qLocZip = QLocZip.locZip;
JPAQuery query = new JPAQuery(em);
JPAUpdateClause upd = new JPAUpdateClause(em, qApptRqst);
upd.where(qApptRqst.apptRqstStatusRef.apptRqstStatusCd.eq("U"),
qApptRqst.applZip5Cd.eq(qLocZip.usZip5Cd))
.set(qApptRqst.uscisLocation.uscisLocCd, qLocZip.uscisLocCd)
.execute();
次の例外があります。
"java.lang.IllegalArgumentException: Undeclared path 'locZipJuris'. Add this path as a source to the query to be able to reference it."
複数のソースでJPAUpdateClauseを使用するにはどうすればよいですか?