1. Invalid cursor state coderanch.comHi do you know how to solve the invalid cursor state error I am getting on this code. I am actually trying to do a query inside another query. thanks for your help public synchronized Vector getafacturer( Remote handle) throws java.rmi.RemoteException { try{ Statement st2 = initTransaction(handle); if(st2 != null) { clientInfos client = getClientInfosFromHandle(handle); if( (client.classLevel == ADMINISTRATOR) | | ... | ||||||||
2. Invalid cursor state? coderanch.com | ||||||||
3. Invalid Cursor State HELP! coderanch.com | ||||||||
4. Invalid Cursor state- Please help coderanch.comA simple problem, which is to hard for me to solve. Im trying to get my program to make sure that duplicate records arent added to a database. I've created a select query (see below) which brings in the values from the selected options, when the add record button is clicked. Where roomNumberValue, courseCodeValue etc are index values of combo boxes. ... | ||||||||
5. CLI0115E Invalid cursor state coderanch.comHi, I am getting CLI0115E Invalid cursor state error when i run the following code conn = getConnection(); query.append(" SELECT MAX(SUBSTR(SAP_BATCH_NUM,1,10))AS SAP_BATCH_NUM FROM FN_PAY_TRN "); ps = conn.prepareStatement(query.toString()); ps.execute(); rs = ps.getResultSet(); rs.getString("SAP_BATCH_NUM");//iam getting this error at this level i tried same query from command line processer it is working. Please help me to solve this problem. when i printed rs.wasNull() ... | ||||||||
6. invalid cursor state coderanch.com | ||||||||
7. invalid cursor state coderanch.comhi, im retrievin values from my db, and at the same time up dating my db, with new values from the gui after verification. i am not using rs.next() because the pointer is going straight to get the info with respet to the idno. After sending the message i get an invalid cursor state,and the values am supposed to retrieve are ... | ||||||||
8. Invalid cursor state coderanch.com
|