Table Constraints not Replicated with Table Published in WebToGo

I have the problem related in metalink Note:167611.1
But i don't understand the next paragraf:
The first time the user goes offline, these DDL statements are executed.
Can any body help me?

Basically when you create a snapshot to include in you mobile application, any constraints are ignored (as are indexes, and column valid values constraints). This means when you synchronise your client device with the mobile server for the first time, the snapshots are created as tables in the oracle lite database (note always created as tables, even if your snapshot is based on a view in the main system). A primary key constraint and a primary key index will also be created.
Within the different mobile application development tools (eg: workbench, packaging wizard, the API definitions, the web.xml file etc.) there is the ability to define DML statements.
These are standard SQL statements (normally DML type statements like create table, create constraint, create index, create view, but can be used for other things like insert into a table) that are run WHEN THE ORACLE LITE DATABASE IS CREATED.
This last bit is important. They are designed to be used for the kind of thing that you run once and then never again (eg: running the same create table statement would fail the second time around).
This means that if you have already created the oracle lite database on a client, and then you need to add in dml statements to set up constraints etc., you will have to delete the database files (odb files) from the client, and sync to re-create the database.
NOTE does not help with constraints, but indexes can be added to the snapshot definitions, and these will cause an update to create them the next time the user synchronises, without the need to drop the client database

Similar Messages

  • Layout adjustment not working with tables

    Hi all
    Why will layout adjustment not work with tables?
    I am trying to re-format from A4 landscape to A4 portrait.
    The text box containing the table will resize but not the table.
    Any clues why this might be, I don't want to manually resize every table in the document.
    Many thanks,
    Rob

    Thanks Jongware,
    Having resized the table and got the little red ovals, I tried various things like changing the font size etc but the best workaround I found was to select the table and change the cell inset value to 0, this got rid of all red ovals and I didn't need to change the font size.
    Cheers,
    Rob

  • Table type not defined for table control "T_CONTROL" (Custom table)

    Hi All,
    I m facing a problem in ITS mobile service.
    The Table control designed by me in R/3 (Module pool program) is
    not getting displayed in ITS mobile page.
    It is giving me an error "Table type not defined for table control "T_CONTROL" (Custom table) ".
    Can you please let me how this issue can be resolved.
    With Regards,
    Mahesh

    CONTROLS: table_ctr TYPE TABLEVIEW USING SCREEN '0010'.
    try using this....
    Regards
    Vasu

  • Cannot publish Webpart - "Invalid SPlistItem. The SPListItem provided is not compatible with a Publishing Page"

    Hello All,
    I have seen this error message discussed in other posts on the forums here but the solution of deactivating and reactivating server publishing/infrastructure are not working for me. In fact I encountered additional errors when reactivating publishing at
    the site level. Powershell was necessary to reactivate site level server publishing.
    Here is detail of the error I get when attempting to publish:
    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 18/11/2014 08:59:05
    Event time (UTC): 18/11/2014 08:59:05
    Event ID: e2e43649e2164e399fe0aa85892a002c
    Event sequence: 165799
    Event occurrence: 17
    Event detail code: 0
    Application information:
    Application domain: /LM/W3SVC/1827921427/ROOT-1-130607489469090399
    Trust level: WSS_Custom
    Application Virtual Path: /
    Application Path: C:\inetpub\wwwroot\wss\VirtualDirectories\portal.cooperstc.com443\
    Machine name: CTCSP2
    Process information:
    Process ID: 7392
    Process name: w3wp.exe
    Account name: COOPERS\svcSPPortalAppPool
    Exception information:
    Exception type: ArgumentException
    Exception message: Invalid SPListItem. The SPListItem provided is not compatible with a Publishing Page.
    Request information:
    Request URL: https://portal.cooperstc.com:443/CLG/Student/Videos/Pages/Test101.aspx
    Request path: /CLG/Student/Videos/Pages/Test101.aspx
    User host address: 10.33.50.119
    User: COOPERS\yangro
    Is authenticated: True
    Authentication Type: Negotiate
    Thread account name: COOPERS\svcSPPortalAppPool
    Thread information:
    Thread ID: 41
    Thread account name: COOPERS\svcSPPortalAppPool
    Is impersonating: False
    Stack trace:    at Microsoft.SharePoint.Publishing.PublishingPage.GetPublishingPage(SPListItem sourceListItem)
    at Microsoft.SharePoint.Publishing.Internal.WebControls.PublishingPageStateControl.RaisePostBackEventForPageRouting(String eventArgument, SPRibbonCommandHandler control, RaisePostBackEventDelegate raisePostBackEventDelegate)
    at Microsoft.SharePoint.Publishing.Internal.WebControls.PublishingPageSaveAndStopEditHandler.RaisePostBackEvent(String eventArgument)
    at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    DeActive and then ReActivate Sharepoint Site Publishing Infrastructure feature at both Site And Web level Scope.
    To Deactivate at web level, Open SharePoint Site. Click on Site Actions -> Site Settings, then click on Manage site features and then Deactivate Publishing Infrastructure feature.
    Similarly you can deactivate at site level, Open SharePoint Site. Click on Site Actions -> Site Settings, then Site collection administration and then go to Site collection features. there deactivate Publishing Infrastructure feature.
    To Reactivate again the feature, follow the above steps.
    http://www.c-sharpcorner.com/Blogs/15338/invalid-splistitem-the-splistitem-provided-is-not-compatibl.aspx
    1.The simple thing is to try deactivate and reactive the publishing features both at site collection and site level.
    2. If the above doesn't work then proceed to below PowerShell script.
     $site = Get-SPSite "http://www.mysites/  "
    $web = $site.openweb()
     $correctId = $web.Lists["Pages"].ID $web.AllProperties["__PagesListId"] = $correctId.ToString()
    $Web.AllProperties["__PublishingFeatureActivated"]="True" 
    $web.Update()
    3. The key point is PublishingFeatureActivated bag which has to be true .
    http://webcache.googleusercontent.com/search?q=cache:5xpx-C9kKgsJ:nagendra-gunaga.blogspot.com/2013/11/the-splistitem-provided-is-not.html+&cd=4&hl=en&ct=clnk&gl=in
    If this helped you resolve your issue, please mark it Answered. You can reach me through http://itfreesupport.com/

  • The SPListItem provided is not compatible with a Publishing Page.

    Hi Everyone,
    I know there are a few previous resolution to this issue on TechNet.  Secifically:
    here... but i'm not convinced by the resolution of this issue.
    Basically we have exactly the same problem, but over hundreds of pages that were moved by a 3rd party.  You can see my dilemma, I dont want to have to go and recreate all the pages.
    Anyone got any new ideas about how to fix this?
    Cheers,
    Michael

    Hi,
    I understand that you get the following error message when checking in a publishing page.
    "Invalid SPListItem. The SPListItem provided is not compatible with a Publishing Page."
    This issue is typically a SharePoint Publishing feature issue on the site/site collection. You can deactivate and reactivate the feature and see how it works.
    Alternately, you can activate SP 2010 Publishing Feature using PowerShell. Check the following link for more information:
    SharePoint 2010 Publishing Feature Activation
    http://social.technet.microsoft.com/wiki/contents/articles/18293.sharepoint-2010-publishing-feature-activation.aspx
    Thanks.
    Tracy Cai
    TechNet Community Support

  • How to force BI Server to pick from the Agg table and not the Fact table?

    Hi All,
    I have 3 tables as the Sources in the Key measures. 2 are fact tables and the other one is the agg table.
    E.g.
    Fact 1 at A,B,C,D and E level
    Fact 2 at A,B,C level
    Agg at A,B,C level which contains the measures from the Fact1 and Fact2
    So when I select the measures from the Agg which are coming from Fact1 the Agg table get fired and when I select measures from Agg which are coming from Fact2, the Fact2 table gets fired in the SQL Query.
    Now my question here is there anyway to tell BI Server that when I select Fact2 measures fire the Agg table and not the Fact2 table. The reason being the Agg and Fact2 tables are at the same level.
    But I need to keep the Agg table as it is one level higher than the Fact1 tables.
    Any pointers would be helpful.

    hi,
    you explain us your situation really good.but you forgot to tell us the most import,the measures in aggregate table and the aggregated dimensions.
    meaning,you have 7 measures aggregated in some levels of your dimensions tables?if yes,there is no possibility Bi goes anywhere else..(by choosing only these measures and the defined levels at your dimensions..)
    One more thing,if you choose a combination of your 2 fact data sources,bi goes?where???
    hope i helped...
    http://greekoraclebi.blogspot.com/

  • In Rtf Template ,table is not fit with window after hide columns

    Hi,
    In my RTF template i have table with 5 columns in that 3 colums will display based on condition. During runtime it showing correctly with 5 columns i.e fit to window.
    suppose if any of column is not displayed(hide) and table is shrinking and not fit with window.
    Tried with following option in word doc:
    Right click on table and select Auto Fit--> Auto fit to window. but didn't work. Please let me know is any options to make table to fit with window.
    Thanks..
    Edited by: user9530489 on May 3, 2011 1:09 PM

    Hi,
    I've changed the output device in order to test with the LP01 printer.
    This device is not active in SPAD but if i setup my action with this device I can preview the smartform. It is not possible to preview the smartform with the printer that I'd like to use.
    Any ideas?
    Thanks in advance,
    Stephanie

  • Table are not prefixed with Schema in  SQL request - Unable to get Data

    I began this new thread because I closed the [previous one|Unable to get data (DSN connection); a little bit early, I believed it was OK but no the problem still here.
    First my architecture :
    Oracle 9g
    +500 Reports made under CR developper 8.5 or 9.0
    Report opened in VB .net application, framework 2.0 using CR runtime 8.5 and 9.0
    We want to upgrade CR version to 2008, so modification of reports will be done with CR 2008 Developper, and we want to
    use only CR 2008 runtime.
    The problem :
    Everything works fine in CR Developer, but the same report with the same parameters failed when called inside .net.
    The error is "Unable to get data", the database connection is OK but the queries mades from inside the report are wrong :
    The tables/views in the from statement are not prefixed with the Schema, so Oracle don't find them.
    Example (SQL monitoring done with TOAD)
    Execution of postes.rpt report directly in CR :
    Timestamp: 10:30:03.881
    Successful logon attempt (session tag: 0x6464CB8)
    username: 'APPLI_HUET'; database: 'DEV'
    SELECT ...
    FROM  "COMMUN"."ETAB" "ETAB" INNER JOIN "GESTION_DES_TEMPS"."POSTES" "POSTES"
    ON "ETAB"."N_ETAB"="POSTES"."N_ETAB"
    WHERE  "POSTES"."N_ETAB"=2 ORDER BY "POSTES"."N_POSTE"
    Timestamp: 10:50:29.178
    Logoff (session tag: 0x6464CB8).
    Same report, same authentication but throught .net program :
    Timestamp: 11:01:24.569
    Successful logon attempt (session tag: 0xA93FC38)
    username: 'APPLI_HUET'; database: 'DEV'
    SELECT ...
    FROM   "ETAB" "ETAB" INNER JOIN "POSTES" "POSTES"
    ON "ETAB"."N_ETAB"="POSTES"."N_ETAB" WHERE  "POSTES"."N_ETAB"=2 ORDER
    BY "POSTES"."N_POSTE"
    Runtime error occurred: 942 (ORA-00942: Table ou vue inexistante)
    The .net code :
    Dim _report As New ReportDocument()
    _report.Load("report.rpt", OpenReportMethod.OpenReportByDefault)
    Dim myConnectionInfo As ConnectionInfo = New ConnectionInfo()
    myConnectionInfo.ServerName = "DSN_file"
    myConnectionInfo.UserID = p_Userid
    myConnectionInfo.Password = p_Password
    ' to see code in this method se my original post
    SetDBLogonForReport(myConnectionInfo, _report)
    SetDBLogonForSubreports(myConnectionInfo, _report)
    Dim frmViewer As New CrystalReportViewer
    frmViewer.CrystalReportViewer1.ReportSource = _report
    frmViewer.Show()
    Any ideas ?

    Thanks for the and sorry but I don't understand.
    I've made a research of Location on this forum the more intersting thread I've found is rpt-files do not function anymore after deploying to a different database, but I still don't understand.
    I take a look at all code sample and I can't found anything.
    You say that .Location need to be set, indeed Location property of CrystalDecisions.CrystalReports.Engine.Table object only contains table name.
    I tried to overrides this value by the fully qualified table name (ie Schema.Table, for example GESTION_DES_TEMPS.POSTES), and it work  BUT it wouldn't be the solution, my code is designed to be generic, I can't have a database to know wich schema add before differents table name.
    Why when we execute the report directly in CR 2008 developper we don't have to redefine the table location ?
    Another test :
    I've made a new report directly in CR 2008 with a DSN, launch it in .net with the same DSN (server) : OK
    Then I launch it in .net with another DSN, it work also.
    Why report done with Crystal 8.5 or 9.0 have this problem ?
    I'me gonna be mad....
    Edited by: Yoann DAVID on Jan 8, 2010 3:32 PM

  • J_1IRG23D Table was not updated With Correct Values While Doing MIGO

    Hi Friends,
    I am new to the Excise duty , facing a proble in CIN -While doing MIGO, the Excise Calculation are coming correct values (i.e 10% ),but in the table it was not updated correctly (J_1IRG23D) only one entry is showing wrong ,the other entries in the table are correct.
    In table -J_1IEXCDTL the EXBED it was with correct value 10% of the Base value
    But In table -J_1IRG23D the EXBED,ADE,CESS It was updated with 0.06% on the base value .its gives wrong value
    Kindly help in this issue.
    Regards
    Siva

    Hi,
    Go to T Code - J2I5 (not 215 it is j 2 i 5) enter details and select register PLA Check box and execute. This can be extracted many times - no problem.
    After J2i5 balance will update in registers including tables.
    Ramesh

  • Oracle equals_path condition NOT working with table and materialized view

    The user i am using is xdb with dba role.
    1.When i try to use the statement
    SELECT PATH FROM xdb.path_VIEW
    WHERE
    EQUALS_PATH(res, '/home/OE/PurchaseOrders/2002')=1
    the result is
    /home/OE/PurchaseOrders/2002
    2. When i drop the path_view and recreated it like materialized view with statement
    create MATERIALIZED view path_view as
    select /*+ ORDERED */ t2.path path, t.res res,
    xmltype.createxml(xdb.xdb_link_type(NULL, r2.xmldata.dispname, t.name,
    h.name, h.flags, h.parent_oid, h.child_oid),
    'http://xmlns.oracle.com/xdb/XDBStandard.xsd', 'LINK') link,
    t.resid
    from ( select xdb.all_path(9999) paths, value(p) res, p.sys_nc_oid$ resid,
    p.xmldata.dispname name
    from xdb.xdb$resource p
    where xdb.under_path(value(p), '/', 9999)=1 ) t,
    TABLE( cast (t.paths as xdb.path_array) ) t2,
    xdb.xdb$h_link h, xdb.xdb$resource r2
    where t2.parent_oid = h.parent_oid and t2.childname = h.name and
    t2.parent_oid = r2.sys_nc_oid$
    then the equals_path condition STOP working !!!
    3. The same experiment, but i recreate it like table
    create table path_view as .... using the rest of the statement ...
    Can someone help me to understand why equals_path is NOT working on table and materialized view !

    Thanks Jonah. I was under the impression that I already had it but seems like it has to be a direct priv - thru a role doesn't work.
    I granted the reqd privs and then it worked fine. Thx for your help!

  • Constraints not visible under tables/dependencies

    Hi,
    when i open dependencies i see only type 'package body', 'trigger' but not any of the constraints pointing at this table.
    i am using sql developer 1.5.5 and server version Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    E
    Edited by: user7742585 on Jul 31, 2009 1:01 AM

    Sorry, don't know anything about Macs.
    You can try resetting to factory defaults by backing up/deleting the SQL Developer folder somewhere under your user profile (if that is called the same way on the Mac).
    Hope that helps,
    K.

  • Table is not filling with the RFC data

    Hi,
       I am new to WDJ. I have a created a wdj application by importing adaptive RFC model. deployment is sucessful but at runtime the table is not getting filled up with the RFC data. RFC is executing find from the backend. JCO is maintained correctly in the webdynpro, mapping and  binding is done.
    Could someone guide where could be the problem?
    I am giving the code below for doinit and service controller method.
    public void wdDoInit()
        //@@begin wdDoInit()
        //$$begin Service Controller(-222509821)
        wdContext.nodeZsalesheader_Data_Input().bind(new Zsalesheader_Data_Input());
    //     wdComponentAPI.getMessageManager().reportSuccess("Node value " + wdContext.currentContextElement().getAttributeAsText("auart"));
        //$$end
        //@@end
    public void executeZsalesheader_Data_Input( )
        //@@begin executeZsalesheader_Data_Input()
        //$$begin Service Controller(-1232218854)
        IWDMessageManager manager = wdComponentAPI.getMessageManager();
        try
         wdContext.nodeOutput().invalidate();
          wdContext.currentZsalesheader_Data_InputElement().modelObject().execute();
        catch(WDDynamicRFCExecuteException e)
          manager.reportException(e.getMessage(), false);
        //$$end
        //@@end
    Can anybody guide if am missing something?
    Regards
    Sireesha.

    Anup and all,
    Can anyone please identify whats the mistake in the below code?
    OnLeadSelect Event
        wdContext.nodeZsalesheader_Data_Input().getElementAt(wdContext.getLeadSelection()).getAttributeValue("Vbeln"));
    I am getting a runtime exception that "unknown attribute Vbeln".
    Here is my Context Node.
    ---Zsalesheader_Data_Input
    Output
    T_Salesheader
    Vbeln
    Auart
    Vbtyp
    Trvog
    As per the above Context structure is my code correct? If not how do i read the value vbeln from the above context?
    Can anyone pls advice?
    Regards
    Sireesha.

  • Solved af:table is not refreshed with updated MBean data from list even

    Hi,
    I have a af:table which gets its data from a Managed Bean List type varaiable.
    My table hav one lov as a row item.
    When i change the lov in each row... a new row should get added to the table.
    So in the value change listener of the selectOneChoice i added one element to the list.
    Enabled PPR on table.
    But table is not getting refreshed until i click on some button or link.
    Thanks
    Murali
    Message was edited by:
    Murali Chepuri

    Solved after adding partialtarget in ValueChangeListener.
    Thanks
    Murali

  • Table is not refreshing with partialSubmit

    I Have a commandbutton that populate a table:
    <af:commandButton text="Procesar" id="cb1" shortDesc="procesar consulta" partialSubmit="true"
    action="#{pageFlowScope.AptosRenovar.procesar}"/>
    <af:table var="row" summary="Aptos por Renovar" rows="#{bindings.ListadoRenovaciones.rangeSize}"
    emptyText="#{bindings.ListadoRenovaciones.viewable ? 'No se encontraron resultados para la búsqueda seleccionada.' : 'Acceso denegado.'}"
    fetchSize="#{bindings.ListadoRenovaciones.rangeSize}"
    rowBandingInterval="0" id="tafil"
    value="#{bindings.ListadoRenovaciones.rangeSet}"
    binding="#{pageFlowScope.AptosRenovar.tafil}"
    rowSelection="none" styleClass="AFStretchWidth"
    disableColumnReordering="true"
    partialTriggers="::sfP:cbFirst ::sfP:cb2 ::sfP:it6 ::sfP:cb3 ::sfP:cb4 ::sfP:cb5 :cb1"
    columnStretching="column:cApell">
    In my java method I execute a procedure :
    Map paramsRenov = new HashMap();
    paramsRenov.put(Constants.CIASUC_PARAM,cia.concat(suc));
    paramsRenov.put(Constants.ASECOD_PARAM,usuario.getCodigo());
    paramsRenov.put(Constants.ANOMES_PARAM,nombre);
    paramsRenov.put(Constants.TIPO_PARAM,renuev);
    executeOperationBinding(EXECUTE_RENOVACIONES,paramsRenov);
    When i clic on the button, the table is not populating. When i clic again the button,it does. I am using JDeveloper 11.1.2.1
    Edited by: Miguel Angel on 09/04/2012 12:15 PM

    Hi,
    what is the business service you execute the operation on? Chances are that the iterator is refreshed before the new data is ready. Try setting the ADF iterator binding "Refresh" property to "ifNeeded" (this usually is what e.g. you will have to do for WebServices.
    Frank

  • Help! 10g logical standby not replicating "create table" on standby

    Hi,
    I'm setting up a logical standby environment and everything works, except when I tried to create a simple table on the primary, the table doesn't show up on the standby. I tried creating a new tablespace on the primary and it shows up right away on the standby. I checked the error logs on both primary and standby and no errors.
    create table test1 (id number(10) primary key, col1 varchar(20), col2 varchar(20));
    The table is created successfully on primary and I also inserted couple of rows and all committed.
    I even tried the following query on the standby to check any failed events and the "create table" DDL doesn't show up , even if it failed:
    select event_time, status, event from dba_logstdby_events order by event_timestamp, commit_scn
    So I'm now confused. The logical standby is active and applying. What would be the issue? How do I find out ?
    Thanks

    had you started apply using this syntax
    real time apply
    alter database start logical standby apply immediate;
    check lag:
    alter session set nls_date_format='dd/mm hh24:mi';
    select newest_time || chr(22)|| newest_scn||chr(10)||applied_time||chr(22)||applied_scn||chr(13)||chr(16)||(newest_scn-applied_scn) lag from dba_logstdby_progress
    /

Maybe you are looking for