User Profile
Collapse
-
Commit is not required because we got only one sql statment. If we have more sql INSERT, DELETE,.., a method commit confirm the whole transaction.... -
Now I figure out what was wrong:
while (xmlStreamReade r.hasNext()) {
li_count++;
int eventCode = xmlStreamReader .next();
switch (eventCode) {
case XMLStreamConsta nts.START_ELEME NT :
if ((xmlStreamRead er.getLocalName ()=="Error") && (xmlStreamReade r.getAttributeC ount()>0))
ls_description = xmlStreamReader .getAttributeVa lue(0);...Leave a comment:
-
Even If put lprepstmPhonebo okError.execute Update(ls_sql); after
...
case XMLStreamConsta nts.END_ELEMENT :
lprepstmPhonebo okError.setInt (1, li_phone_book_i d);
lprepstmPhonebo okError.setStri ng (2, ls_description) ;
lprepstmPhonebo okError.execute Update(ls_sql);
is stil not working. Result of this code:
2007-01-31 11:49:17,857 INFO...Leave a comment:
-
-
ORA-01008: not all variables bound
I'm trying to INSERT datas from XML file into table. I'dont know what is wrong with code below that I don't insert datas into the table. Please help
String ls_sql;
Integer li_phonebook_id = null;
String ls_description = null;
int li_count = 0;
Connection lconnPhonebookE rror...
No activity results to display
Show More
Leave a comment: