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 UIDefaults getColor() method with example
  2. Java POAOperations get_servant_manager() method with example
  3. Java – JToolBar.Separator Class
  4. Java PrimitiveIterator.OfDouble next() method with example
  5. Java EventHandler getListenerMethodName() method with example
  6. Java PropertyChangeSupport addPropertyChangeListener() method with example
  7. Java PrintRequestAttributeSet add() method with example
  8. Java WStringSeqHelper type() method with example
  9. Java JSlider createChangeListener() method with example
  10. Java PrimitiveIterator.OfLong next() method with example 1
  11. Java MBeanServerDelegate getSpecificationVendor() method with example
  12. Java AbstractUnmarshallerImpl getXMLReader() method with example
  13. Java MultiSpinnerUI update() method with example
  14. Java LSLoadEvent getInput() method with example
  15. Java Sequencer setLoopEndPoint() method with example

Be the first to comment