我是新的春天和面临问题的JPQL,nativeQuery。在执行读取操作时,本机查询工作正常。@Query(value="select * from student s where s.name= :name", nativeQuery=true)在数据库上执行删除操作时工作但不起作用
@Query(value="delete from student s where s.name=
我必须使用Spring Data JPA原生查询运行以下Oracle查询。1\" identified by \"qwert123\"",nativeQuery=true)但是,当我将?1作为变量来处理,并将其替换为userName,而不是实际的字符串。如何在spring data jpa中完成上述Oracle查询的运