Click here to Skip to main content
15,888,401 members
Home / Discussions / Java
   

Java

 
QuestionSoftware Architekture With Design Pattern Pin
Member 114986694-Mar-15 7:03
Member 114986694-Mar-15 7:03 
AnswerRe: Software Architekture With Design Pattern Pin
jschell4-Mar-15 9:06
jschell4-Mar-15 9:06 
Questionabout java program for vfdt algorithm in data stream Pin
Member 114432123-Mar-15 22:28
Member 114432123-Mar-15 22:28 
AnswerRe: about java program for vfdt algorithm in data stream Pin
Richard MacCutchan3-Mar-15 22:58
mveRichard MacCutchan3-Mar-15 22:58 
Questionis there a better way to remove the last digit of a number and see if the remainder of the remaining digits is the same as the removed digit. [Solved] Pin
Khuthadzo Tshikotshi3-Mar-15 20:27
professionalKhuthadzo Tshikotshi3-Mar-15 20:27 
AnswerRe: is there a better way to remove the last digit of a number and see if the remainder of the remaining digits is the same as the removed digit. Pin
Richard MacCutchan3-Mar-15 23:04
mveRichard MacCutchan3-Mar-15 23:04 
GeneralRe: is there a better way to remove the last digit of a number and see if the remainder of the remaining digits is the same as the removed digit. Pin
Khuthadzo Tshikotshi4-Mar-15 19:40
professionalKhuthadzo Tshikotshi4-Mar-15 19:40 
QuestionGetting SQL Exception ORA-08103: object no longer exists in java Pin
Abhi_aec2-Mar-15 1:27
Abhi_aec2-Mar-15 1:27 
Below is my procedure signature:

SQL
PROCEDURE sp_trx(i_arr_Sust  IN    T_TAB_SUST,
                            o_locator_map    OUT   SYS_REFCURSOR,
                            o_pkid_map   OUT   SYS_REFCURSOR,
                            o_error    OUT   VARCHAR2) 

And below is my ref cursor inside procedure:

SQL
OPEN o_locator_map FOR
   SELECT c_uuid,
         c_id,
         r_locator,
         TO_CHAR(cj_creation_date, g_dt_format) c_date,
         TO_CHAR(cj_last_modified_date, g_dt_format) cj_last_modified_date,
         version_number
   FROM tmp_locator_map;

Below is data type in oracle:

c_uuid-->VARCHAR2(50 BYTE), c_id--> NUMBER, r_locator--> VARCHAR2(10 BYTE)
And below is my Java process for procedure:

Java
String insertStoreProc = "{call PKG_LOADER.sp_trx(?,?,?,?)}";
CallableStatement callableStatement  = con.prepareCall(insertStoreProc);
            callableStatement.setObject(1, returninParam, 2003);
            callableStatement.registerOutParameter(2, OracleTypes.CURSOR);
            callableStatement.registerOutParameter(3, OracleTypes.CURSOR);
            callableStatement.registerOutParameter(4, java.sql.Types.VARCHAR);
            callableStatement.execute();
            ResultSet rset =((OracleCallableStatement) callableStatement).getCursor(2);

            while (rset.next()){
                 String c_uuid = rset.getString(1);
                      }

Now Problem is i'm getting below mention exception at rset.next():

java.sql.SQLException: ORA-08103: object no longer exists
Kindly suggest. Thanks in advance

modified 2-Mar-15 7:35am.

AnswerRe: Getting SQL Exception ORA-08103: object no longer exists in java Pin
Richard MacCutchan2-Mar-15 2:34
mveRichard MacCutchan2-Mar-15 2:34 
GeneralRe: Getting SQL Exception ORA-08103: object no longer exists in java Pin
Abhi_aec2-Mar-15 23:23
Abhi_aec2-Mar-15 23:23 
GeneralRe: Getting SQL Exception ORA-08103: object no longer exists in java Pin
Richard MacCutchan2-Mar-15 23:35
mveRichard MacCutchan2-Mar-15 23:35 
QuestionHow toread JSON file from disk and want to convert it into byteArray[] object. Pin
Abhi_aec1-Mar-15 20:29
Abhi_aec1-Mar-15 20:29 
AnswerRe: How toread JSON file from disk and want to convert it into byteArray[] object. Pin
Richard MacCutchan1-Mar-15 22:59
mveRichard MacCutchan1-Mar-15 22:59 
AnswerRe: How toread JSON file from disk and want to convert it into byteArray[] object. Pin
Afzaal Ahmad Zeeshan2-Mar-15 3:06
professionalAfzaal Ahmad Zeeshan2-Mar-15 3:06 
QuestionMethod Pin
Member 1147410123-Feb-15 16:46
Member 1147410123-Feb-15 16:46 
AnswerRe: Method Pin
SakthivelPalaniyappan23-Feb-15 18:52
SakthivelPalaniyappan23-Feb-15 18:52 
AnswerRe: Method Pin
Afzaal Ahmad Zeeshan23-Feb-15 20:31
professionalAfzaal Ahmad Zeeshan23-Feb-15 20:31 
GeneralRe: Method Pin
Member 1147410126-Feb-15 13:51
Member 1147410126-Feb-15 13:51 
SuggestionRe: Method Pin
Richard MacCutchan24-Feb-15 0:12
mveRichard MacCutchan24-Feb-15 0:12 
Questioncompiling my code Pin
Member 1147410123-Feb-15 15:52
Member 1147410123-Feb-15 15:52 
SuggestionRe: compiling my code Pin
Richard MacCutchan23-Feb-15 21:51
mveRichard MacCutchan23-Feb-15 21:51 
Questionadding multiply and division method Pin
Member 1147410123-Feb-15 14:29
Member 1147410123-Feb-15 14:29 
AnswerRe: adding multiply and division method Pin
Akash gods23-Feb-15 17:06
professionalAkash gods23-Feb-15 17:06 
GeneralRe: adding multiply and division method Pin
Member 1147410124-Feb-15 3:35
Member 1147410124-Feb-15 3:35 
AnswerRe: adding multiply and division method Pin
Richard MacCutchan23-Feb-15 21:50
mveRichard MacCutchan23-Feb-15 21:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.