Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Dali 3.0.2
Revision as of 12:27, 9 November 2011 by Unnamed Poltroon (Talk)
Dali 3.0.2 Manual Testing
Bug No. | Description | Test Steps | Test Step Results |
342171 | Mapping One to Many - chooses override in Details and receive out-of-bounds error | Create JPA Project, Create JPA entity with at 2 fields (making one a key id field) | Project and entity are created successfully without error |
... | ... | Select the entity in the Structure pane, select the attribute that is not the id field, map the attribute as one to many | Attribute is mapped as one to many |
... | ... | In details section for 2nd attribute click on join columns override default
checkbox |
Verify no Out of Bounds error appears |
349533 | Generate Entities from Tables, cannot remove cascading of association | Create JPA 2.0, Generic 2.0 Project with DB connection | Project and Entity are created successfully |
... | ... | R-Click on Project and select New > JPA Entities From Tables | Generate Custom Entities dialog appears |
... | ... | Select two tables and click on the Next button | Table Associations page appear |
... | ... | Click on New Association (+) button and Add a one-to-one association | Association appears in Table associations list |
... | ... | Select the added association, Click on button to Select Cascade, Check persist checkbox and click on OK | Persist appears for Cascade field |
... | ... | Click on the Select Cascade button again and remove the checkbox from Persist and click on OK | Verify the Cascade field is blank and no errors appear |
354804 | Can't remove @NamedNativeQuery#resultClass field from ui | Create JPA project and JPA Entity | JPA Project and entity are created successfully |
... | ... | Select the Entity, Expand Queries in JPA Details section, Click on Add button | Add Query Dialog appears |
... | ... | Add a Native Named Query | Native Named Query is added successfully |
... | ... | Click on Browse button for Result Class and add a Result Class | Verify the class source shows the selected Result Class from the JPA Details pane |
... | ... | Remove the Result Class from the text field in JPA Details | Verify it is removed from the .java source |
357954 | CCE creating eclipselink-orm.xml file with access type set | Create an EclipseLink project | Project is created successfully |
... | ... | R-Click on the Project, Select New>EclipseLink ORM Mapping File | New EclipseLink Mapping File dialog appears |
... | ... | Click on the Next button, Click on Drop Down for Default Access | Verify None, Field and Property appear in the drop down list |
... | ... | Select Property from the drop down list and click on the finish button | Verify the EclipseLink ORM Mapping File is created successfully without an error |
... | ... | Remove the EL ORM Mapping file, Create a new one with Field instead of Property for the default access | Verify the EclipseLink ORM Mapping File is created successfully withou an error |
359585 | Missing bundle key in JPQL validation | Create JPA Project and JPA Entity and save project | JPA Project and Entity are created successfully |
... | ... | Add JPA orm mapping file to the project and add the entity to the orm mapping file | Entity is added to orm.xml file successfully |
... | ... | Add a named query via the JPA Details pane | Named query is added successfully |
... | ... | Add the following query for the named query in the JPA details pane Select o from Owner o JOIN o.pets and Save the project | Query is added successfully and without error |
... | ... | Place the cursor at the end of the query and then hit the backspace key to remove the s from pets and Save | Verify the project saved successfully and there is errors |
359644 | JPQL completion causes tabs and enters to be replaced by \t and \n | Create JPA project and JPA Entity with 2 fields and one of them being an ID | JPA project and Entity are created successfully |
... | ... | Create JPA ORM Mapping File | Mapping File is created successfully |
... | ... | Expand Queries for the orm.xml file in the JPA Details pane and Add a Named Query | Named Query is added successfully with error stating you need a Query Statement |
... | ... | Add the following Query statement in the orm.xml editor
<query> SELECT _testEntity FROM Address _testEntity WHERE _testEntity.Address_Id = :ID </query> |
Verify it appears in the JPA Details pane for Query and the error is removed |
360554 | NPE when changing a class to an enum (or enum to class) | Create JPA project and create a class | Project and class are created successfully |
... | ... | Open the class in the editor and Change Public class to Public enum | Verify class is changed to enum successfully and no errors appear in Error log |
... | ... | Create JAXB project and create a class | JAXB Project and class are created successfully |
... | ... | Open the class in the editor and Change Public class to Public enum | Verify class is changed to enum successfully and no errors appear in Error log |
360583 | No JPQL query validation when using undo/redo actions | Create JPA Project, Create JPA entity with 1 id field | Project and entity are created successfully |
... | ... | Select the entity, expand the Queries section and Add a query | Query is added successfully |
... | ... | Enter select e from <entityName> e where into the Query field | Query appears in the editor and where clause in Details pane appears with red underline |
... | ... | Select the JPQL identifier where and hit DELETE | Verify validation error disappears from the clause in JPA Details pane |
... | ... | Do CTRL-Z for undo | Verify the validation error appears in JPA Details pane for where clause |