At 02:34 PM 3/29/99 -0500, you wrote: >Hi, > >I have a problem where Oracle does not find a string that is set using >setString in a servlet. I am using the thin driver for Oracle 8. > >This code returns "not found" from Oracle when the query is executed: >pstmt.setString(1,"key"); > >However, this statement correctly returns the result set: >pstmt.setString(1,"key "); //assumes that the field is 8 characters > >Has anyone encountered this? Did you "fix" it? Do I really need to pad >my strings to their full length? > Is the data base column type CHAR or VARCHAR? Bob ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
