please take a look at Java 1.3.0 API:

class java.sql.Types:
The class that defines the constants that are used to identify generic SQL
types, called JDBC types. The actual type constant values are equivalent to
those in XOPEN.
This class is never instantiated.

u may use it like this:
PreparedStatement pstmt = con.prepareStatement("UPDATE EMPLOYEES
SET EMPLOYEEID = ? WHERE NAME = ?");
pstmt.setNull(1, java.sql.Types.INTEGER);
pstmt.setInt(2, "Foo");

Greetings
MD

--
Sent through GMX FreeMail - http://www.gmx.net

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to