Bug 534364 (RHQ-1168)

Summary: make hibernate.jsp work for insert / update / delete statements
Product: [Other] RHQ Project Reporter: Joseph Marques <jmarques>
Component: Core UIAssignee: Joseph Marques <jmarques>
Status: CLOSED NEXTRELEASE QA Contact: Jeff Weiss <jweiss>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dajohnso
Target Milestone: ---Keywords: Improvement
Target Release: ---   
Hardware: All   
OS: All   
URL: http://jira.rhq-project.org/browse/RHQ-1168
Whiteboard:
Fixed In Version: 1.2 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joseph Marques 2008-11-22 21:01:00 UTC
want this as a convenience for testing new insert / update / delete JPQL without having to compile / deploy constantly to perfect queries.

Comment 1 Joseph Marques 2008-11-22 21:02:40 UTC
rev2086 -hibernate.jsp supports insert / update / delete JPQL; 
query translation is not shown, but it will validate correctness and show the number of affected rows; 

Comment 2 Jeff Weiss 2009-02-09 18:15:06 UTC
/admin/test/hibernate.jsp, put in "Alert.deleteByCTime" for the "Named Query"
 then translate, entered 0,0 for begin/end, and executed.

got: "Executed in 1ms. Found or updated 0 rows. 1 round trips. "

rev2894

Comment 3 Red Hat Bugzilla 2009-11-10 20:27:12 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-1168