getCharacterStream retrieves streams of ASCII & Unicode characters in the JDBC 2.0 core API - JDBC

Q.  Which method is used for retrieving streams of both ASCII and Unicode characters is new in the JDBC 2.0 core API?
- Published on 19 Oct 15

a. getCharacterStream
b. getBinaryStream
c. getAsciiStream
d. getUnicodeStream

ANSWER: getCharacterStream
 

    Discussion

  • SHAIK.shabana azme   -Posted on 25 May 21
    Getcharacterstream
  • Prajakta Pandit   -Posted on 14 Dec 15

    - The getCharacterStream method is used for retrieving streams of both ASCII and Unicode characters.

    - It is new in the JDBC 2.0 core API.

    - This method returns a java.io.Reader object which provides the Unicode characters.

    - It is used for both ASCII and Unicode characters because the driver will convert ASCII characters to Unicode before it returns a Reader object.

Post your comment / Share knowledge


Enter the code shown above:
 
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)