How to return a result set
How to create a forward-only read-only result set: Statement statement = connection.createStatement(); ResultSet rs = statement.executeQuery("SELECT * FROM PRODUCTS"); […]
Read More →How to create a forward-only read-only result set: Statement statement = connection.createStatement(); ResultSet rs = statement.executeQuery("SELECT * FROM PRODUCTS"); […]
Read More →Methods of a ResultSet object that work with a result set Methods Description beforeFirst() Moves the cursor to the […]
Read More →How to use the getMetaData method to create a ResultSetMeataData object: Method Description getColumnCount() Returns the number of columns […]
Read More →Attached is a sample program to Select data from MySQL using the Muchach's DB. Here is the sample code: […]
Read More →Need to find and document this. Nothing with-in my documentation this might help: http://www.ibm.com/developerworks/library/x-stax2.html
Read More →Common methods of the XMLStreamReader object: Method Description hasNext() Returns true if there are more parsing events and false […]
Read More →Classes for creating an XMLSreamReader object: javax.xml.stream.XMLInputFactory javax.xml.stream.XMLStreamReader javax.xml.stream.XMLStreamException Common constructors of the xxxx classes: Constructors Description newInstance() A […]
Read More →Common methods of the XMLStreamWriter object: Method Description writeStartDocument(version) Writes the XML declaration. writeStartElement(name) Writes the start tag for […]
Read More →Classes for creating an XMLStreamWriter objec: javax.xml.stream.XMLOutputFactory javax.xml.stream.XMLStreamWriter javax.xml.stream.XMLStreamException Common methods of the XMLOutputFactory class: Method Description newInstance() A […]
Read More →DOM: DOM stands for Document Object Model. Memory intensive. The entire document is read into memory. Read-write Typically used […]
Read More →