SQL-055: ClaimPaymentQueryProvider.GetSpecialHandlingCode¶
This statement is a read operation invoked through ORM (NHibernate LINQ). Executed by ClaimPaymentQueryProvider.GetSpecialHandlingCode.
Classification¶
| Field | Value |
|---|---|
| SQL ID | SQL-055 |
| Operation type | Read |
| Execution method | ORM (NHibernate LINQ) |
| Database | Oracle* |
| Schema | [unqualified]** |
| Command type | N/A (ORM-generated) |
| Business object | ClaimPaymentQueryProvider |
| Criteria property | N/A — ORM |
| Lifecycle method | GetSpecialHandlingCode |
Parameters¶
| Parameter | Direction | Type | Max length | Description |
|---|---|---|---|---|
code |
Input | string | N/A | Method argument of ClaimPaymentQueryProvider.GetSpecialHandlingCode bound into the ORM expression; NHibernate generates the bind variable at runtime |
Tables¶
| Table | Access | Columns used |
|---|---|---|
| CL_PAYMENT_SPCL_HANDLING_CODE | SELECT | CODE, CODE_DESCR, UPDATE_DATE, UPDATE_USER, UPDATE_NUM |
LINQ statement¶
Source: Data/SAIF.Data/Queries/Claims/ClaimPaymentQueryProvider.cs:20.
Sample SQL¶
Inferred SQL: This SQL was inferred from the LINQ statement above and the NHibernate mappings. It is not concrete SQL from source code; NHibernate generates the executed statement at runtime, so aliases, column order, join syntax, and bind-parameter names may differ.
-- Inferred from LINQ (NHibernate mapping translation); not concrete SQL
SELECT *
FROM (
SELECT
CPSHC.CODE,
CPSHC.CODE_DESCR,
CPSHC.UPDATE_DATE,
CPSHC.UPDATE_USER,
CPSHC.UPDATE_NUM
FROM CL_PAYMENT_SPCL_HANDLING_CODE CPSHC
WHERE CPSHC.CODE = :code
)
WHERE ROWNUM <= 1
Operations and processes¶
Sources¶
Data/SAIF.Data/Queries/Claims/ClaimPaymentQueryProvider.cs:20