Greetings,
The code below creates a runtime Null Pointer Exception.
Can anyone tell me why? If I replace the ':well' and ':attach' with '?', everything works fine, but I dont think I should have to do that.
////////////////////////////////////////////////////////////
queryString = "Select Path From LW_ATTACHMENT Where Well_Id=:well and Attachment_Id=:attach";
ps = conn.prepareStatement(queryString);
ps.setString(1, "1"
ps.setString(2, "27038"
rset = ps.executeQuery();
////////////////////////////////////////////////////////////
Thanks alot people
The code below creates a runtime Null Pointer Exception.
Can anyone tell me why? If I replace the ':well' and ':attach' with '?', everything works fine, but I dont think I should have to do that.
////////////////////////////////////////////////////////////
queryString = "Select Path From LW_ATTACHMENT Where Well_Id=:well and Attachment_Id=:attach";
ps = conn.prepareStatement(queryString);
ps.setString(1, "1"
ps.setString(2, "27038"
rset = ps.executeQuery();
////////////////////////////////////////////////////////////
Thanks alot people