开发者

Batch updates in JPA (Toplink)

开发者 https://www.devze.com 2023-04-04 00:35 出处:网络
Is there any way if executing batch updates (EntityManager persist() or merge()开发者_JAVA百科) using JPA Toplink?If you want to do a batch update, you can create a Query (either JPQL or Native SQL) t

Is there any way if executing batch updates (EntityManager persist() or merge()开发者_JAVA百科) using JPA Toplink?


If you want to do a batch update, you can create a Query (either JPQL or Native SQL) that performs the update using the EntityManager, and then call executeUpdate on that query.

0

精彩评论

暂无评论...
验证码 换一张
取 消