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

Parameters:

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

Returns:

a
SQLXML object that maps an
SQL XML value

Throws:

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

Since:

1.6

java.sql.CallableStatement.getSQLXML() method Implementation

SQLXML getSQLXML(int parameterIndex) throws SQLException{
}

CallableStatement getSQLXML() method Example

package com.ehowtonow.java.sql.callablestatement;

public class GetSQLXMLMethodExample {

	public static void main(String[] args) {

	}

}

Output


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