有nativeQuery = true和沒有的區別

有nativeQuery = true時,是能夠執行原生sql語句,所謂原生sql,也就是說這段sql拷貝到數據庫中,而後把參數值給一下就能運行了,好比:html @Query(value = "select * from product_rel where audit_id=?1 and process_object=0 ",nativeQuery = true) List<ProductRel
相關文章
相關標籤/搜索