A statement is not refreshed as if Statement Caching was enabled

Here is the c# code:
OracleConnection conn = null;
OracleCommand cmd;
OracleDataReader reader = null;
string tname;
conn = new OracleConnection("Data Source=ora10gen;User ID=scott;Password=tiger;");
conn.Open();
cmd = conn.CreateCommand();
cmd.CommandText = "drop table testblob";
cmd.ExecuteNonQuery();
cmd.CommandText = "create table testblob (idfld integer not null, col_bin clob)";
cmd.ExecuteNonQuery();
cmd.CommandText = "insert into testblob(idfld,col_bin) values(1,empty_clob())";
cmd.ExecuteNonQuery();
cmd.CommandText = "select col_bin, rowid from testblob";
reader = cmd.ExecuteReader();
reader.Read();
//I get the type name is "clob"
tname = reader.GetDataTypeName(0);
reader.Close();
//now I recreate the table and change column cob_bin type to blob
cmd.CommandText = "drop table testblob";
cmd.ExecuteNonQuery();
cmd.CommandText = "create table testblob (idfld integer not null, col_bin blob null)";
cmd.ExecuteNonQuery();
cmd.CommandText = "insert into testblob(idfld,col_bin) values(1,empty_blob())";
cmd.ExecuteNonQuery();
cmd.CommandText = "select col_bin, rowid from testblob";
reader = cmd.ExecuteReader();
reader.Read();
//after read(), I get an exception "ORA-00932: inconsistent datatypes: expected CLOB got BLOB"
tname = reader.GetDataTypeName(0);
reader.Close();
//seems data type of col_bin is not refreshed in client.

See the response to the following forum item:
Oracle returning incorrect schema information ?
Matthew Solnit Mar 19, 2005 1:28 AM by: IT Panther »
If this is important to you there is some workaround code listed in previous item but this may not work in the future.....

Similar Messages

  • Enforcement states for a deployment report status is not refresh..

    Enforcement states for a deployment report status is not refresh.
    We have deployed patches by software update and monitoring status by checking report
    Enforcement states for a deployment. We have observed status difference in report and in actual PC. Status of One PC is
    Downloaded update in report  but actually that patch was
    installed on PC.
    why this difference and what is the solution to solve this.

    Hi Garth - I don't recreate the SU group. I recreate the deployment from
    the SU group.
    The SU Group contains all deployed updates and the deployment is a "catch-up" and targets a collection of all clients on the particular platform ie. Server 2008 R2. It's a mandatory deployment and I've set it to report "all messages" as opposed to the default
    "success and failure".
    There's no particular SU that are showing ESU. It's the client that shows ESU via the report "Enforcement States for a Deploymennt", and it's only ever the clients that were "Pending System Restart" previously that change to "Enforcement State
    Unknown". The software centre on these clients all know they're pending restart, and if the pending restart is performed on the client it will then change to "Compliant", but it never changes from ESU while its real state is "Pending Restart".
    Hopefully that clarifies the scenario.
    Like I said, I have a workaround, but I'd like to eliminate this behaviour on all my SCCM 2012 instances which are all affected.

  • Java.sql.SQLException: Statement cache size has not been set

    All,
    I am trying to create a light weight SQL Layer.It uses JDBC to connect to the database via weblogic. When my application tries to connect to the database using JDBC alone (outside of weblogic) everything works fine. But when the application tries to go via weblogic I am able to run the Statement objects successfully but when I try to run PreparedStatements I get the following error:
    java.sql.SQLException: Statement cache size has not been set
    at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:138)
    at weblogic.jdbc.rmi.internal.ConnectionImpl_weblogic_jdbc_wrapper_PoolConnection_oracle_jdbc_driver_OracleConnection_812_WLStub.prepareStatement(Unknown Source)
    i have checked the StatementCacheSize and it is 10. Is there any other setting that needs to be implemented for this to work? Has anybody seen this error before? Any help will be greatly appreciated.
    Thanks.

    Pooja Bamba wrote:
    I just noticed that I did not copy the jdbc log fully earlier. Here is the log:
    JDBC log stream started at Thu Jun 02 14:57:56 EDT 2005
    DriverManager.initialize: jdbc.drivers = null
    JDBC DriverManager initialized
    registerDriver: driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@12e0e2f]
    DriverManager.getDriver("jdbc:oracle:oci:@devatl")
    trying driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@12e0e2f]
    getDriver returning driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@12e0e2f]
    Oracle Jdbc tracing is not avaliable in a non-debug zip/jar file
    DriverManager.getDriver("jdbc:oracle:oci:@devatl")
    trying driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@12e0e2f]
    getDriver returning driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@12e0e2f]
    DriverManager.getDriver("jdbc:oracle:oci:@devatl")
    trying driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@12e0e2f]
    getDriver returning driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@12e0e2f]
    DriverManager.getDriver("jdbc:oracle:oci:@devatl")
    trying driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@12e0e2f]
    getDriver returning driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@12e0e2f]
    DriverManager.getDriver("jdbc:oracle:oci:@devatl")
    trying driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@12e0e2f]
    getDriver returning driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@12e0e2f]
    registerDriver: driver[className=weblogic.jdbc.jts.Driver,weblogic.jdbc.jts.Driver@c0a150]
    registerDriver: driver[className=weblogic.jdbc.pool.Driver,weblogic.jdbc.pool.Driver@17dff15]
    SQLException: SQLState(null) vendor code(17095)
    java.sql.SQLException: Statement cache size has not been set
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)Hi. Ok. This is an Oracle driver bug/problem. Please show me the pool's definition
    in the config.xml file. I'll bet you're defining the pool in an unusual way. Typically
    we don't want any driver-level pooling to be involved. It is superfluous to the functionality
    we provide, and can also conflict.
    Joe
         at oracle.jdbc.driver.OracleConnection.prepareCallWithKey(OracleConnection.java:1037)
         at weblogic.jdbc.wrapper.PoolConnection_oracle_jdbc_driver_OracleConnection.prepareCallWithKey(Unknown Source)
         at weblogic.jdbc.rmi.internal.ConnectionImpl_weblogic_jdbc_wrapper_PoolConnection_oracle_jdbc_driver_OracleConnection.prepareCallWithKey(Unknown Source)
         at weblogic.jdbc.rmi.internal.ConnectionImpl_weblogic_jdbc_wrapper_PoolConnection_oracle_jdbc_driver_OracleConnection_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    SQLException: SQLState(null) vendor code(17095)

  • Report does not refresh when link to page

    I have a report on page 1 with a column link to a report on page 2.
    The link sets items on page 2.
    If I use the 'Page in this Application' from the column link, the items on page 2 are set and the report is automatically refreshed.
    If I use the 'URL' in the column link, the items are set but the report on page 2 is not refreshed. I have more than 3 items to pass via the link so I have to use the URL. The url syntax is correct - if I click a Go button on page 2 the data refreshes fine.
    I have the same problem when clicking a tab that I have set to clear the page items - the tab clears the cache on the target page but the data in the report is not refreshed until I click the go button.
    The items on page 2 are select lists and text (always submit when enter pressed).
    How can I get the report on page 2 to auto refresh without the user having to click the Go button?
    Message was edited by: kgamble
    kgamble

    I can't post the pages (site reasons) but here's the debug.
    All the item values are set correctly to what I want but at point 041 - I get the custom "no rows returned error". If I click the refresh button (essentially a submit with go) the date appears.
    I am now using the link set up to go to 'Page in Application' with clear cache and 3 item variables set and reset pagination ticked and the request of Go (its the same result without the request and the pagination unticked).
    Any ideas?
    Thanks
    Kathryn
    0.00:
    0.00: S H O W: application="129" page="8" workspace="" request="Go" session="8392008407576157812"
    0.02: Language derived from: FLOW_PRIMARY_LANGUAGE, current browser language: en-gb
    0.02: alter session set nls_language="ENGLISH"
    0.02: alter session set nls_territory="UNITED KINGDOM"
    0.02: NLS: CSV charset=WE8MSWIN1252
    0.02: ...NLS: Set Decimal separator="."
    0.02: ...NLS: Set NLS Group separator=","
    0.02: ...NLS: Set date format="DD-MON-RR"
    0.02: ...Setting session time_zone to dbtimezone
    0.02: NLS: Language=en-gb
    0.02: Application 129, Authentication: CUSTOM2, Page Template: 3508132500492586
    0.03: ...Supplied session ID can be used
    0.03: ...Application session: 8392008407576157812, user=PENTESTER
    0.03: ...Determine if user "KGAMBLE" workspace "1728921676563485" can develop application "129" in workspace "1728921676563485"
    0.03: Session: Fetch session header information
    0.03: Saving g_arg_names=P8_IDR and g_arg_values=Y
    0.05: ...Session State: Save "P8_IDR" - saving same value: "Y"
    0.05: Saving g_arg_names=P8_STATUS and g_arg_values=Outstanding
    0.05: ...Session State: Save "P8_STATUS" - saving same value: "Outstanding"
    0.05: Saving g_arg_names=P8_SECTION and g_arg_values=P
    0.05: ...Session State: Save "P8_SECTION" - saving same value: "P"
    0.05: ...Metadata: Fetch page attributes for application 129, page 8
    0.05: Fetch session state from database
    0.05: Branch point: BEFORE_HEADER
    0.05: Fetch application meta data
    0.05: Authorization Check: "4732024931692101" User: "PENTESTER" Component: "PAGE"
    0.06: Clear cache: request=RP
    0.06: ...Resetting pagination for page
    0.06: Clear cache: request=8
    0.06: ...Clearing Cache for Page 8
    0.06: Nulling cache for application "129" page: 8
    0.08: Saving g_arg_names=P8_IDR and g_arg_values=Y
    0.08: ...Session State: Saved Item "P8_IDR" New Value="Y"
    0.08: Saving g_arg_names=P8_STATUS and g_arg_values=Outstanding
    0.08: ...Session State: Saved Item "P8_STATUS" New Value="Outstanding"
    0.08: Saving g_arg_names=P8_SECTION and g_arg_values=P
    0.08: ...Session State: Saved Item "P8_SECTION" New Value="P"
    0.08: Computation point: BEFORE_HEADER
    0.08: Processing point: BEFORE_HEADER
    0.09: Show page template header
    0.09: Computation point: AFTER_HEADER
    0.09: Processing point: AFTER_HEADER
    0.11: Authorization Check: "4732329087693375" User: "PENTESTER" Component: "parenttab"
    0.13: Authorization Check: "6131220670151932" User: "PENTESTER" Component: "parenttab"
    Home New Complaint
    Existing Data
    Logout |
    Complaints Complainants
    0.14: Region: Complainant Search
    Complainant Search
    0.14: Item: P8_SD_SEARCH TEXT_WITH_ENTER_SUBMIT
    SD Number
    0.16: Item: P8_SURNAME COMBOBOX Complainant -- All -- ARDVARK ARMSTRONG BAKER BLOGGS CHICKEN HARPER HILL JONES PERRY REAPER ROBINSON SHERMAN SMITH T WATSON
    0.16: Item: P8_NI_SEARCH TEXT_WITH_ENTER_SUBMIT
    NI Number
    0.16: Region: criteria_go
    0.16: Item: P8_GO BUTTON
    0.17: Item: P8_ROWS COMBOBOX Number of complaints per page 10 15 20 30 50 100 200 500 1000 5000
    0.17: Region: Complaint Search
    Complaint Search
    The list of complaints must match ALL of these specified search criteria:
    0.19: Item: P8_START PICK_DATE_DD_MON_YYYY
    Start
    0.19: Item: P8_END PICK_DATE_DD_MON_YYYY
    End
    0.20: Authorization Check: "4733005669696056" User: "PENTESTER" Component: ""
    0.20: Item: P8_TARGET COMBOBOX
    Target -- All -- Acknowledgement In Target Acknowledgement Target not Met Acknowledgement Pending Final Response In Target Final Response Target not Met Final Response Pending
    0.22: Item: P8_RECUR COMBOBOX
    Recurrent? -- All -- YES NO
    0.22: Item: P8_PAY_E COMBOBOX Ex Gratia/Interest
    Payments -- Select -- YES NO
    0.23: Item: P8_IDR COMBOBOX
    Type of Complaint -- All -- IDR Other Complaint
    0.23: Item: P8_STATUS COMBOBOX Status -- All -- Outstanding Completed 01-Jan-2007 05-Feb-2007 05-Mar-2007 12-Feb-2007 12-Mar-2007 15-Jan-2007 22-Jan-2007 26-Feb-2007 29-Jan-2007
    0.23: Computation point: BEFORE_BOX_BODY
    0.23: Processing point: BEFORE_BOX_BODY
    0.25: Region: Complaints List
    Complaints List
    0.25: show report
    0.28: Authorization Check: "4733005669696056" User: "PENTESTER" Component: "COLUMN"
    0.28: determine column headings
    0.28: activate sort
    0.38: parse query as: GENERAL1
    0.38: binding: ":P8_NI_SEARCH"="P8_NI_SEARCH" value=""
    0.39: binding: ":P8_SD_SEARCH"="P8_SD_SEARCH" value=""
    0.39: binding: ":P8_SURNAME"="P8_SURNAME" value="AA"
    0.39: binding: ":P8_START"="P8_START" value=""
    0.39: binding: ":P8_END"="P8_END" value=""
    0.39: binding: ":P8_SECTION"="P8_SECTION" value="P"
    0.39: binding: ":P8_STATUS"="P8_STATUS" value="Outstanding"
    0.39: binding: ":P8_TARGET"="P8_TARGET" value=""
    0.39: binding: ":P8_IDR"="P8_IDR" value="Y"
    0.39: binding: ":P8_RECUR"="P8_RECUR" value="AA"
    0.39: binding: ":P8_PAY_E"="P8_PAY_E" value="X"
    0.41: print column headings
    0.41: rows loop: 15 row(s)
    There are no complaints matching the criteria. Please double check all the criteria in the boxes above.
    0.42: Computation point: AFTER_BOX_BODY
    0.42: Processing point: AFTER_BOX_BODY

  • Multiple Select List does not Refresh with Dynamic Action

    All,
    Scenario:
    Using APEX 4.2.2, I have a Select List page item (P4_SPONSOR) set to allow multiple values which has a dynamic LOV to populate the list.  What I would like to do is highlight the display values based on another page item's value (P4_DRIVER_ID).  When I set the source of P4_SPONSOR to static text, such as a delimited string of 1:2:3:4, any display values where the return values are equal to the static text are highlighted when the page loads.
    Problem:
    The problem lies in trying to use a query as a source for P4_SPONSOR which is filtered based on the other page item, P4_DRIVER_ID.  For instance, my SQL Query (returning colon separated values) returns the same as the static text noted above.  In the query's WHERE clause, I specify that the driver's ID is equal to P4_DRIVER_ID:
    SELECT sponsor_id
    FROM sponsors_drivers_xref
    WHERE driver_id = :P4_DRIVER_ID;
    This, as I understand it, would necessitate a refresh of P4_SPONSOR whenever the value of P4_DRIVER_ID changes.  So, I have a Dynamic Action that does just that.  When executed on the page, I can see the P4_SPONSOR multiple select list actually refresh, but none of the display values become highlighted.
    Thoughts?
    Thanks,
    -Seth.

    Seth,
    A dynamic action refresh of your select list will refresh the list of values (this is what you are seeing), it will not refresh the value of the item itself.  In fact, it will remove any values that you had already selected.  To refresh the value you will need to add additional dynamic actions.
    Create another dynamic action with:
    Event: After Refresh
    Selection Type: Item(s)
    Item(s): P4_SPONSOR
    If this was a normal select list you could just create a Set Value action and use your query to set the value of the select list.  Since this is a multiple select list your will need to get your colon delimited value first and then use some javascript to set the values of your select list.
    Create an hidden page item name P4_SPONSOR_TEMP.
    Add a true action to your new dynamic action:
    Action: Set Value
    Set Type: SQL Statement
    SQL Statement:
    SELECT sponsor_id
    FROM sponsors_drivers_xref
    WHERE driver_id = :P4_DRIVER_ID;
    Page Items to Submit: P4_DRIVER_ID
    Selection Type: Item(s)
    Item(s): P4_SPONSOR_TEMP
    Add another true action to your new dynamic action:
    Action: Set Value
    Set Type: JavaScript Expression
    JavaScript Expression:
    $("#P4_SPONSOR_TEMP").val().split(":")
    Selection Type: Item(s)
    Item(s): P4_SPONSOR
    --Jeff

  • Upgraded ZENworks Primary Server Will Not Refresh

    Good Afternoon,
    I recently upgraded our primary server from ZENworks 11.2-11.3a.
    The upgrade procedure completed with no errors. However, the server will not refresh it's status in the ZENworks Control Center. Control Center continues to report the server as 11.2.0.0. The UI of the Control Center is upgraded. The agent continues to push back the next contact with server time without updating the last contact with server time
    Things I have tried:
    -doing a manual refresh through control center gives a "Connection Failed" error
    -doing a manual refresh with zac ref completes successfully but does not update anything
    -cleared the agent cache using zac cc
    Any help would be appreciated.
    Thank you very much!

    Try the solution you find in this thread:
    http://forums.novell.com/novell-prod...nt-management/
    zenworks/configuration-management/zcm-11/zcm11-agent-deployment-linux/45
    5516-how-recover-lost-trust-relationship-zone-configuration-between-linu
    x-zcm-agent-primary-zone-server-running-same-machine.html
    W. Prindl
    wpico wrote:
    >
    >CRAIGDWILSON;2331318 Wrote:
    >> This is because the Agent Service (Servers have an agent too)
    >>cannot talk to the zone.
    >>
    >> Normally the only time this is noticed is during a "System Update",
    >> since this is one of the few times the failure would be noted.
    >>
    >> However, the 11.3.0 Upgrade would not have relied on the agent
    >>server and since you upgraded from 11.2.0, another ISO install, it
    >>is quite possible there were always some issues there.
    >>
    >> "zac retr" might help, but it also may be wise to open an SR so
    >>they can
    >> see what is wrong and not just have you poking and prodding your
    >>only primary.
    >>
    >>
    >> On 8/28/2014 4:46 PM, wpico wrote:
    >> >
    >> > nop1983;2331309 Wrote:
    >> >> wpico wrote:
    >> >>
    >> >>>
    >> >>> Good Afternoon,
    >> >>>
    >> >>> I recently upgraded our primary server from ZENworks
    >>11.2-11.3a. >>>
    >> >>> The upgrade procedure completed with no errors. However, the
    >> server
    >> >>> will not refresh it's status in the ZENworks Control Center.
    >> Control
    >> >>> Center continues to report the server as 11.2.0.0. The UI of
    >>the >>> Control Center is upgraded. The agent continues to push
    >>back the next
    >> >>> contact with server time without updating the last contact with
    >> server
    >> >>> time
    >> >>>
    >> >>> Things I have tried:
    >> >>> -doing a manual refresh through control center gives a
    >>"Connection >>> Failed" error
    >> >>> -doing a manual refresh with zac ref completes successfully but
    >> does
    >> >>> not update anything
    >> >>> -cleared the agent cache using zac cc
    >> >>>
    >> >>> Any help would be appreciated.
    >> >>>
    >> >>> Thank you very much!
    >> >>
    >> >> Only one server?
    >> >> Sounds like the agent could have lost the trust, somehow... The
    >> update
    >> >> went fine?
    >> >>
    >> >> --
    >> >> Niels
    >> >> I have always liked... Cowabunga!
    >> >>
    >> >> If you find this post helpful, please show your appreciation by
    >> clicking
    >> >> on the star below.
    >> >> A member must be logged in before s/he can assign reputation
    >>points. >
    >> > Completed with no errors, The log file was all green.
    >> >
    >> >
    >>
    >>
    >> --
    >> Going to Brainshare 2014?
    >> http://www.brainshare.com
    >> Use Registration Code "nvlcwilson" for $300 off!
    >>
    >>
    >> Craig Wilson - MCNE, MCSE, CCNA
    >> Novell Technical Support Engineer
    >>
    >> Novell does not officially monitor these forums.
    >>
    >> Suggestions/Opinions/Statements made by me are solely my own.
    >> These thoughts may not be shared by either Novell or any rational
    >>human.
    >
    >When I run zac retr I get, "Failed to re-establish trust with zone"

  • Materialized View Not Refreshing

    Hello,
    I have a materialized view that is not refreshing. I tried to set it to refresh it every 24 hours by specifying the following:
    REFRESH COMPLETE START WITH sysdate+0 NEXT sysdate+1
    The database modified it to be:
    REFRESH COMPLETE ON DEMAND START WITH sysdate+0 NEXT sysdate+1
    I'm not sure why this materialized view is not being refreshed. Here is the full DDL for the view:
    CREATE MATERIALIZED VIEW "MBMMASTER"."CLINIDXINVTRANSDATA"
    ORGANIZATION HEAP PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS NOLOGGING
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "FAC_DATA"
    BUILD IMMEDIATE
    USING INDEX
    REFRESH COMPLETE ON DEMAND START WITH sysdate+0 NEXT sysdate+1
    USING DEFAULT LOCAL ROLLBACK SEGMENT
    DISABLE QUERY REWRITE
    AS SELECT
    IIT.Group_ZZ as IDXGroupKey
    , IIT.Prov as IDXProviderKey
    , IIT.U_Second_Phys as IDXSecondaryProviderKey
    , IIT.Div as IDXDivisionKey
    , IIT.Loc as IDXLocationKey
    , IIT.Billing_Area as IDXBillingAreaKey
    , IIT.Proc as IDXProcedureKey
    , IIT.Post_pd as IDXPostPeriod
    , Max(CASE
    WHEN SIBP.FacultyPK is Null Then PIBP.FacultyPK
    WHEN EXISTS (
    SELECT *
    FROM FacultyAdmin.FacAdmAppointment APP
    WHERE SIBP.FacultyPK = APP.FacultyPK
    AND APP.AdmApptTypePK = 'APT0001021' /* MidLevel Track */
    AND APP.AdmRankListPK = 'RKL0001141' /* MidLevel Rank */
    AND IIT.SER_DT BETWEEN APP.AdmApptStartDate AND NVL(APP.AdmApptEndDate,IIT.SER_DT)
    ) THEN SIBP.FacultyPK
    ELSE PIBP.FacultyPK
    END) AS FacultyPK
    , SUM(IIT.RVU
    ) as IDXRVU
    , SUM(
    CASE
    WHEN Sign(IIT.RVU) = Sign(IIT.RVU_WORK_COMP) THEN IIT.RVU_WORK_COMP
    ELSE IIT.RVU_WORK_COMP * -1
    END
    ) as IDXWorkRVU
    , SUM(
    CASE
    WHEN Sign(IIT.RVU) = Sign(IIT.RVU_EXPENSE_COMP) THEN IIT.RVU_EXPENSE_COMP
    ELSE IIT.RVU_EXPENSE_COMP * -1
    END
    ) as IDXExpenseRVU
    , SUM(
    CASE
    WHEN Sign(IIT.RVU) = Sign(IIT.RVU_MALPRATICE_COMP) THEN IIT.RVU_MALPRATICE_COMP
    ELSE IIT.RVU_MALPRATICE_COMP * -1
    END
    ) as IDXMalpracticeRVU
    FROM IDXInvTrans@DW IIT
    , FacultyMaster.FacIDXBARProvider PIBP
    , FacultyMaster.FacIDXBARProvider SIBP
    where IIT.Prov = PIBP.IDXBARProviderKey
    AND IIT.U_Second_Phys = SIBP.IDXBARProviderKey(+)
    AND IIT.pay_code_num = 99
    AND IIT.Post_Pd >= 10101
    GROUP BY
    IIT.Group_ZZ
    , IIT.Prov
    , IIT.U_Second_Phys
    , IIT.Div
    , IIT.Loc
    , IIT.Billing_Area
    , IIT.Proc
    , IIT.Post_pd;
    Thanks in advance,
    Chris

    I had quite similar problem/question. And un/fortunately answered it by myself, nobody was interested in help :)
    For the first sight: two "concurrent" statements have been used: ON DEMAND and START WITH. I wonder why database changed good code.
    Look into my topic: How to recreate materialized view and maintain priviledges?
    Look also here: Re: error on "CREATE MATERIALIZED VIEW" for more details.
    HTH, Rev

  • Output Not refreshed

    Hello
    Its the same component problem
    Now basically everything works
    but,
    now when i preview my component the output array appears in the data grid
    however wen i change the filter with a button it does not change
    i checked my output array with an alert statement and it works
    so basically the problem is that the output array is not getin updated by new values
    pls help
    thanx in advance

    before calling the modelobject.execute() method you might have <b>bind</b> the bapi input node to new input node.<br>
    and the object to which you have binded will be declared in gobal declaration section.That is why the data is not refreshed without opening a browser again,.<br>
    1. Define that node to a place where you have called the bind() method.(just one line up before calling the bind method-- may be in init method or on the action of button.)
    *DO not declare in Global declration. inside bein others and end others<br>
    2. Do not forget to invalidate output node aftercalling execute method.
    <br>
    It will solve your problem.

  • Macbook power icon not refreshing

    On my macbook (10.6.8) the battery icon in the top toolbar does not refresh to reflect the current charge.
    For example - it might display as being plugged in when it's not, read 90% charged when it's about to die, etc.
    I can force it to refresh to the proper state by changing the display seeing for the icon (ie, from percent to time) and it will show the current state properly. But it won't continue to show the updated status. Any time i need to know what my battery is, i need to refresh the icon.
    Note - I haven't noticed any actually battery issues. It seems to charge just fine and has appropriate battery life when not plugged in. The interface simply doesn't show the power properly.
    Not sure what could be causing this. Thanks for the help
    -Nick

    Hi Nick...
    Try Resetting the System Management Controller (SMC)
    And here >  Apple Portables: Troubleshooting MagSafe adapters

  • HT4314 Hello, I have an Iphone 3GS and can't connect to Game Center.  It recognizes my apple ID account, states it was never used with Game Center. Then asks for country, birthdate, then returns to ask country again, then birthdate, and returns to the loo

    Hello, I have an Iphone 3GS and can't connect to Game Center.  It recognizes my apple ID account, states it was never used with Game Center. Then asks for country, birthdate, then returns to ask country again, then birthdate, and returns to the loop. Never ends the loop unless I cancel the setup process.  I have restored the iphone to the factory settings and restored the backup, but did not work. Any suggestions on what can be the problem? thank you.

    I just read another post that says you can go into a game that allows for multiple players and utalizes game center and enter your account information that way.  I haven't tried it yet, but it seems to work for others that had this issue.

  • When I try to open a pdf  I get a acrobat reader error, It states ( There was an error opening this

    When I try to open a pdf  I get a acrobat reader error, It states ( There was an error opening this document. Could not repair file.

    There is not modern program called Acrobat Reader. There is an Adobe Reader program, there is an Adobe Acrobat (Pro or Std) program. Which program are you using? Under which OS?
    Please repost your question with your answer to either the Adobe Reader forum: http://forums.adobe.com/community/adobe_reader_forums  or  or the Acrobat Installation forum: http://forums.adobe.com/community/acrobat/installation_and_update_installation

  • Callable Statement Cache Size

    Hi all,
    while using some dinamyc store procedures I get in the following error:
    [BEA][SQLServer JDBC Driver]Value can not be converted to requested type.
    I'm using WL8.1 and Sql Server 2000.
    Store procedure contains two different queries where table name is a store procedure's
    parameter.
    The first time it works great, after that I always have this error:
    Reading bea doc's I found
    There may be other issues related to caching prepared statements that are not
    listed here. If you see errors in your system related to prepared statements,
    you should set the prepared statement cache size to 0, which turns off prepared
    statement caching, to test if the problem is caused by caching prepared statements.
    If I set prepared statement cache size to 0 everything works great but that does
    not seem the better way.
    Should we expect Bea to solve this problem?
    Or whatever else solution?
    such as using JDBCConnectionPoolMBean.setPreparedStatementCacheSize()
    dynamically ?
    thks in advance
    Leonardo

    caching works well for DML and thats what it is supposed to do. But it looks
    like you are doing DDL , which means your tables might be getting
    created/dropped/altered which effectively invalidates the cache. So you
    should try to turn the cache off.
    "leonardo" <[email protected]> wrote in message
    news:40b1bb75$1@mktnews1...
    >
    >
    Hi all,
    while using some dinamyc store procedures I get in the following error:
    [BEA][SQLServer JDBC Driver]Value can not be converted to requested type.
    I'm using WL8.1 and Sql Server 2000.
    Store procedure contains two different queries where table name is a storeprocedure's
    parameter.
    The first time it works great, after that I always have this error:
    Reading bea doc's I found
    There may be other issues related to caching prepared statements that arenot
    listed here. If you see errors in your system related to preparedstatements,
    you should set the prepared statement cache size to 0, which turns offprepared
    statement caching, to test if the problem is caused by caching preparedstatements.
    If I set prepared statement cache size to 0 everything works great butthat does
    not seem the better way.
    Should we expect Bea to solve this problem?
    Or whatever else solution?
    such as using JDBCConnectionPoolMBean.setPreparedStatementCacheSize()
    dynamically ?
    thks in advance
    Leonardo

  • Problems with statement cache using OCI

    Hello!
    We recently changed our program to use statement cache, but we found a problem and not yet a solution.
    We have problems in this situation:
    OCIEnvCreate();
    OCIHandleAlloc();
    OCILogon2(..... OCI_LOGON2_STMTCACHE);
    OCIStmtPrepare2("CREATE TABLE db_testeSP (cod_usuario INTEGER, usuario CHAR(20), dat_inclusao DATE)")
    OCIStmtExecute();
    OCIStmtRelease(... OCI_DEFAULT);
    OCIStmtPrepare2("INSERT INTO db_testeSP (1,\'user\',CURRENT_DATE");
    OCIStmtExecute();
    OCIStmtRelease(... OCI_DEFAULT);
    OCIStmtPrepare2("SELECT * FROM db_testeSP");
    OCIStmtExecute();
    OCIStmtRelease(... OCI_DEFAULT);
    OCIStmtPrepare2("DROP TABLE db_testeSP");
    OCIStmtExecute();
    OCIStmtRelease(... OCI_DEFAULT);
    OCIStmtPrepare2("CREATE TABLE db_testeSP (cod_usuario INTEGER, usuario CHAR(20), idade INTEGER, dat_inclusao DATE)");
    OCIStmtExecute();
    OCIStmtRelease(... OCI_DEFAULT);
    OCIStmtPrepare2("INSERT INTO db_testeSP (1,\'user\',20,CURRENT_DATE");
    OCIStmtExecute();
    OCIStmtRelease(... OCI_DEFAULT);
    OCIStmtPrepare2("SELECT * FROM db_testeSP");
    OCIStmtExecute();
    OCIStmtRelease(... OCI_DEFAULT);
    On the second Select (wich is in bold), returns -1 from Execute, and if I get the error with OCIErrorGet I have: ORA-00932 - inconsistent datatypes
    Researching I discovered that this is statement cache problem, is there a way to clear the cache of one table ? I'm asking this because I could clear whenever there is a DROP TABLE or ALTER TABLE instruction (but I don't know what statements will need to be cleared from the cache). I can't clear all the cache because I may have other statements from other tables on the cache.
    This situation above is just an example, but I think that this will cause other problems too.
    Our program is a gateway from the main program and database, so I don't know the SQL instructions before executing. How can we resolve this problem?
    I have tested this issue with Oracle 10g (10.2.0.4.0) and 11g (11.2.0.1.0) both 64 bits and the result is the same (the OCI is version 11.2.0).
    We appreciate any help.
    Thanks in advance,
    Daniel

    After long time searching for answers, apparently this is expected to happen and the program should not use Statement caching in this situation.
    I found this on an Oracle document (Tuning Data Source Connection Pools - 11g Release 1 (10.3.6)) and we will need to review the use of statement caching.
    Stay as a tip for others who might be in the same situation.

  • Prepared statement cache & Oracle

    Hi -
    Does Weblogic's prepared statement caching only work when using their
    type-2 Oracle driver? Are there any documents about using this
    Weblogic feature? I have only found small references in the Weblogic
    documentation so far -- nothing with much detail.
    Thanks for any help,
    - Mark

    "Joseph Weinstein" <[email protected]> wrote in message
    news:[email protected]..
    >
    >
    Mark Cassidy wrote:
    Hi -
    Does Weblogic's prepared statement caching only work when using their
    type-2 Oracle driver?No. It is generic to JDBC. Any JDBC driver should allow re-use ofPreparedStatements,
    and our pool will cache for any driver.
    Are there any documents about using this
    Weblogic feature? I have only found small references in the Weblogic
    documentation so far -- nothing with much detail.You are correct that there is too little documentation at this time.
    Thanks for any help,
    - Mark
    Thanks Joe!
    Do you know if each connection's cache is FIFO? Or do you use
    least-recently-used algorithm?
    I found one comment you made regarding XA pools. That means that if we are
    doing 2-phase commit processing that some of these benefits could erode? I
    didn't understand why. If we assume that the connections in a given pool
    after a time get a good sampling of popular prepared statements, would their
    being XA or not matter? Maybe I missed your point entirely.
    - Mark

  • Bug with binding / statement cache?

    And the next trouble... :(
    When Sql on two different OracleCommand's is equals, but parameter types differs, exceptions raised.
    Two different exception raised, depends of AddToStatementCache property, on call ExecuteReader or on call Read().
    Test case:
                OracleConnectionStringBuilder csb = new OracleConnectionStringBuilder();
                csb.UserID = "xxxxxx";
                csb.Password = "xxxxxxx";
                csb.DataSource = "xxxxxxxx";
                OracleConnection conn = new OracleConnection(csb.ToString());
                conn.Open();
                string sql = @"SELECT :v1 FROM DUAL";
                // Create first command
                OracleCommand cmd = conn.CreateCommand();
                cmd.BindByName = true;
                cmd.CommandText = sql;
                // Bind number parameter
                OracleParameter p1 = cmd.CreateParameter();
                p1.ParameterName = "v1";
                p1.Value = 1000.123m;
                cmd.Parameters.Add(p1);
                // Select number value
                OracleDataReader reader1 = cmd.ExecuteReader();
                reader1.Read();
                decimal d1 = reader1.GetDecimal(0);
                // dispose first reader and command
                reader1.Dispose();
                cmd.Dispose();
                // Create second command with equals Sql
                OracleCommand cmd2 = conn.CreateCommand();
                cmd2.BindByName = true;
                cmd2.CommandText = sql;
                // if uncomment next line, exception (1) changes to exception (2)
                cmd2.AddToStatementCache = false;
                // Bind string parameter
                OracleParameter p2 = cmd2.CreateParameter();
                p2.ParameterName = "v1";
                p2.Value = "sdf g sdfg sdfg sdfgsdf";
                cmd2.Parameters.Add(p2);
                // Select scalar string
                OracleDataReader reader2 = cmd2.ExecuteReader(); // Exception (1)! ORA-01475: must reparse cursor to change bind variable datatype
                reader2.Read();  // Exception (2)! ORA-01722: Invalid number
                string s2 = reader2.GetString(0); Well, few questions:
    * How i can force "reparse" cursor, if need???
    * Why statement cache dont use parameter signatures to distinguish statements with equals SQL and different parameter types??
    * Where i can post that bug (and some other) to quick answer from ODP.NET support? In this forum only? Anywhere else?
    Thanks.

    Hi,
    I tried your code, but get the 1722 every time, and dont seem to be able to get the 1475.
    I think the explanation here is that ODP uses the command text only in determining whether to pull the statement from the cache (ie, not the data types, as you've seen).
    With respect to your questions:
    1) I'd have thought con.PurgeStatementCache() would have done it, but that didnt work for me. I’ve tried Statement Cache Purge=true in the connect string, cmd.AddStatementToCache=false, and con.PurgeStatementCache(), but none of them make the code work. I'm guessing the statement is getting added to the cache every time even though we're doing our best not to, and that’s why the problem behavior. I'm looking into that further.
    2) I'd assume that development just didnt take this scenario into account. Typically the data type of a bind variable in any given statement wouldnt change.
    3) If you have an Oracle Support contract, just log a SR via Metalink (http://metalink.oracle.com)
    Cheers,
    Greg

Maybe you are looking for

  • IPhone 5 ios 6.1.4 camera no longer works?

    Since the ios update my camera and flash have stopped working. I've done both soft and hard resets and neither fixed the problem. I'd rather not have to wipe my phone and start over if I don't have to. Anyone else with this problem?? Also I don't hav

  • Print to PDF and specify file name.

    Hardware/Software Details: MacBook 2GHz Intel Core 2 Duo OS 10.5.5 Adobe Acrobat Professional 8.1.2 Hey all, I'm a teacher and I've been scripting PDFs for use as marking sheets for assignments. What I'm trying to achieve is a situation where I tick

  • Wired Internet on Acer 1410

    Recently I installed Arch 2010.05 on an Acer 1410 notebook.  The operating system runs perfectly fine except for the wired internet card and wireless internet card.  The wireless card on that notebook never worked, so I'm not too concerned about that

  • BSOD on Equium M50-244 - error caused by ati2dvag.dll

    OS Windows XP SP2, display ATI Radeon xpress 200m series. Hi have a Equium M50-244 with a problem. Seems to work fine but suddenly goes to blue screen with message: A problem has been detected has been shut down to prevent damage. The problem seems t

  • Client authentification

    Hello, I'm trying to use jsse whit an Apache-mod_ssl server. I want the server to authenticate the client but it doesn't work. First question : The KeyManagerFactory is the only way to authenticate a client ? Second question : my certificate are gene