Differences
This shows you the differences between two versions of the page.
get_started:execute_project [2020/04/21 11:13] |
get_started:execute_project [2020/04/21 11:13] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Run Eclipse Application ====== | ||
+ | |||
+ | At the root of your project, select the file called <wrap adicode>{YOUR_PROJECT_NAME}.product</wrap> Right-click, then : <wrap adicode>Run As / Eclipse Application Alt+XShift+X, E</wrap> | ||
+ | <columns 100% l 400px> | ||
+ | {{:get_started:run_application.png?400 |Run Application}} | ||
+ | </columns> | ||
+ | \\ | ||
+ | <WRAP indic>Before running the application, database and application server (JEE context) must be started up.\\ | ||
+ | //<sub>(The first launch could fail due to a "missing constraint", in which case cancel the launch and restart it once. see [[https://bugs.eclipse.org/bugs/show_bug.cgi?id=559196|Eclipse bug 559196]]).</sub>// | ||
+ | </WRAP> | ||
+ | \\ \\ | ||
+ | ====== Start a Query editor ====== | ||
+ | <columns 100% l 400px> | ||
+ | {{:get_started:launch_query.jpg?400 |Launch query}} | ||
+ | <newcolumn left> | ||
+ | A context menu provides several options. | ||
+ | * Select <wrap adicode>launch the query</wrap> from the context menu (right-click). | ||
+ | |||
+ | <WRAP adihi>Outline panel provides: | ||
+ | * Pagination. | ||
+ | * Query parameters management. | ||
+ | * Cross-references access. | ||
+ | * A way to store or to retrieve your preferences for the query. | ||
+ | </WRAP> | ||
+ | <html><center></html> | ||
+ | **Select a row the Double-click on it.\\ | ||
+ | A new editor opens...** | ||
+ | <html><center></html> | ||
+ | </columns> | ||
+ | \\ | ||
+ | \\ | ||
+ | ====== Start a Entity editor ====== | ||
+ | <columns 100% l 400px> | ||
+ | {{{{tutorial:entity_editor:1_detail.jpg?400 |Entity editor}} | ||
+ | <newcolumn left> | ||
+ | Three tabs at the bottom/left of the editor allow: | ||
+ | - <wrap adicode>Edit</wrap> Edit detail of the entity. | ||
+ | - <wrap adicode>Dependencies</wrap>: In only one page, you can manage all the depending entities (OneToMany or ManyToOne relationship). | ||
+ | - <wrap adicode>filmText</wrap>: Edit the unique entity <wrap adicode>filmText</wrap> linked to the current <wrap adicode>film</wrap> (OneToOne relationship). | ||
+ | \\ | ||
+ | <html><center></html> | ||
+ | **Click on <wrap adicode>Dependencies</wrap> tab.** | ||
+ | <html><center></html> | ||
+ | </columns> | ||
+ | \\ \\ | ||
+ | <columns 100% l 400px middle> | ||
+ | {{:get_started:dependencies.jpg?400 |Entity editor}} | ||
+ | <newcolumn left> | ||
+ | * You can choose the kind of dependencies by using tab folder. | ||
+ | * Master / Detail feature offers to execute CRUD operation on any dependency. | ||
+ | * Field first name is empty so that an error is fired. | ||
+ | * Editor, section and table have dirty status. | ||
+ | </columns> | ||