Saturday 15 September 2012

java - Which method gives better performance? -



java - Which method gives better performance? -

which 1 should utilize improve performance generating reports in jasper?

print = jasperfillmanager.fillreport(jasperreport, params, datasource);

or,

print = jasperfillmanager.fillreport(jasperreport, params, connection);

look @ source code: here. select version matches using.

in version looked at, makes no difference. if provide connection, filler code internally create datasource connection. on, performance should same if had turned connection datasource yourself.

(and expect various convenience overloads.)

java performance jasper-reports

No comments:

Post a Comment