我有像这样的SQL查询
Select * from DB1.Table1 a left join DB2.Table2 b on a.dCode = b.dCode where bID = 123;
如何为上述查询创建jpa代码?什么是JpaRepository
的参数public interface TestRepository extends JpaRepository<???, ???> {
@Query("???")
??? myTestQueryCOde(Integer bID);
}
???