Community
Participate
Working Groups
Steps to reproduce: 1a. Have a project with at least one JPA entity or 1b. create new JPA project and a new JPA entity 2. Have the JPA Details view opened 3. Have the focus in the Java source of the JPA entity on the class name 4. Under Queries in the JPA Details view, create a new Named Query 5. In the Query text area, type: "select e from <entityName> e where" where <entityName> is the name of the entity 6. Select the JPQL identifier where and hit DELETE 7. Do CTRL-Z for undo Result: Validation does not show an error under the JPQL identifier where.
Created attachment 204975 [details] Adds a call to validate the query after doing an undo/redo operation
Checked into 3.0 maintenance and head
Verified in Build M-3.3.2-20111107175211 Verified JPQL shows validation error(s) if you enter incorrect query. See the link to view test steps for verification. http://wiki.eclipse.org/Dali_3.0.2