Transformation to define the schema and user on Tables in relational and physical

I imported my Designer SDDM 4.0.1.836 deposit.  Now, I want to APP_SYS of subviews allows to define the schema on the tables in the relational model and the user on the physical model.  Our application in designer systems are 90% based scheme.  Here's what I have so far based on the example of OE and HR plans that I imported, built logical, then back to relational.  At this point, I have the tables by subview...  Line 24 is obviously incorrect.  Can someone give me a step by step approach to understand what I need to set the schema of the table and the user?  I looked through the read me file, xml files, the index and searched the known universe and am still confused.

importPackage(javax.swing);
// variable to keep a status message for later

var message="";
var schema="";

// Get all subviews for Relational
    subviews = model.getListOfSubviews().toArray();
for (var isub = 0; isub<subviews.length;isub++){
    subview = subviews[isub];
    message = message + '\n'+isub+" "+ subviews[isub];
    if(subviews[isub]!=null){
          if(subview == "HR_ERD"){
             shema = "HR";
            }else if(subview == "OE_ERD"){
             schema = "OE";
            }
         tables = model.getTableSet().toArray();
         for (var t = 0; t<tables.length;t++){
             table = tables[t];
             //check for presentation in subview
             tv = table.getFirstViewForDPV(subviews[isub]);
             if(tv!=null){
                 table.setSchemaObject(schema);  
                  message = message + '\n    '+ t +" " +shema+"."+ tables[t] ;
            }
        }
    }
}  

JOptionPane.showMessageDialog(null, message);
//Packages.oracle.dbtools.crest.swingui.ApplicationView.log(message);

Hi Marcus,

First of all, you must make sure that the schema already exists in your relational model.

You can use the method

public void setSchema (String schemaName)

to associate your Table with this scheme.

(This method is defined on ObjetConteneur, so it can also be used to make and index).

If you already have a user of your physical model that implements your schema, it is not normally necessary to create a user on the TableProxyOracle in the physical model.

However if you do not want to set, then the method to use is

public void setUser (user UserOracle)

David

Tags: Database

Similar Questions

  • Size of the schema and the schema used provided actual spending

    Hello

    Can you please provide me with the query that is used to see the actual size of the schema and the schema used provided.

    I got the sqlquery to see the used size of the schema (select owner, sum (bytes) / 1024/1024 "MB" dba_segments group by owner;).

    Please give me the sqlquery to see the actual size of the schema

    Does

    SQL> select username,tablespace_name,bytes,max_bytes from dba_ts_quotas order by 1,2;
    

    Help?

  • How to set up the schema and users?

    Hello

    I'm looking for the best option for the implementation of the user and the schema in my used Oracle instance only for reports. Version using Ora11g.

    Background-

    Oracle Ora-Ainstance, is the live OLTP system.

    Oracle Ora-B instance will be the new system of reporting , I am building this new system as a reporting instance. My question is how to set up users and safety for installation below?

    Planned - approach

    Instance Ora - has, some subsets of data is moved to instance Ora-Bnight batch. Using the dblink, I'll be the data.

    Required users on Ora-B.

    1) ETLUser. -Will extract the data instance Ora-A and load B Orapending.  (User charges/written in the tables only)

    2) ReportViewer - read only access on the tables in the instance of Ora-B, for the generation of reports. (User reads only the data in the tables)

    You want all report data in a new scheme called 'Report', in the basis of the declaration.

    So, how I setup user and schema?

    Thank you

    Krishna

    Unless you are using versions of the previous decade and material, I do not recommend a separate database.  Material and modern versions run mixed workloads much better that the older systems were, so the need for a statement of the separate databases is dwindling.  The current trend in the industry is to CONSOLIDATE, less material treatment and bodies less.

    This has the additional advantage that your refreshes need not go on the network - you get faster performance of refreshment.  They share a buffer cache, so you can get the benefits of data already in memory.  If you are concerned about the damning reports of the treatment, the resource manager may set limits as needed.

    Your planned approach to ETLUSER and REPORTVIEWER is solid - good separation of responsibilities.  I would just create these ORA - a, the size of the SGA and CANCEL accordingly and allocate storage, assuming that the hardware supports the need for capacity.

    Users and schemas are almost synonymous concepts in Oracle.  They are separated in other platforms to database (such as SQL Server).  In Oracle, when you create a user, you have created a pattern.

  • Defining the Organization and trusted Reconsilation - 11g Release2

    Hello

    Suppose you have a definition of the Organization in the form of Org1-> Org1 Sub1-> Org Sub1_1. My regular custom tusk trust reconsilation how I can configure the organization which is in the shape that I described? When there is organization with no sub organization I simply put the name of the Organization and all goes well, in this case, data that I put to the Organization should be something like Org1:Org1 Sub1:Org Sub1_1? Any help is greatly appreciated...

    BR
    Aliye

    You will always be in the same way. The organizational structure will exist in the IOM in such a manner. You should not worry about balancing the user. The user will have the name org organization either parent or child.

    Ex: org1-> and org2-> org3

    Recon data

    User1, org1
    User2, and org2
    user3, org3

    If this is especially the case you shouldn't worry about hirarchy org in IOM balancing user data.

    Let me know if your scenario is different

    -nayan

  • export the schema, but for two tables, export only 20 rows

    11.2.0.2/RHEL 5.4

    Using expdp, I want to export an entire schema. But for the 2 large tables (say the EMP and DEPT tables) in this diagram, I want to export only 20 records (at random) for them. Is it possible for expdp and impdp?

    If this is not possible then, is there any option to have no any line for these 2 tables?

    Christian Christmas Pal Singh says:
    possible, but you must create two files dmp means export of run 2 times.
    1. for complete schema to exclude these 2 tables by the exclusion clause.
    2. use the query clause to filter the data in the second export for these 2 tables.

    Really? is not something that similar work? instead of rownum, if you want truly random, then use example of clause, but it should be based on the amount of sample would make 20 lines for you, then a bit of work there.

    schemas=my_schema
    QUERY=my_schema.table1:"where rownum < 21"
    QUERY=my_schema.table3:"where rownum < 21"
    

    Published by: rjamya on Sep 19, 2012 08:32

  • Action carried out scale % rather than define the width and height

    Hello

    I am creating an action to scale an object to a width of 1024 pixels and then save it to the web.

    But stocks record percentages, rendering it useless when it is applied to another object.

    Can someone tell me what I am doing wrong?

    Noties in images, I put the width of 1024 pixels, but in Action, it performs a scaling of 1233,73%

    illustrator size.png

    illustrator Action.png

    Save the setting the width or height in the palette Transform (or Panel) instead of in the scale dialog box.

    JET

  • AF:dialog define the type and Ok button at the bean actionListener

    Hello Experts,

    I use Jdev 11.1.1.7 could you help me understand how to set the type of an af:dialog to okCancel, and tap the Ok button on an actionListener method which I prefer?

    Thank you, Atanas.

    AF:dialog has dialogListener (if you do not need any actionListener)

    See this example: http://www.techartifact.com/blogs/2013/03/handling-ok-and-cancel-button-in-afdialog-using-popup-in-oracle-adf-by-dialoglistener.html#sthash.Q6xfNErm.dpbs

    Or you can use 'buttonBar' side to place your own buttons: http://jdevadf.oracle.com/adf-richclient-demo/docs/tagdoc/af_dialog.html and their son to actionListener.

    Dario

  • How to resize an image using PIXELS to define the width and height?

    I need make my image a certain number of pixels wide and high.  When I resize image I can't change the area that shows the pixels of width and height, and when I drop down lists it does not give option pixels.  When I choose "points" and "Pica" they are obviously not other names for the pixels because the given number is not the number of pixels above.  I used to be able to do it EASILY in elements 2.0, my previous version of elements.  I am now using 8.0.

    In fact, I just realized that nothing that I in image resize will change the number of pixels at ALL in question.  Size and pixel per inch are locked permanently in relationship to each other.  I had to download a new version not long because my computer hard drive has failed, and I think they changed the things that work so not now, because I would have noticed it before now if it's that way when I downloaded originally from that.  I begin to fear that I'll have to kludge with the crop tool, even if the resizing of the image SHOULD be able to.

    Make sure resample is checked:

  • loop through the layers defining the lock and visibility

    I need to loop through the layers in the active document and the value of the properties of the layer is false or true.  I tried to create a loop using a method 'for', but it doesn't seem to work. I have renounced the method 'for' because I kept running into a problem.  I have set all layers with these settings just the odd ones (2,4,6, etc.). Here is sample if it was written.

    myLayer = myDoc.layers var [2];

    myLayer.visible = false;

    myLayer.locked = true;

    myLayer = myDoc.layers var [4];

    myLayer.visible = false;

    myLayer.locked = true;

    myLayer = myDoc.layers var [6];

    myLayer.visible = false;

    myLayer.locked = true;

    myLayer = myDoc.layers var [8];

    myLayer.visible = false;

    myLayer.locked = true;

    I have 208 layers, so doing it this way would be way to long. Any help would be appreciated.

    Illustrator CC 2014 running.

    After I wrote this and tested, I saw that Carlos had already answered, but I thought that I would post it anyway. Carlos KNOWS how much I love JS... ;-)

    One difference is that, since it was not clear to me which layer you talk like layer #1, I started at the bottom of the scale.  I hope this helps.  -TT

    var aDoc = app.activeDocument;
    var lc = aDoc.layers.length;
    for (var i = 2; i <= lc; i+=2) {
        var curLayer = lc - i
        aDoc.layers[curLayer].visible = false;
        aDoc.layers[curLayer].locked = true;
    }
    
  • Extend the AD schema and configure the connection manager

    Hello

    I tried to extend the schema and configure connection manager but without success.

    When I have the schema in ESSO Admin Console extension displays a success message, but when I check Active Directory for objects that must appear, non of them are there.

    Someone can explain to me please what im doing wrong, or give me a link where measures to extend and configure connection manager is explained?

    Thank you

    Make sure that the agent global settings (registry settings) for the two machines are the same. These settings define how the SSO client will include (as well as synchronize with the directory). If they appear identical, I would then check to ensure that the customer who does not have a typical AD synchronization (see Add/Remove Programs). If this still isn't your problem, check the DNS of your Inbox (this implies that your non-working client is joined to the domain and log you in as a domain user).

  • How to get a list of the methods and functions to use in the Transformation

    I am developing a transformation to apply the schema of a table in the relational model according to its type of classification. I was able to do this, but I have a doubt, in other words, how get the name of the first additional classification type, listed in the dropdown list of "Selected" of the "additional part" of the section "Types of Classification" of the table "Properties".

    This is the code that I'm working on:

    tables = model.getTableSet () .toArray ();

    for (var t = 0; t < tables.length; t ++) {}

    table = table [t];

    rating = table.getAdditionalClassificationTypes () .toArray ();

    SchemaName = ";

    {if (rating. Length = 0)}

    SchemaName = table.getClassificationType ();

    } else {}

    for (var s = 0; s < classif.length; s + +) {}

    {if (rating [s]! = table.getClassificationType ())}

    SchemaName = rating [s];

    }

    }

    }

    table.setSchema (schemaname);

    }

    The problem lies on the fact that I am able to get the ID of the Type of ranking, but not it's name...

    I was wondering if there is some document that lists the methods, functions, and namespaces that I could use in Data Modeler?

    Thanks in advance

    Wolf Goebel

    Wolf Hello,

    You can find the description of the API in the following directory:

    \datamodeler\datamodeler\xmlmetadata\doc

    Best regards

    Joop

  • The analysis of the patterns and user data

    Hi there;

    We have an application that we intend to migrate apex environment, but the actual application is such that the next;

    Everyone has its own pattern of data, which allows us to have a dmp functional full exp for all tables in the schema of users.

    So, to bring this matter to the architecture of the apex, it is looks that I need to install the apex to my oracle instance and create (say 10 workspaces if I have 10 data of users to each schema schema) or have a full space of the application work exp and a full import to each schema of data of users;

    Someone has some like this environment?

    What about the practice of bast apex, what would be the optimal scenario of the apex?

    Forward thanks;

    Marcos Ortega

    Hey Marcos.

    Are you sure you want to keep the user/schema configuration because it is now? I don't know the details of your needs, but it seems that you should use EVP instead of a single schema by user. In any case, I'll assume that you want to migrate to the APEX with the current configuration of the user/schema.

    You should know that an APEX application can only have a scheme of analysis. This means that you will need to create a separate application by user. Sounds awful, right? Think of your ease of management: a change in demand means that you will need to update each user's application. In addition, I'd stick to a single workspace since it is perfectly possible to assign several schema to a workspace. A workspace by user is less easy to manage and not necessary in your case.

    Kind regards

    Nick

  • How the portal is mapped in the schema of the database database?

    How the portal is mapped to the schema of the database selected in the user profile of portal to the database? It is my understanding that each user connects to the database as a 'Portal' that is configured by default in the dad under PlsqlDatabaseUsername. How the database schema selected in the portal user profile come into play?

    Thanks in advance for your help:
    Aimee

    Oracle Portal users are not defined in the database. They are defined as inputs in your LDAP server (Oracle Internet Directory) below the tree defined as a basis for research of the users in the Oracle Portal:

    Portal generator > Administration > global settings > tab: SSO/OID

    Therefore, there is no mapping between users defined in Oracle Internet Directory and the users defined in your database.

    To connect to the database, Oracle Portal uses the authentication of the Proxy (http://docs.oracle.com/cd/B28359_01/java.111/b31224/proxya.htm). Connections are made mainly by the user PORTAL_PUBLIC (who is often mentioned as part of the database schema in the user properties). The schema of database in the portal user profile defines the schema that is used to perform the procedures in the database of Portal metadata repository. Theoretically, you can use a different schema than Oracle Portal, but I have not seen all cases where this has been helpful.

    Thank you
    EJ

  • For the update for user in OIM11g

    Hello...

    To update a field (email ID) of a user learned about the following steps.
    1. change email IOM profile identification and save the user form
    2 IOM then checks compared to Lookup.USR_PROCESS_TRIGGERS searching for a task name that is mapped to the Email field - typically "change Email".
    3. Add a task in the name of the process of the supply of the system target like "change Email".
    4. now write code using the IOM API that will update the Email field of the target form system configuration process with the new Email ID.
    5. connect this adapter in change Email' task.
    6. then when the form of courses is updated that triggers a process task to update the Email for that given resources - "E-mail update"

    May I know what APIs are to be used for step 4 so that the update can take place of IOM form of process for the target system.

    Thank you.

    Amruta Agarwal wrote:
    Hello...

    To update a field (email ID) of a user learned about the following steps.
    1. change email IOM profile identification and save the user form
    2 IOM then checks compared to Lookup.USR_PROCESS_TRIGGERS searching for a task name that is mapped to the Email field - typically "change Email".
    3. Add a task in the name of the process of the supply of the system target like "change Email".
    4. now write code using the IOM API that will update the Email field of the target form system configuration process with the new Email ID.
    5. connect this adapter in change Email' task.
    6. then when the form of courses is updated that triggers a process task to update the Email for that given resources - "E-mail update"

    May I know what APIs are to be used for step 4 so that the update can take place of IOM form of process for the target system.

    Thank you.

    Just copy adapter that reads the user profile data and the copy to treat the form field.
    Not for Oracle:

    (1) assume a created a UDF: UDF USR_UDF_BUS_PHONE phone number called 'Phone number' form field users user defined in the Console Design

    (2) then double-click "Définition Lookup" under the tree of the Administration Console Design and query that this code "Lookup.USR_PROCESS_TRIGGERS".

    (3) add "Information of Code Lookup" like that.

    (i) enter the UDF column, created in step 1 for Code key as USR_UDF_BUS_PHONE
    (II) enter the word "Change" without the quotes, followed by the name of the field in the column UDF created in the column of Decode. So in this case decoding is "Change phone number" without the quotes
    (III) language: en
    (IV) country: U.S.

    (4) then create a task in process of type adapter
    (i) move to the tab list of Variable and create a variable 'var1' resolve at run time.
    task logic II) Add-> DEFINE the VARIABLE and click on continue
    (III) in the Add Set parameter Variable of the task dialog box, select return value of adapter in the drop-down variable name, Type of the operand as a Variable, the qualifier operand-> 'var1' created in 4i).

    (5) add a process task under the definition of process of the resource object in Design Console called "Change phone number" without the quotes. Note: The name of the task must be
    exactly even decode the value in the choice list definitions and then make it conditional and also check "allow multiple Instances".

    ((6) in the tab 'Integration' of the task add the adapter, you created in 4) then map it on the variables of the adapter.
    (i) card adapter return Variable to process the data, and then select the form field in process (example: UD_ADUSER_PHONE) that you want to update with field of Business USR_UDF_BUS_PHONE of the user's phone.
    (II) then map the other variable of the adapter to the definition of the user-> field of Business USR_UDF_BUS_PHONE of the user's phone card.

    Result: Now when business phone is updated, business phone user change will trigger in and inserted to this resource and copy the profile to your process change. If the connector already has the task of process 'Affairs updated phone' in the definition of process that has an adapter to update the target and then due to the update to business phone in the form of process, the 'Business phone day' task will be triggered and target will also be updated with the new change.

    HTH,
    BB

    Published by: bbagaria on Sep 5, 2011 10:44

  • related to the scheme of planning export/backup before you plan the migration of the app.

    Hello

    I need to take backup of the schema before planning the planning application migration - (from 9.3.1 to 9.3.1)

    (1) should all services of Hyperion be run? for cssexportimport and backup scheme?

    (2) means import/export schema that we linked to datasource/individual application?

    (3) if we copy the SID of the target before the restoration of the schema and then we store SID after that restoration of the scheme will be would it still managed (as I don't know I can check the owner of an application for the source server).

    (4) should stop the services prior to the restoration of the scheme?

    If both users on source and target are named admin and the owner of the application, then you don't need to worry.
    To be honest, if they are both the administrator account by default hyperion same pointless to store the SID, as it's a standard value.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

Maybe you are looking for

  • Account setup with remember PW. You should disable this option. How?

    Originally, when I create an account, I do not uncheck remember password. Now, I want to turn off this option, but could not find the place to do it. Where? Any advice is welcome. Thanks for help. BJ Renton

  • Firefox crashes, will still not open

    BP-4ae5915d-4a6b-4e46-8bee-150d82111111 I use a SONY with Windows Vista laptop. Firefox updated automatically to version 8 a day or 2 ago. After it updated, he taught me that it was remove some affiliate programs. Initially, he opens a window, but sa

  • HP2310i: New (ASUS GEForce GTX 750Ti) graphics card does not not on HP 2310i

    Hi all Help, please! I can't get my new graphix card to work with my HP 2310i :-( Basic unit of HP: Pavilion Model: p6320uk i5 CPU 3 .2GHz RAM: 6 GB Screen: HP 2310i Windows: 7 (64-bit) Card: ASUS GEForce GTX 750Ti I swapped the old card and put in t

  • Bridge configuration with comcast - need to change password

    Hello I have a NetGear R6300 I use in conjunction with my comcast router (router comcast serves as a bridge). I am able to access the router to comcast, but cannot access the netgear router. We use the netgear as thoughout the home wi - fi router bec

  • HP ProBook Recovery Software

    Hello world Recently, I brought a 4730 HP's ProBook, which came with Windows 7 Professional preinstalled in it. Everything works fine, no problem from today. But I was looking for a way I can reinstall (format the laptop, reinstall the OS, drivers, e