java - JDBC: is there are away to get a size of committed data in bytes -


if have java application performs inserts against database, if there easy way how bytes committed (i.e. sum size of data in fields), without having calculate manually / fetching , checking size of result set?

--

as lucho points out, implementing statistics-aware statement class on top of preparedstatement might way go. going stick , see how going work.

as far know, nope.

you'll have ask database question; perhaps it's possible without querying same thing inserted (because sounds bit pointless).


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -