There are two tables, Departments and Employees . When you select a row in Departments , the employeesID jumps to the Employees table.

It is necessary to implement the creation of a new row in Employees via java-code with pre-filling the DepartmentId field according to the branch selected on the first table.

How to create such a line programmatically?

Used by: Oracle ADF, JDeveloper.

  • one
    And what is the question? - default locale
  • How, in fact, to create such a line through java code - WORK
  • 2
    It is necessary to include the existing code in the question (where DepartmentId is chosen) in order to make it clear where to start. You also need to specify exactly what you see the problem: do you know how to insert rows into the table? - default locale

0