Blobs and refreshing the schema

Hi all,
I have two questions about Kodo 3.3.3.
1) About blobs. A blob is the serialization fof an object. Does Kodo store
the hashCode of the class (ir the serialVersionUID of the class) that was
used to serialize the object ? Will I have a problem if I want to get back
that blob with a recompiled version of that class, with a different
serialVersionUID ?
2) About the XML descriptors of the schema. I configured my mappingtool to
write the XML descriptor of the my schema in the base, it works very fine.
I can get these descriptor, class by class, with the command mappingtool
-a export -f dump.xml package.jdo, it's very handy. From the
documentation, I red that one can export this XML, edit it, import it back
in the base, and refresh the schema
(http://www.solarmetric.com/jdo/Documentation/3.3.3/docs/ref_guide_mapping_factory.html).
My problem is : I cant find the command to perform this refresh, the
schema is just not "synchronized" with the XML. Any hint ? :)
Btw, I came across a bug using SQL Server : a field named "index"
generated a column named "index", SQL Server was quite angry at that.
Sorry if this one is know already.
Thanks for your answers,
Jos__

1) About blobs. A blob is the serialization fof an object. Does Kodo store
the hashCode of the class (ir the serialVersionUID of the class) that was
used to serialize the object ? Will I have a problem if I want to get back
that blob with a recompiled version of that class, with a different
serialVersionUID ?Kodo just serializes the field value to a byte array using standard Java
serialization. So yes, you will have problems if the serialVersionUID of the
class changes. If you want more control over this process, you can create a
custom DBDictionary that overrides the serialize() method. Or you can use a
field of type byte[] and a byte-array mapping rather than a blob mapping, so
that Kodo doesn't do any serialization.
My problem is : I cant find the command to perform this refresh, the
schema is just not "synchronized" with the XML. Any hint ? :)Use the schema tool to synchronize the schema with the XML. See:
http://www.solarmetric.com/Software/Documentation/latest/docs/ref_guide_schema_schematool.html
Btw, I came across a bug using SQL Server : a field named "index"
generated a column named "index", SQL Server was quite angry at that.
Sorry if this one is know already.Thanks. We'll make sure this is fixed in Kodo 3.3.4.

Similar Messages

  • Unable to refresh the schema of FIM MA.Getting an error in Event viewer ""the current version of database is not compatible with the one expected by Forefront Identity Manager service. The current version of database is : 1116. The expected version is :1"

    Hi,
    We have installed FIM MA with an account that have all the sufficient rights.It got created successfully and worked for Full Import and Full Sync. But, due to some version incompatabilities, we have installed a patch.PFB link for the patch.
    http://support.microsoft.com/en-us/kb/2969673/en-us
    Now, we are trying to refresh the schema of FIM MA. While doing that we are facing an error "Failed to connect to database". The user account with which we are connecting has read and write permissions on DB.In the event viewer some errors are
    logged like  "the current version of database is not compatible with the one expected by Forefront Identity Manager service. The current version of database is : 1116. The expected version is :1122" with event ID 3. PFB images for more detailed
    view.
    Please advice how to fix the issue.
    Thanks
    Prasanthi.

    Hello,
    seems to me that you maybe only updated the syncengine but not portal/webservice.
    I had that error once after an recovery from scratch and forgot one of the hotfixes to apply to all services.
    -Peter
    Peter Stapf - ExpertCircle GmbH - My blog:
    JustIDM.wordpress.com

  • I am forced to hold shift and refresh the page on 99% of the sites I visit. How do I fix this from happening? If I don't the pages are missing style sheets and etc.

    When ever I go to sites they half load or are missing style sheets. If I view the source for the page and click on a style sheet link I get the following error:
    Content Encoding Error
    The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.
    If I hold shift and refresh the page loads as normal.
    It's happening on 99% of the sites I visit. I have disabled my plugins and add-ons.
    I do have some add-ons or plugins that I would like to remove completely but there is no uninstall or remove option, neither in regular or safe mode.

    '''I'm NOT buying a backup Computer till, Firefox will Run on Windows 8 !'''

  • ALV OO and refreshing the ALV grid

    Hi,
    i have some problems with my ALV 00 program.
    On screen 1 i have to fill in a material number.
    For that material i'm getting some data and show in screen 2 in a ALV grid.
    Via BACK-button i'm getting back to screen 1 and can fill in another material number.
    But the 2nd (and 3rd, etc) time i fill a material, the ALV grid data from material 1 is shown. Even if the internal table I_ALV where the data is, is changed.
    What should i do ?
    I have initialized the customer container and the grid, but that didn't solved the problem.
    regards,
    Hans

    Hi,
    Try clearing and refreshing the alv grid data table in screen 2.
    Check with this code. this code is working fine. If we go back and change the input, it is showing the output corresponding to the second input only.
    Have you use this method?
    <b> GR_ALVGRID->REFRESH_TABLE_DISPLAY</b>
    TYPE-POOLS : SLIS.
    * Tables                                                              *
    TABLES:
      VBRK,
      VBRP.
    * Parameters and select options OR SELECTION SCREEN
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS:
                S_VBELN FOR VBRK-VBELN.
    SELECTION-SCREEN END OF BLOCK B1.
    * Internal Tables                                                     *
    * work areas
    DATA: BEGIN OF IT_VBRP OCCURS 0,
           VBELN LIKE VBRK-VBELN,
           POSNR LIKE VBRP-POSNR,
           UEPOS LIKE VBRP-UEPOS,
           FKIMG LIKE VBRP-FKIMG,
           NETWR LIKE VBRP-NETWR,
           MEINS LIKE VBRP-MEINS.
    DATA : END OF IT_VBRP.
    * Variables                                                           *
    DATA : GR_ALVGRID TYPE REF TO CL_GUI_ALV_GRID,
           GC_CUSTOM_CONTROL_NAME TYPE SCRFNAME VALUE 'CC_ALV',
           GR_CCONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER,
           GT_FIELDCAT TYPE LVC_T_FCAT,
           GS_LAYOUT TYPE LVC_S_LAYO,
           V_FLAG VALUE 'X'.
    * Start of Program                                                    *
    *       INITIALIZATION.                                               *
    INITIALIZATION.
      S_VBELN-LOW = 1.
      S_VBELN-HIGH = 1000000000.
      S_VBELN-OPTION = 'EQ'.
      S_VBELN-SIGN = 'I'.
      APPEND S_VBELN.
    *       SELECTION-SCREEN                                              *
    AT SELECTION-SCREEN.
      PERFORM VALIDATION.
    *       START-OF-SELECTION                                            *
    START-OF-SELECTION.
      PERFORM GET_DATA.
      CALL SCREEN 0100.
    *       END-OF-SELECTION                                              *
    END-OF-SELECTION.
    *       TOP-OF-PAGE                                                   *
    TOP-OF-PAGE.
    *       END-OF-PAGE                                                   *
    END-OF-PAGE.
    *       AT USER-COMMAND                                               *
    *&      Form  VALIDATION
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM VALIDATION .
      SELECT SINGLE VBELN
      FROM VBRK
      INTO VBRK-VBELN
      WHERE VBELN IN S_VBELN.
      IF SY-SUBRC <> 0.
        MESSAGE E000 WITH 'no billing documents found'.
      ENDIF.
    ENDFORM.                    " VALIDATION
    *&      Form  GET_DATA
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM GET_DATA .
      SELECT VBELN
             POSNR
             UEPOS
             FKIMG
             NETWR
             MEINS
      FROM VBRP
      INTO TABLE IT_VBRP
      WHERE VBELN IN S_VBELN.
    ENDFORM.                    " GET_DATA
    *&      Module  DISPLAY_ALV  OUTPUT
    *       text
    MODULE DISPLAY_ALV OUTPUT.
      IF V_FLAG = 'X'.
        PERFORM DISPLAY_ALV.
        PERFORM PREPARE_FIELD_CATALOG CHANGING GT_FIELDCAT.
        PERFORM PREPARE_LAYOUT CHANGING GS_LAYOUT.
       CALL METHOD GR_ALVGRID->SET_TABLE_FOR_FIRST_DISPLAY
            EXPORTING
    *      I_BUFFER_ACTIVE               =
    *      I_BYPASSING_BUFFER            =
    *      I_CONSISTENCY_CHECK           =
    *      I_STRUCTURE_NAME              = 'VBRP'
    *      IS_VARIANT                    =
    *      I_SAVE                        =
    *      I_DEFAULT                     = 'X'
              IS_LAYOUT                     = GS_LAYOUT
    *      IS_PRINT                      =
    *      IT_SPECIAL_GROUPS             =
    *      IT_TOOLBAR_EXCLUDING          =
    *      IT_HYPERLINK                  =
    *      IT_ALV_GRAPHICS               =
    *      IT_EXCEPT_QINFO               =
            CHANGING
              IT_OUTTAB                     = IT_VBRP[]
              IT_FIELDCATALOG               = GT_FIELDCAT
    *      IT_SORT                       =
    *      IT_FILTER                     =
            EXCEPTIONS
              INVALID_PARAMETER_COMBINATION = 1
              PROGRAM_ERROR                 = 2
              TOO_MANY_LINES                = 3
              OTHERS                        = 4
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                     WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          CALL METHOD GR_ALVGRID->SET_READY_FOR_INPUT
            EXPORTING
              I_READY_FOR_INPUT = 1.
        ELSE.
          <b>CALL METHOD GR_ALVGRID->REFRESH_TABLE_DISPLAY
    *    EXPORTING
    *      IS_STABLE      =
    *      I_SOFT_REFRESH =
            EXCEPTIONS
              FINISHED       = 1
              OTHERS         = 2
          IF SY-SUBRC <> 0.
            MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                       WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.</b>
        ENDIF.
        CLEAR V_FLAG.
      ENDIF.
    ENDMODULE.                 " DISPLAY_ALV  OUTPUT
    *&      Form  DISPLAY_ALV
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM DISPLAY_ALV .
      IF GR_ALVGRID IS INITIAL.
        CREATE OBJECT GR_ALVGRID
          EXPORTING
    *    I_SHELLSTYLE      = 0
    *    I_LIFETIME        =
            I_PARENT          = GR_CCONTAINER
    *    I_APPL_EVENTS     = space
    *    I_PARENTDBG       =
    *    I_APPLOGPARENT    =
    *    I_GRAPHICSPARENT  =
    *    I_NAME            =
          EXCEPTIONS
            ERROR_CNTL_CREATE = 1
            ERROR_CNTL_INIT   = 2
            ERROR_CNTL_LINK   = 3
            ERROR_DP_CREATE   = 4
            OTHERS            = 5
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                     WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      ENDIF.
    ENDFORM.                    " DISPLAY_ALV
    *&      Form  PREPARE_FIELD_CATALOG
    *       text
    *      <--P_GT_FIELDCAT  text
    FORM PREPARE_FIELD_CATALOG  CHANGING P_GT_FIELDCAT TYPE LVC_T_FCAT.
      DATA : LS_FCAT TYPE LVC_S_FCAT,
             L_POS TYPE I.
      L_POS = L_POS + 1.
      LS_FCAT-FIELDNAME = 'VBELN'.
      LS_FCAT-TABNAME = 'IT_VBRP'.
      LS_FCAT-COL_POS = L_POS.
      LS_FCAT-SCRTEXT_M = 'Billing Document'.
      LS_FCAT-OUTPUTLEN = '10'.
      APPEND LS_FCAT TO P_GT_FIELDCAT.
      CLEAR LS_FCAT.
      L_POS = L_POS + 1.
      LS_FCAT-FIELDNAME = 'POSNR'.
      LS_FCAT-TABNAME = 'IT_VBRP'.
      LS_FCAT-COL_POS = L_POS.
      LS_FCAT-SCRTEXT_M = 'Billing Item'.
      LS_FCAT-OUTPUTLEN = '6'.
      APPEND LS_FCAT TO P_GT_FIELDCAT.
      CLEAR LS_FCAT.
      L_POS = L_POS + 1.
      LS_FCAT-FIELDNAME = 'UEPOS'.
      LS_FCAT-TABNAME = 'IT_VBRP'.
      LS_FCAT-COL_POS = L_POS.
      LS_FCAT-SCRTEXT_M = 'Higher Level Item'.
      LS_FCAT-OUTPUTLEN = '6'.
      APPEND LS_FCAT TO P_GT_FIELDCAT.
      CLEAR LS_FCAT.
      L_POS = L_POS + 1.
      LS_FCAT-FIELDNAME = 'FKIMG'.
      LS_FCAT-TABNAME = 'IT_VBRP'.
      LS_FCAT-COL_POS = L_POS.
      LS_FCAT-SCRTEXT_M = 'Invoice Quantity'.
      LS_FCAT-OUTPUTLEN = '13'.
      APPEND LS_FCAT TO P_GT_FIELDCAT.
      CLEAR LS_FCAT.
      L_POS = L_POS + 1.
      LS_FCAT-FIELDNAME = 'NETWR'.
      LS_FCAT-TABNAME = 'IT_VBRP'.
      LS_FCAT-COL_POS = L_POS.
      LS_FCAT-SCRTEXT_M = 'Net Value'.
      LS_FCAT-OUTPUTLEN = '15'.
      APPEND LS_FCAT TO P_GT_FIELDCAT.
      CLEAR LS_FCAT.
      L_POS = L_POS + 1.
      LS_FCAT-FIELDNAME = 'MEINS'.
      LS_FCAT-TABNAME = 'IT_VBRP'.
      LS_FCAT-COL_POS = L_POS.
      LS_FCAT-SCRTEXT_M = 'Unit of Measure'.
      LS_FCAT-OUTPUTLEN = '3'.
      APPEND LS_FCAT TO P_GT_FIELDCAT.
      CLEAR LS_FCAT.
      L_POS = L_POS + 1.
    ENDFORM.                    " PREPARE_FIELD_CATALOG
    *&      Form  PREPARE_LAYOUT
    *       text
    *      <--P_GS_LAYOUT  text
    FORM PREPARE_LAYOUT  CHANGING P_GS_LAYOUT TYPE LVC_S_LAYO.
      P_GS_LAYOUT-ZEBRA = 'X'.
      P_GS_LAYOUT-GRID_TITLE = 'INVOICE DETAILS'.
      P_GS_LAYOUT-SMALLTITLE = 'X'.
      P_GS_LAYOUT-EDIT = 'X'.
    ENDFORM.                    " PREPARE_LAYOUT
    *&      Module  STATUS_0100  OUTPUT
    *       text
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS 'CANCEL'.
    *  SET TITLEBAR 'xxx'.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
    *       text
    MODULE USER_COMMAND_0100 INPUT.
      CASE SY-UCOMM.
        WHEN 'BACK'.
          LEAVE TO SCREEN 0.
        WHEN 'CANCEL'.
          LEAVE TO SCREEN 0.
        WHEN 'EXIT'.
          CALL TRANSACTION 'SE38'.
        WHEN 'CHANGE'.
          IF GR_ALVGRID->IS_READY_FOR_INPUT( ) = 0.
            CALL METHOD GR_ALVGRID->SET_READY_FOR_INPUT
              EXPORTING
                I_READY_FOR_INPUT = 1.
          ELSE.
            CALL METHOD GR_ALVGRID->SET_READY_FOR_INPUT
              EXPORTING
                I_READY_FOR_INPUT = 0.
          ENDIF.
      ENDCASE.
    Regards,
    Aswin

  • ADF 10.1.3 Programatically committing changes and refreshing the list page.

    Hello,
    I have a requirement where on list page i select a recrod and than modifies it on next page. I am using different database views for list and update purpose. So when i save the changes, control comes back to REFRESHED list page.
    Pls let me know how can i commit and refresh the changes programatically. I hav added a method on managed bean as part of action binding.
    Thanks
    Manish

    public String beanMethod() {
    //obtain a reference to your bindingcontainer. chances are you have the "bindings" member variable of the mangaged bean and you have the getBindings() function already built by the wizard for you.
    DCBindingContainer bc = (DCBindingContainer)getBindings();
    //Make sure you have the "Commit" action binding on your pageDef. If not ob will return a Null reference. If you have drag and dropped the Commit operation on your ApplicationModule found on the Data Control Pallete on your page, the "Commit" operation should be there on your pageDef
    OperationBinding ob = (OperationBinding)bc.get("Commit");
    ob.execute();
    return "navigationToListPage";
    I think when you go back the listPage, the ADF framework will execute the query automatically.
    When you go to the update page, are you just updating the current row or creating a new row and then filling out the attribute values?

  • How to kill an alv-grid object and refresh the frontend

    Hello experts,
    i have created an alv-grid display!
    now i want to hide the whole alv-table on the screen when user e.g. hits a button!
    How can i kill this object and refresh the frontend?
    Thanks a lot,
    Marcel

    Hello Marcel
    For this requirement I would use the following approach:
    (1) main screen '0100': here you display your ALV grid
    (2) Define a dummy screen '0101' the user will never see
    (3) Link the container for the ALV grid (e.g. go_docking) to the dummy screen when the user pushes the HIDE button (method LINK)
    (4) Link the container back to your main screen when the user pushes the DISPLAY button
    I never ever destroy a grid control and re-build it from scratch but always use either of its methods REFRESH_TABLE_DISPLAY or SET_TABLE_FOR_FIRST_DISPLAY.
    Regards
       Uwe

  • How to export a schema and import the schema to a different schema name

    I am using Oracle9i Oracle Enterprise Manager Console.
    I can export the HR to a dmp file.
    I have created another user call MYHR and I would like to import hr.dmp to the new user.
    1. How can I add a schema using OEM?
    I can do it by creating a table in MYHR and refresh OEM.
    2. How can I import HR.dmp to MYHR using OEM.
    I can import it using command line:
    imp user/password@connectstring file='c:\hr.dmp' full='Y'
    Any hints are appreciated

    Hi,
    1.
    You don't have to create a schema explictly.
    Say you create a user u1. Now this user u1 create some object s, then the schema u1 is automatically created.
    Schema is actually a logical collection of objects.
    2.
    Why using OEM for importing. Using the command is much more easier.
    Your command is bit incorrect. Don't use full=y to import a schema.
    Use ; imp userid=user/password@connect_string file=filename fromuser=HR touser=MYHR
    Better add "log=some text file". Then use can see the log also.
    Regards.

  • Best Practice on using and refreshing the Data Provider

    I have a �users� page, that lists all the users in a table - lets call it master page. One can click on the first column to of the master page and it takes them to the �detail� page, where one can view and update the user detail.
    Master and detail use two different data providers based on two different CachedRowSets.
    Master CachedRowSet (Session scope): SELECT * FROM UsersDetail CachedRowSet (Session scope): SELECT * FROM Users WHERE User_ID=?I want the master to be updated whenever the detail page is updated. There are various options to choose from:
    1. I could call masterDataProvider.refresh() after I call the detailDataProvider.commitChanges() - which is called on the save button on the detail page. The problem with this approach is that the master page will not be refreshed across all user sessions, but only for the one saving the detail page.
    2. I could call masterDataProvider.refresh() on the preRender() event of the master page. The problem with this approach is that the refresh() will be called every single time someone views the master page. Further more, if someone goes to next page (using the built in pagination on the table on master page) and clicks on a user to view its detail and then close the detail page, it does not keep track of the pagination (what page the user was when he/she clicked on a record to view its detail).
    I can find some work around to resolve this problem, but I think this should be a fairly common usage (two page CRUD with master-detail). If we can discuss and document some best practices of doing this, it will help all the developers.
    Discussion:
    1.     What is the best practice on setting the scope of the Data Providers and CahcedRowSet. I noticed that in the tutorial examples, they used page/request scope for Data Provider but session scope for the associated CachedRowSet.
    2.     What is the best practice to refresh the master data provider when a record/row is updated in the detail page?
    3.     How to keep track of pagination, (what page the user was when he/she clicked on the first column in the master page table), so that upon updating the detail page, we cab provide user with a �Close� button, to take them back to whaterver page number he/she was.
    Thanks
    Message was edited by:
    Sabir

    Thanks. I think this is a useful information for all. Do we even need two data providers and associated row sets? Can't we just use TableRowDataProvider, like this:
    TableRowDataProvider rowData=(TableRowDataProvider)getBean("currentRow");If so, I am trying to figure out how to pass this from master to detail page. Essentially the detail page uses a a row from master data provider. Then I need user to be able to change the detail (row) and save changes (in table). This is a fairly common issue in most data driven web apps. I need to design it right, vs just coding.
    Message was edited by:
    Sabir

  • Exporting and Importing the schema with AQ capability

    Hi,
    We have a production DB which is using Advance queuing and this whole queuing is working fine in Prod but now we have a problem in test Env and it seems that somebody has already tampered the test DB. (the queue reads and sends the messages to DB2)
    So i wanted to export the prod schema and import it to the test schema that we have.
    i wanted to make sure that if i import it to test db , it doesn't send the messages to the prod DB2 database!!
    now it should send the messages to the test DB2 database.
    How can i see where it sends the messages after i imported it ? how can i change it?
    i'm not sure if i have explained my problem in a correct way and if you have understood my question. Please send me messages and i can explain more about it.

    Hi Adhappan
    I have tried importing without success. The import is not consistent. The same schema creates different sets of tables & fields each time. Sometimes if you reimport some more tables which were not set up the first time gets selected for import.
    I did a simple exercise to test the import / export functionality.
    1. I unarchived a repository from standard content provided by SAP
    2. I exported the schema
    3. I tried importing the schema without any modifications to schema
    4. The results were highly inconsistent.
    Arvind
    Pls reward useful answers

  • Close popup window and refresh the parent window

    Hello,
    I have a button in a normal report, when clicked opens up an popup window which is a form containing some items and here in this form (i have some editable text items) I make some changes and click on the apply changes button -- this should update the form, close the popup window and should refresh the parent window.
    can anyone please help me out with this issue.
    Thanks,
    Orton

    you have your popup window. When they apply the changes you want it to close the window, right?
    Modify the button (save, apply changes) and give it url redirect to the custom function you create (See below): javascript:saveChanges();
    in the page header, add a new function:
    <script type="text/javascript">
    function saveChanges(){
         doSubmit('SAVE');//this is the line to save the current form on the popup window. (This assumes SAVE is the request value that should udpate the db)
         window.close();//close the popup window
         window.opener.doSubmit('REFRESH');//call doSubmit function on the parent window to cause the page to refresh.
    </script>

  • Removing Items from Gridview and refreshing the gridview without redirecting to the same Page.(Windows Phone 8.1 Xaml)

    I have a gridview with a Usercontrol as its itemtemplate. In the Usercontrol I have a flyout attached to it using which the user can choose to delete the entry. After deletion how do I remove the entry from the gridview without redirecting to the samePage
    and removing the backstack entry?
    Please note that I am deleting/modifying the itemssource in the usercontrol's codebehind.

    Hi Rajiv,
    Where you have attached flyout. Which UI control. Is it border?? What type of UI control inside the DataTemplate?
    As normal, when user clicked on the delete item, you can retrieve the selected entry as single item of an observablecollection and pass into your ViewModel class and remove it. 
    The item will be removed at Runtime without refreshing or redirecting and there will a animation (transition) in the GridView when it removing.
    If this content doesn't match your answer. Please ask me again.
    Thank you

  • How to Export and Import the schemas

    How can i export & import the schema's ? pls give me some example on how to do it.
    Could anyone pls show the commands to retrieve the Tablespace information... i mean what its initial size.. and how much of space has been used...
    ur reply is very much appreciated
    regards
    Muraly

    user11136977 wrote:
    Hi all,
    i am trying to export / import, need to know the commands
    =>how to export and import full schemas from 1 user to another
    =>how to export and import database
    =>how to export the tablespaces
    RegardsNo version, must be 10g then.
    All you asked and much more in the Utilities guide.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/exp_imp.htm#i1023560
    HTH
    Aman....

  • How to delete and refresh the contents of table control..

    how to delete particular row in table control .consider we r having three rows i wish to delete the third row.while on debugging the third row gets deleted successfully.but that is displayed in table control.then how to refresh the table control...

    hi,
    try like this....
    USER_COMMAND of PAI
    MODULE user_command_9000 INPUT.
      CASE ok_code.
        WHEN 'BACK' OR 'UP' OR 'CANCEL'.
          LEAVE PROGRAM.
        WHEN 'DEL'.
          GET CURSOR LINE lin_no.
          f1 = 1.
       ENDCASE.
    ENDMODULE.                 " USER_COMMAND_9000  INPUT
    and in Module in which u fetching data in PBO, write like
    MODULE get_data OUTPUT.
      IF f1 <> 1.
        SELECT kunnr name1
        INTO CORRESPONDING FIELDS OF TABLE mytab
        FROM kna1.
      ENDIF.
      IF f1 = 1.
        DELETE mytab INDEX lin_no.
        FREE lin_no.
        FREE f1.
      ENDIF.
    ENDMODULE.                 " get_data  OUTPUT
    reward if useful...

  • NSArrayController and refreshing the associated TableView

    Hello,
    I'm a Cocoa rank newbie and I'm probably trying to do something too complicated for my current abilities but here goes. I've been using Hillegass' book and am building an App that uses the NSArrayController to manage an NSTableView. I can add and delete objects and all that stuff. My problem comes when the data in the objects that are bound to the TableView changes "behind the Controller's back". The values in the objects are clock-based and I need to cause the TableView to refresh it's view of the bound data every second. I have scoured the web for how to cause a refresh and the answer seems to be either use the KVO method (which I can't really do (I think) because I'm not changing the data) or "send a -fetch" to the ArrayController.
    Sending the fetch seems like what I want to do but I can't find any information on how to do it. In the end, I don't really understand how to get a reference to the ArrayController object sitting in the Doc window that has all the bindings. I basically don't understand any of the objects in the Doc window. I dutifully drag them in and make connections to them but I don't really understand why.
    Any help on refreshing the NSArrayController would be much appreciated.
    Tom

    OK, incase anyone else is struggling with this, I got this working. From various posting, it seemed that I needed to create an IBOutlet and connect it to my ArrayController. I was having a tough time getting my head around that since all I'd ever done till now was connect IBOutlets to visual things such as TextFields. I finally found a hint that said I needed to connect the outlet from File's Owner to the ArrayController. So, I created an IBOutlet in my myDocument file;
    @interface MyDocument : NSDocument
    NSMutableArray *myObject;
    IBOutlet NSArrayController *arController;
    Then, in IB, I right-clicked File's Owner and dragged from the arController Outlet to the ArrayController object in the Doc window.
    Then, in myDocument.m, in the place that I wanted to refresh the list, I did this;
    (bracket)arController rearrangeObjects(bracket);
    (how do you post code snippets in these forums without it being "interpreted"?)
    Simple enough now that I've done it but it took me awhile to connect the dots.
    Anyway, I hope this helps someone else in the same boat.

  • How to get a form parameter and refresh the web web page itself?

    I thought its easy as a piece of cake. But what I found out is that somehow it is getting the parameter after the web page is refreshed!
    Any advice is greatly appreciated. Thanks!
    for navigation method
       //navigation method
        public Object refresh()
            return Navigation.HOME;
        }for web page
    <h:commandLink value="Regenerate resutls"  action="#{bean.refresh}">
                       <f:param name="algorithm" value="#{HomeMBean.algorithm}"/>
                    </h:commandLink>

    What I am trying to say here is:
    for a web page, I want to refresh the web page based on a parameter chosen by users,
    In web page:
    <h:commandLink value="Regenerate resutls"  action="#{bean.refresh}">
                <f:param name="algorithm" value="#{HomeMBean.algorithm}"/>
    </h:commandLink>in managed bean:
        //navigation method
        public Object refresh()
            return Navigation.HOME;
        }also in managed bean:
    String algorithm = FacesContext.getCurrentInstance().
    getExternalContext().getRequestParameterMap().get("algorithm");
            logger.debug("parameter="+algorithm);What I observed is I will never get the parameter "algorithm" before the web page is refreshed. In other words, the method setAlgorithm() is always called after the web page is rendered.
    I in fact want to render the web page based on the parameter "algorithm".
    I spent quite a lot time on it but can't figure out why.
    My guess is for managed beans, I can't rely on one property to generate another property, is that right?
    How should I solve this problem? Thanks a million!

Maybe you are looking for

  • Macbook continues to crash

    Anonymous UUID:       71EAA385-FBBE-6CD3-623B-382704487730 Sun Nov 24 10:04:59 2013 panic(cpu 2 caller 0xffffff800ccdc19e): Kernel trap at 0xffffff800ccc422b, type 14=page fault, registers: CR0: 0x0000000080010033, CR2: 0xffffffffffffffff, CR3: 0x000

  • How to add a field in already extracted Table

    Hi , Requirement is to add a new field in VBAK Table ( incoterms). VBAK has alredy extracted in HANA with few selected fields. Please suggest

  • Complex Apple Mail Problem

    In using Apple Mail I have found one flaw in such an awesome program. While reading an email I will find a tracking number or information that I want to search for in google, so naturally I right click after highlighting and select "Search in Google"

  • Help with 11.0.3 ...URGENT!!

    There is a request from our client to change all of the port numbers on a 11.0.3 Oracle Financials system. Port changes are for: 1 Oracle Database Listener 2 Oracle Reports Listener 3 Oracle Web Server ports 4 Oracle Forms Server ports In 11i, I know

  • Quick sorting of Portrait or Landscape images?

    When outputting for a web site, I find I need to apply different sizes to Portrait images than to Landscape ones. Does anyone know how to quickly sort images into these two types? Thanks in advance