Posts

Gapless Sequence

Image
                                                  Gapless Sequence For this I have create new table in HR Make two columns as Ids and Names. Now create new application as hr connection   Create model part with table2 eo,vo,app module   In eo generate java classes as shows below   We have to write doDml statement in java class     ------------------- -----------------------------------------------------------------------------------------------------     protected void create(AttributeList attributeList) {         super.create(attributeList);         SequenceImpl se = new SequenceImpl("Final_SEQ",getDBTransaction());         this.setIds(se.getSequenceNumber());   ...

How to call Procedure function in UI page

Image
  Procedure call First we need to call procedure   query in HR connection we have a column as procedures in that we have create GET_EMPLOYEES in that run this query. -------------------------- ------------------------------------------------ --------------------------------------------   create or replace PROCEDURE GET_EMPLOYEES (   EMPID IN NUMBER , FNAME OUT VARCHAR2 , LNAME OUT VARCHAR2 , EMAIL OUT VARCHAR2 , DEPTID OUT NUMBER , SALARY OUT NUMBER ) AS BEGIN   select first_name,last_name,email,department_id,salary INTO FNAME,LNAME,EMAIL,DEPTID,SALARY from employees   where employee_id=EMPID;   dbms_output.put_line('Hello World 2022!');   dbms_output.put_line(FNAME);    dbms_output.put_line(LNAME);   dbms_output.put_line(EMAIL);    dbms_output.put_line(DEPTID);   dbms_output.put_line(SALARY); END GET_EMPLOYEES;   ----------------   ------------------------...

MemoryScopes

Image
  Memory Scopes:- I Have created New Application Here I am creating One Bounded TaskFlow From Bounded Task flow I have create Two View.jsff (testScopeView, testScopeView2). Here give control flow case from One page to Second page And in first page we can dragging drop Panel Header in Panel Header I am dragging drap 5 Input texts. And one Button also Give action to button Coming to second page( testScopeView2 ) Here also drag and drop one panel header In panel header I have drag and drop 5 Input Texts Now I have created one jspx page (ScopePage1) Add PanelHeader In Panel Header Draging drop 6 Input Texts and 2 Buttons. And create one Java.class Generate getter setters in valscope Here se scope value And give the value in ScopePage1 Here creates one method For set the scope value In adfc-cofig.xml I have created one more jspx page( ScopePage2 ) Drag and drop panel header In panel header I have dragging drop 5 input texts And give values And drag and drop button also and give action...