Ramesh
Ramesh

Reputation: 3

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. 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?

Upvotes: 0

Views: 136

Answers (1)

Simon Martinelli
Simon Martinelli

Reputation: 36143

You can set the fetch size as query hint

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

Upvotes: 1

Related Questions