Java CallableStatement getSQLXML() method with example

java.sql.CallableStatement.getSQLXML() method Retrieves the value of the designated
SQL XML parameter as a
java.sql.SQLXML object in the Java programming language.

CallableStatement getSQLXML() method Signature

SQLXML getSQLXML(int parameterIndex) throws SQLException


parameterIndex – index of the first parameter is 1, the second is 2, …


SQLXML object that maps an
SQL XML value


SQLException – if the parameterIndex is not valid; if a database access error occurs or this method is called on a closed
SQLFeatureNotSupportedException – if the JDBC driver does not support this method



java.sql.CallableStatement.getSQLXML() method Implementation

SQLXML getSQLXML(int parameterIndex) throws SQLException{

CallableStatement getSQLXML() method Example


public class GetSQLXMLMethodExample {

	public static void main(String[] args) {




Ask your questions in eHowToNow Forum

Post your technical, non-technical doubts, questions in our site. Get answer as soon as possible, meanwhile you can help others by answering, unanswered questions.
To Ask new Question : Ask Question
Check our existing discussions : Questions & Answers

  1. Java NimbusLookAndFeel uninitialize() method with example
  2. Java JTabbedPane insertTab() method with example
  3. Java JTextComponent.AccessibleJTextComponent getCaretPosition() method with example
  4. Java TypeMirror equals() method with example
  5. Java MetalLookAndFeel initComponentDefaults() method with example
  6. Java JTree.AccessibleJTree.AccessibleJTreeNode getAccessibleIndexInParent() method with example
  7. Java FormView submitData() method with example
  8. Java FeatureDescriptor setPreferred() method with example
  9. Java Node getAttributes() method with example
  10. Java IIOMetadataNode getElementsByTagName() method with example
  11. Java – DOMCryptoContext Class
  12. Java – MonthDay Class
  13. Java DefaultRowSorter getSortKeys() method with example
  14. Java SoundbankResource getData() method with example
  15. Java LogManager getLoggerNames() method with example

Be the first to comment