What Is the Weakness of the ResultSetMetaData Interface? JDBC

In distributed client-server applications, ResultSetMetaData might provide a minor performance problem. That is, for every bit of information, you have to call a specific method. There is no single method call to get most of the metadata from a ResultSet object. In order to eliminate this minor problem, server-side code should return the metadata result as an XML object(which represents ResultSetMetaData information in a structured fashion) rather than returning an instance of ResultSetMetaData. This way, the client can invoke a single method and get the desired answer from an XML document.


All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

JDBC Topics