Skip to content

Specify fetchSize/maxRows/queryTimeout per statement in JdbcClient #35155

Closed
@cfredri4

Description

@cfredri4

I would like to be able do the following:

jdbcClient.sql("SELECT * FROM table1 WHERE column1 = ?")	.param(123)	.fetchSize(123) // <<<< New	.maxRows(123) // <<<< New	.queryTimeout(123) // <<<< New	.query()	.singleRow();

Currently I have to manually create a new JdbcClient every time the default settings are not suitable.

I can supply a PR if above is a desired addition.

Metadata

Metadata

Assignees

Labels

in: dataIssues in data modules (jdbc, orm, oxm, tx)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions