Bug 106901 - ds/query-plan/ is broken
Summary: ds/query-plan/ is broken
Alias: None
Product: Red Hat Web Application Framework
Classification: Retired
Component: dev environment
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: ccm-bugs-list
QA Contact: Jon Orris
Depends On:
Blocks: 108447
TreeView+ depends on / blocked
Reported: 2003-10-13 08:42 UTC by Carsten Clasohm
Modified: 2007-04-18 16:58 UTC (History)
0 users

Clone Of:
Last Closed: 2006-07-12 09:02:24 UTC

Attachments (Terms of Use)

Description Carsten Clasohm 2003-10-13 08:42:28 UTC
Description of problem:
When trying to view the Query Execution Plan in Developer Support, you get a
server error.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Enable Web Developer Support
2. Go to /ccm/ds/ and click on a request with at least one query 
3. Click on the ID of one of the database queries
4. Click on "Query Execution Plan"
Actual results:
server error

Expected results:
page displaying the execution plan

Additional info:
This is because of two bugs, or incompatibilities between QueryPlan and the 6.0
persistence code.

1. ConnectionManager.getCurrentThreadConnection() returns null in

2. The "queryPlan" query uses "level" as a column name. Persistence transforms
this query into a subquery, generating something like "st_.level as c_7". With
Oracle 9.2, this results in an "ORA-01747: invalid user.table.column,
table.column, or column specification" error, because "level" is a reserved keyword.

The fix can be found in changelist 36898.

Comment 1 Carsten Clasohm 2006-07-12 09:02:24 UTC
Closing old tickets.

Note You need to log in before you can comment on or make changes to this bug.