SQL状态[null];错误代码[0]; DSRA9110E:连接已关闭

时间:2013-04-30 15:25:50

标签: java sql oracle database-connection datasource

以下查询在一个环境中运行良好,但在另一个环境中出现以下错误:

  

SQL state [null];错误代码[0]; DSRA9110E:连接已关闭。

嵌套异常是

  

com.ibm.websphere.ce.cm.ObjectClosedException:DSRA9110E:连接已关闭。

我无法弄清楚两件事:

  1. 这个错误是什么意思SQL state [null];错误代码[0]; DSRA9110E:连接已关闭。

  2. 此查询失败的环境有什么问题?

  3. 以下是查询:

     SELECT DISTINCT 
            PERS_ALST_NAVIG,
            PERS_ALST_PERSNUM,
        PERS_ALST_FIRSTNAME,
        PERS_ALST_LASTNAME, 
        PERS_ALST_DOB,
        ENT_PERS
        FROM (
        SELECT 
        TRIM(CUSTOMER_SOURCE_REF_ID) AS PERS_ALST_NAVIG,
        TRIM(CUSTOMER_SOURCE_REF_ID)  AS PERS_ALST_PERSNUM,
        FIRST_NAME              AS PERS_ALST_FIRSTNAME,
        LAST_NAME               AS PERS_ALST_LASTNAME, 
        DATE_OF_BIRTH           AS PERS_ALST_DOB
        FROM (
        SELECT 
        DISTINCT
        cust.CUSTOMER_SOURCE_REF_ID  ,
        cust.FIRST_NAME              ,
        cust.LAST_NAME               , 
        cust.DATE_OF_BIRTH               
        FROM V_CUSTOMERS cust 
        LEFT OUTER JOIN V_CUSTOMER_ACCOUNT_LINK cal
                     ON cust.CUSTOMER_SOURCE_UNIQUE_KEY1 = cal.CUSTOMER_SOURCE_UNIQUE_KEY1
                    AND cust.customer_source_unique_key2 = cal.customer_source_unique_key2
        WHERE 
        cust.CUSTOMER_TYPE_GROUP = 'Person'
        and
        ([=reserved.function.call.OrgUnitFilterKeys('cust.ORG_UNIT_CODE', '/OrgUnit Filtering')])
        ) x 
        WHERE [whereCondition]
        ) y
    

    提前致谢, Reeya

0 个答案:

没有答案