Can the tables in the datamodel be ditributed among 2 different databases

Hi,
Please let me know whether the tables in the datamodel be ditributed among 2 different databases (for example between DB2 & Oracle).
Thanks in advance!

duffymo,
Can you help me I am new to this one. Where do I do the JTA connection. Infact, is it a JTA configuration or is any coding required to handle that two-phase commit.
would like to know more.
Thanks

Similar Messages

  • Can the RV180W have multiple SSIDs with different security configurations?

    I am trying to configure the RV180W with a guest network and regular wireless network. The regular wireless network is just a bridge to the wired network, using WPA2-Pers for authentication. I built and enabled another wireless SSID, using a different VLAN and no authentication. I can get both SSIDs to function at the same time if I turn off security. Once I turn on Security, the regular one no longer functions.

    It is actually all in the manual:
    SEE: PDF MANUAL
    Page 63 of PDF and onwards
    Do note that you need to assign multiple VLAN per SSID. Check the manual it is there :D
    and based on the manual you need to enable multiple VLAN support: See page 34 of the manual: Configuring Virtual LAN (VLAN) Membership
    Don't forget to rate and mark as answer helpful posts! :)

  • Can the same button be used for different things

    hi, i want to be able to change what area the player goes to when they press the journey button. but the code i made can only display one message, and that is, "you journey on..."
    i want to be able , for each button press, to move the player forward to a new area, is that possible? here is the code so far.
    import java.applet.Applet;
    import java.awt.Button;
    import java.awt.Graphics;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    public class Buttondemo extends Applet implements ActionListener{
    String msg = "";
    String zone = "forest";
    String message = "Current zone is" + zone;
    Button attack,run, inventory, search, journey ;
    public void init(){
    attack = new Button("attack");
    run = new Button("run");
    inventory = new Button("inventory");
    search = new Button("search");
    journey = new Button("journey");
    add(attack);
    add(run);
    add(inventory);
    add(search);
    add(journey);
    attack.addActionListener(this);
    run.addActionListener(this);
    inventory.addActionListener(this);
    search.addActionListener(this);
    journey.addActionListener(this);
    public void actionPerformed(ActionEvent ae){
    String str = ae.getActionCommand();
    if(str.equals("attack")){
    msg = "You attack!";
    else if(str.equals("run")){
    msg = "You run!";
    else if(str.equals("inventory")){
    msg = "Here is your inventory";
    else if(str.equals("search")){
         msg = "You start searching...";
    else 
         msg = "You journey on...";
    repaint();
    public void paint(Graphics g){
    g.drawString(msg, 6, 100);

    Ofcourse its possible. Maybe you wanna consider using an specific actionlistener for the journey button instead of using the common actionlistener.
    Like this:
    journey.addActionListener(new ActionListener() {
         public void actionPerformed(ActionEvent ae){
              //Move forward...
    });

  • EEWB Extension deletion " Field changes can require table conversion"

    Hi
    Wihile iam trying to delete extensions in EEWB (created in  a transaction ) it is giving me the below error
    Field changes can require table conversion
    Message no. OXT_MISC328
    Diagnosis
    Not all databases permit deletion of fields in existing tables. Deletion may be required when making changes. In this case, the table must be converted, and then it has the status Partially active. The extension is otherwise flagged as having errors.
    Procedure
    Take the tables that are to be converted from the log. Use the database utility to make the conversion. Conversion may require a lot of time and resources. Then repeat the transaction in the Easy Enhancement that led to this message.
    The Request which contains the extension has already been transported  can any help me out in this
    Edited by: Nanda Kishore on Sep 2, 2009 8:16 AM

    Hi Kishore,
    Go to Database Utility (SE14) --> select the table names from you log and (in next screen) press button Activate & Adjust database and check that the Status becomes Active. Depending on the size of table , might take some minutes to activate this table.
    Cheers
    Jignesh

  • How to implement a page showing different database tables

    I am wondering what is the best way to implement the following task:
    On the left side of a page, there are two Listboxes. On the right side of the page, I want to display different database tables depending on the selected value from those two Listboxes.

    I am wondering what is the best way to implement the
    following task:
    On the left side of a page, there are two Listboxes.
    On the right side of the page, I want to display
    different database tables depending on the selected
    value from those two Listboxes.A Data Table component isn't really designed to dynamically swap which database table you're binding too (and therefore which set of columns you will display) under the covers. Here are a couple of general strategies to consider for accomplishing your functional requirements:
    * Create a separate Data Table component for each possible database table, all on the same page, and dynamically set the "rendered" property of the selected Data Table to true, while setting it to false for all other Data Tables. That way, only the corect one will be shown.
    * Create a separate page for each Data Table, using a similar look and feel so that it appears to the user like it's all the same page. To save cutting and pasting the list components, put them in a JSP Page Fragment so they can be reused on each page. ((SIDE NOTE: This is a very common technique for simulating what looks like tabbed panes, but where the implementation actually uses separate pages.))
    * Use frames so that the left frame (containing the list boxes) stays the same, and the right frame switches to a different page for each of the tables. This is essentially another way to share the list components across the pages.
    * Abandon all the ease-of-use stuff Creator provides for binding to data tables, and write code that programmatically erases all the old child components and creates new ones. This is the sort of thing you'd need to do for a "SQL BROWSER" sort of application, where the set of columns is not known ahead of time.
    Craig McClanahan

  • Can the cell lines be removed from a table inserted in a Pages document?

    Can the cell lines be removed from a table inserted in a Pages document?

    Inspector > Table > Table > Cell Borders
    The buttons immediately below "Cell Borders" allow you to choose left, right, inside, outside etc.
    Choose None from the border style Pop-up.
    Download the Number'09UserGuide from the Help menu in Pages. Search for borders.
    Regards,
    Ian.

  • Can the command ADD partition (in table )invalid procedures,packages. ??

    Hi Folks.
    I know that drop a partition make invalid public synonyms, packages, functions.
    But.
    Add partition, can make invalid some object?
    I tested and didnt find objects invalid.
    Tks

    >
    I tested and didnt find objects invalid.
    >
    Please confirm that your tests included these steps
    1. created a partitioned table
    2. create at least one of every possible type of object that might depend on that table
    3. performed an ADD PARTITION that succeeded
    4. confirmed that NONE of the objects from step #2 were invalidated
    5. performed an ADD PARTITION that failed in various ways (local index partition can't be created, tablespace can't be extended, non-existent tablespace, etc)
    6. confirmed that NONE of the objects from step #2 were invalidated.
    See ALTER TABLE in the SQL Language Reference
    http://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_3001.htm
    >
    Note:
    If you alter a table that is a master table for one or more materialized views, then Oracle Database marks the materialized views INVALID. Invalid materialized views cannot be used by query rewrite and cannot be refreshed. For information on revalidating a materialized view, see ALTER MATERIALIZED VIEW.
    >
    Did you test that the above MV is not invalidated?
    Did you test that adding a partition did not invalidate any local or global indexes?

  • Can FF tables be locked so that only the FF jobs can update them?

    Can the FF log tables (/VIRSA/ZVIRFFLOG, /VIRSA/ZFFTNSLOG, /VIRSA/ZFFCDHDR) be somehow locked so that only the Log Update job (/VIRSA/ZVFATBAK) is allowed to update them?
    If not, can change logging be turned on for these tables so that it tracks who/what is making changes to these tables?
    We are on version GRC 5.3 SP13.
    Thanks.

    Hi Bob,
    Using SCU3, you can log the table activity. Refer the below link:
    http://wiki.sdn.sap.com/wiki/display/ABAP/Table+History
    However, if you have maintained the authorization strictly with the authorization groups, tables can't be modified by any other users.
    If you further want to restrict, consider implementing S_TABU_NAM authorization object.
    Regards,
    Raghu

  • Getting list of tables the user has access to across different schemas.

    Hi,
    I have to get the list of tables that an User has access to. I tried the below code. It takes a very long time. Is there any way in which I can specify the user name and get all the tables that he has access to? I know that we can use dbMetadata.getTables api. But this returns the list of tables under the said schema. But I want the list of tables that the user has access including tables in other schema.
    In the below code, I am trying to get the tables for which USER_MICHAEL has access to.
    DatabaseMetaData dbMetadata = connection.getMetaData(); String userName = null; dbrs = dbMetadata.getTables(null,userName , "%", new String[] { "TABLE" }); dbrs=dbMetadata.getTablePrivileges("",userName,"%"); while (dbrs.next()) { String tableName = dbrs.getString("TABLE_NAME"); String schema = dbrs.getString("TABLE_SCHEM"); String privilege = dbrs.getString("PRIVILEGE"); String grantee = dbrs.getString("GRANTEE"); if(grantee!=null && grantee.equals("USER_MICHAEL")){       System.out.println("Schema---"+schema+" Table---"+tableName+"  Privilege----"+privilege+"  grantee---- "+grantee); } }

    That would be database dependent.
    Some engines have some system tables that together may be used to extract such information, others may not make it available at all outside closed APIs.

  • How easily can the MacBook Pro be scratched with another aluminium product?

    I have a MacBook Pro 15' and an iPad 2 with a Smart Cover.  Every now and then, if I carry both in my hands, I stack the iPad on top of the MacBook Pro.  I will hear a sound of metal VS metal and I have figured what it was.  The hinge of the Smart Cover was rubbing against my MBP.  I was wondering, can the 2 scratch each other?  I have noticed wear on the metal Smart Cover hinges, and was wondering if the same thing could happen to my MBP.
    Thanks for helping!

    Aluminum, while flexible and lightweight, is a very soft metal. Apple was very careful with engineering the MBP to round the edges and make the shell as damage proof as possible. Still, with a little bit of hand pressure, you can cut into aluminum with an everyday table knife. That should tell you something.

  • How do I get the rowid or the DataModel from a DataTable inside a DataTable

    Hi,
    I have a simple application which I cannot get to work.
    I have two entity classes: Parent and Child.
    I want to create a page which lists all of the Parents, and in a column of the Parent row has an inner dataTable which displays the Children of the Parent. I then want to click on the Child and link to a view of that Child. What is happening is that I cannot resolve which child was clicked inside my row. I don't seem to be able to get the datamodel for the List children, so it always defaults to the first child in the list.
    Goal: drill down to a specific child from a list of parents with a sublist of children belonging to each parent.
    I have tried creating a new method called prepareChildView() in ParentController like this below but it always returns the first child. I figure I need to create the DataModel earlier but cannot figure out how to do this. Perhaps the auto generated pattern makes it difficult to achieve what I want to - not sure.
    public String prepareChildView() {
            current = (Parent)getItems().getRowData();
            DataModel d = new ListDataModel(current.getChildren());
            Child child = (Child)d.getRowData();
            //child is always the first child!
            return "\children\View";
        }I may be going about this completely wrong so am open to suggestions. I am using JSF2, Glassfish3.0.
    Parent.java
    @Entity
    public class Parent implements Serializable {
        @OneToMany(mappedBy = "parent", cascade = CascadeType.ALL)
        private List<Child> children;
        public List<Child> getChildren() {
            return children;
        public void setChildren(List<Child> children) {
            this.children = children;
    }Child.java
    @Entity
    public class Child implements Serializable {
        @ManyToOne
        @JoinColumn(name = "parent")
        private Parent parent;
        public Parent getParent() {
            return parent;
        public void setParent(Parent parent) {
            this.parent = parent;
    }ParentFacade and ChildFacade are auto generated from NetBeans, as are ParentController and ChildController.
    ParentController:
    Code doen't fit in the post.
    List.xhtml
    <h:form styleClass="jsfcrud_list_form">
                <h:panelGroup id="messagePanel" layout="block">
                    <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
                </h:panelGroup>
                <h:outputText escape="false" value="#{bundle.ListParentEmpty}" rendered="#{parentController.items.rowCount == 0}"/>
                <h:panelGroup rendered="#{parentController.items.rowCount > 0}">
                    <h:outputText value="#{parentController.pagination.pageFirstItem + 1}..#{parentController.pagination.pageLastItem + 1}/#{parentController.pagination.itemsCount}"/> 
                    <h:commandLink action="#{parentController.previous}" value="#{bundle.Previous} #{parentController.pagination.pageSize}" rendered="#{parentController.pagination.hasPreviousPage}"/> 
                    <h:commandLink action="#{parentController.next}" value="#{bundle.Next} #{parentController.pagination.pageSize}" rendered="#{parentController.pagination.hasNextPage}"/> 
                    <h:dataTable value="#{parentController.items}" var="item" border="0" cellpadding="2" cellspacing="0" rowClasses="jsfcrud_odd_row,jsfcrud_even_row" rules="all" style="border:solid 1px">
                        <h:column>
                            <f:facet name="header">
                                <h:outputText value="Id"/>
                            </f:facet>
                            <h:outputText value="#{item.id}"/>
                        </h:column>
                        <h:column>
                            <f:facet name="header">
                                <h:outputText value="Name"/>
                            </f:facet>
                            <h:outputText value="#{item.name}"/>
                        </h:column>
                        <h:column>
                            <f:facet name="header">
                                <h:outputText value="Children" />
                            </f:facet>
                            <h:dataTable value="#{item.children}" var="child" >
                                <h:column>
                                    <h:commandLink action="#{parentController.prepareView}" value="#{child.name}" />
                                </h:column>
                            </h:dataTable>
                        </h:column>
                        <h:column>
                            <f:facet name="header">
                                <h:outputText value=" "/>
                            </f:facet>
                            <h:commandLink action="#{parentController.prepareView}" value="#{bundle.ListParentViewLink}"/>
                            <h:outputText value=" "/>
                            <h:commandLink action="#{parentController.prepareEdit}" value="#{bundle.ListParentEditLink}"/>
                            <h:outputText value=" "/>
                            <h:commandLink action="#{parentController.destroy}" value="#{bundle.ListParentDestroyLink}"/>
                        </h:column>
                    </h:dataTable>
                </h:panelGroup>
                <br />
                <h:commandLink action="#{parentController.prepareCreate}" value="#{bundle.ListParentCreateLink}"/>
                <br />
                <br />
                <h:commandLink value="#{bundle.ListParentIndexLink}" action="/index" immediate="true" />
            </h:form>

    Hi,
    It will help to resolve your issue:
        public String processChildView(){
            UIComponent component = null;
            String  componentId = null;
            Parent parent = null; //Bean class
            Child child = null; //Bean Class
            FacesContext context = FacesContext.getCurrentInstance();
            UIViewRoot root = context.getViewRoot();
            String childView = "childView";
            //Parent Table UIData
            componentId = "parentChildTable";
            component = findComponent(root, componentId);               
            UIData parentTable = (UIData) component;
            //Child Table UIData
            componentId = "childTable";
            component = findComponent(root, componentId);               
            UIData childTable = (UIData) component;
            //Perform Parent Child operation
            if(parentTable != null && childTable != null){
                if(parentTable.getRowData() instanceof Parent){
                    //Get Parent Object from parentTable
                    parent = (Parent) parentTable.getRowData();
                    //Get child object by parent object using childTable's Row Index
                    parent = (Parent) parentTable.getRowData();
                    child = (Child) parent.getChild().get(childTable.getRowIndex());
                    System.out.println("Parent Name " + parent.getName() + "Child Name " + child.getName());
            return childView;
        //Utility method to get component by passing component id in requested view
        public static UIComponent findComponent(UIComponent c, String id) {
             if (id.equals(c.getId())) {
               return c;
             Iterator kids = c.getFacetsAndChildren();
             while (kids.hasNext()) {
               UIComponent found = (UIComponent) findComponent((UIComponent)kids.next(), id);
               if (found != null) {
                 return found;
             return null;
      } Regards,
    Manish Paliwal
    "Life is beautifull."

  • Can the format of a SQL Statement modify the execution time of an SQL ....

    Can the format of a SQL Statement modify the execution time of an SQL statement?
    Thanks in advance

    It depends on:
    1) What oracle version are you using
    2) What do you mean for "format"
    For example: if you're on Oracle9i and changing format means changing the order of the tables in the FROM clause and you're using Rule Based Optimizer then the execution plan and the execution time can be very different...
    Max
    [My Italian Oracle blog|http://oracleitalia.wordpress.com/2009/12/29/estrarre-i-dati-in-formato-xml-da-sql/]

  • Can the java bean be a JFrame

    while using the axbridge can the bean be a JFrame..i tried doing that ..but the frame is not visible while using the activex control

    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.table.*;
    import javax.swing.tree.*;
    import javax.xml.parsers.*;
    import org.w3c.dom.*;
    import org.xml.sax.*;
    public class Abhix extends JFrame implements Serializable
    private DocumentBuilder builder;
    private DocumentBuilderFactory factory ;
    private Document doc;
    private static final int DEFAULT_WIDTH = 400;
    private static final int DEFAULT_HEIGHT = 400;
    public Abhix()
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    setVisible(true);
    setTitle("DOMTreeTest");
    setSize(DEFAULT_WIDTH, DEFAULT_HEIGHT);
    JMenu fileMenu = new JMenu("File");
    JMenuItem openItem = new JMenuItem("Open");
    openItem.addActionListener(new
    ActionListener()
    public void actionPerformed(ActionEvent event) { openFile(); }
    fileMenu.add(openItem);
    JMenuItem exitItem = new JMenuItem("Exit");
    exitItem.addActionListener(new
    ActionListener()
    public void actionPerformed(ActionEvent event) { System.exit(0); }
    fileMenu.add(exitItem);
    JMenuBar menuBar = new JMenuBar();
    menuBar.add(fileMenu);
    setJMenuBar(menuBar);
    Open a file and load the document.
    public void openFile()
    JFileChooser chooser = new JFileChooser();
    chooser.setCurrentDirectory(new File("."));
    chooser.setFileFilter(new
    javax.swing.filechooser.FileFilter()
    public boolean accept(File f)
    return f.isDirectory() || f.getName().toLowerCase().endsWith(".xml");
    public String getDescription() { return "XML files"; }
    int r = chooser.showOpenDialog(this);
    if (r != JFileChooser.APPROVE_OPTION) return;
    File f = chooser.getSelectedFile();
    try
    if (builder == null)
    factory = DocumentBuilderFactory.newInstance();
    builder = factory.newDocumentBuilder();
    doc = builder.parse(f);
    catch (IOException e)
    JOptionPane.showMessageDialog(this, e);
    catch (ParserConfigurationException e)
    JOptionPane.showMessageDialog(this, e);
    catch (SAXException e)
    JOptionPane.showMessageDialog(this, e);
         public String get()
              Element root = doc.getDocumentElement();
              NodeList children = root.getChildNodes();
              for (int i = 0; i < children.getLength(); i++)
                   Node child = children.item(i);
                   if (child instanceof Element)
                        Element childElement = (Element)child;
                        String text = textNode.getData().trim();
                        break;//for 1st node only
              return text;
    }

  • Apply the same LCR two times on different tables

    Hi all
    Just one question:
    Can I apply the same LCR two times on different tables using only one apply queue?
    For example executing two times LCR.EXECUTE(TRUE) in a procedure handler:
    LCR.EXECUTE(TRUE);
    LCR.EXECUTE(TRUE);
    ....

    Topas,
    You need to create new LCR and execute both LCRs.
    Regards,
    Serge

  • Can the case be changed while uploading the data or after uploading ????

    hi all ,
    can u pls help me ???  can the case of the data in a itab be changed while running the program? the data is uploaded to an internal table and then based on loop at that itab the conditions will evaluate to give the result.... but the problem is like wen the data is given in small letters the worste(last)  condition is executing even the data satisfies the condtion which is not supposed to happen. this is due to case sensitive problem ...can u pls help me ....can the case be changed while uploading the data r after uploading ????

    this is the itab declaration ..
    data: begin of it_input occurs 0 ,
           tra          like tstc-tcode,
         end of it_input.
    and then from the uploaded data the prog should check wheather it is having any userexits or not ...
    here comes the code...
    sort it_input by tra.
    delete adjacent duplicates from it_input  .
    loop at it_input.
               it_itab-sno = sy-tabix.
      select single * from tstc where tcode eq it_input-tra.
    if sy-subrc eq 0.
        select single devclass from tadir into v_devclass
                 where pgmid = 'R3TR'
                        and object = 'PROG'
                        and obj_name = tstc-pgmna.
             if sy-subrc ne 0.
             select single * from trdir where name = tstc-pgmna.
             if trdir-subc eq 'F'.
                select single * from tfdir where pname = tstc-pgmna.
                select single * from enlfdir where funcname =
                tfdir-funcname.
                select single * from tadir where pgmid = 'R3TR'
                                   and object = 'FUGR'
                                   and obj_name eq enlfdir-area.
             move : tadir-devclass to v_devclass.
              endif.
           endif.
           select * from tadir into table jtab
                         where pgmid = 'R3TR'
                           and object = 'SMOD'
                           and devclass = v_devclass.
           if sy-subrc = 0.
            select single * from tstct where sprsl eq sy-langu and
                                            tcode eq it_input-tra.
                      if not jtab[] is initial.
               loop at jtab.
                    select single modtext from modsapt  into str
                         where sprsl = sy-langu and
                                name = jtab-obj_name.
                    it_itab-tra        = it_input-tra.
                    it_itab-i_obj_name = jtab-obj_name.
                    it_itab-i_modtext = str.
                    append it_itab.
                    str = ''.
               endloop.
              endif.
            else.
                    it_itab-tra        = it_input-tra .
                    it_itab-i_obj_name = ' '.
                    it_itab-i_modtext = 'No user Exit exists'.
                     append it_itab.
            endif.
          else.
                    it_itab-tra        = it_input-tra .
                    it_itab-i_obj_name = ' '.
                    it_itab-i_modtext = 'Transaction Code Does Not Exist'.
                     append it_itab.
          endif.
    endloop.

Maybe you are looking for

  • How do I use another computer to add music to my Iphone?

    The laptop I had all my Itunes stuff in lost funtion in it's USB ports. I am trying to move my iphone over to my desktop so I can once again download MP3s to my Iphone, but I don't want to delete everything on my phone and I also can't upload a backu

  • Ipod touch 5th gen, gets stuck on apple logo.HELP!

    I guess I will just start from the beginning. FIRST OF ALL I HAVE ALREADY TRIED RECOVERY AND RESETTING PLEASE DO NOT SAY THAT! My iPod touch 5th generation was dead and i left it dead for a day or so before recharging it, I just hadn't gotten around

  • My ipod is stuck in recovery mode and will not restore how did i fix this?

    my ipod is syuck in recovery mode and when i try to restore my ipod it will not work how do i fix this?

  • DBMS_PROFILER - only anonymous

    I am trying to get over with DBMS_PROFILER, but I face a problem, that I can't get through. I followed the tutorial on this page: http://www.oracleflash.com/44/Write-fast-and-efficient-PLSQL---DBMS_PROFILER.html and everything was fine till I did not

  • XSLT - for cXML

    Hi all , can XSLT engine be used for sending purchase order in cXML format ?  if yes please let me know the steps . Thanks in advance Madhu