简体   繁体   English

如何在toplink必不可少的查询中设置jdbc提取大小?

[英]how to set the jdbc fetch size for a query in toplink essential?

We have a legacy project in this using oracle essential with version 1.0.0 for persistence. 我们在其中有一个遗留项目,使用的Oracle具有基本版本1.0.0来实现持久性。 Can you please provide how to give the hint to the query for increasing the JDBC fetch size and how we verify the fetch size in logs? 您能否提供如何向查询提供提示以增加JDBC提取大小以及我们如何验证日志中的提取大小?

您可以将获取大小设置为查询提示

query.setHint("toplink.jdbc.fetch-size", "100");

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM