This week's book giveaway is in the Performance forum. We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line! See this thread for details.
In the resultsetmetadata object , we have getColumnDisplaySize(),but there is no method to set.
setColumnDispalySize() method is present in RowSetMetadata().
In my case i have to populate the CachedRowset with Resultset.The width of a paticular column is varchar(65) in postgresql,but in the java side this is coming as -5.
So i have to re-set the width size before populating to CachedRowset,otherwise i am getting