preparedstatment error
I have two select statements and make 'union all' for these two statements. Then, I use the PreparedStatement and when I setString to this preparedStatement, it shows "java.sql.SQLException: Missing IN or OUT parameter at index:: 2". After I toured around google, some people say that for each "?" in sql statment, I should write setStri...