oracle.jbo.TxnValException: JBO-27023: Failed to validate all rows in a transaction.
Detail :- oracle.jbo.RowValException: JBO-27024:
user may try to insert more then single row in DB with Same primary Key.
for Instance:----
ViewObject vo = (ViewObject)dit.getViewObject();
CityViewRowImpl cvrt=(CityViewRowImpl)vo.createRow();
cvrt.setCity1("California1");
cvrt.setState("Arizona1"); // if state is primary key then if this method called many times Excep.throw
vo.insertRow(cvrt);
vo.getApplicationModule().getTransaction().commit();
Detail :- oracle.jbo.RowValException: JBO-27024:
user may try to insert more then single row in DB with Same primary Key.
for Instance:----
ViewObject vo = (ViewObject)dit.getViewObject();
CityViewRowImpl cvrt=(CityViewRowImpl)vo.createRow();
cvrt.setCity1("California1");
cvrt.setState("Arizona1"); // if state is primary key then if this method called many times Excep.throw
vo.insertRow(cvrt);
vo.getApplicationModule().getTransaction().commit();
No comments:
Post a Comment