Home » Developer & Programmer » JDeveloper, Java & XML » StyleReport v5.1, J2EE, Oracle 8.1.5
StyleReport v5.1, J2EE, Oracle 8.1.5 [message #92494] Fri, 13 August 2004 07:33 Go to next message
sim
Messages: 19
Registered: August 2004
Junior Member
If a parameter in a SQL query, which is a VARCHAR2 data type, is passed from a PreparedStatement object from a Java Report Interface. Which method of PrepareStatement should I use? setString or setObject? Also whenever I want to set a "null" to this VARCHAR2 field in SQL, Tomcat signals an error message "NullPointerException"...how can that be avoided if I really want to pass a null to that field since SQL can accept a null?
Re: StyleReport v5.1, J2EE, Oracle 8.1.5 [message #92540 is a reply to message #92494] Mon, 06 September 2004 20:32 Go to previous message
a
Messages: 22
Registered: March 2002
Junior Member
aaa
Previous Topic: how can i pass the boolean data type as input parameter from java to oracle
Next Topic: UUID Generator
Goto Forum:
  


Current Time: Fri Nov 22 14:31:51 CST 2024