APEX Application schema vs schema

What is practical common Production of creating schema?

Do I need to have separate the schema for the objects in the APEX and workspace AND have connected it to my production application diagram where all applications related tables?

Please advice.

Thank you

Hello

I'm not sure you understand the architecture of the Apex, and maybe a brief explanation will answer your question.

When you create a workspace Apex, you associate this workspace with an Oracle schema that is the scheme of analysis, which means that all the code you produce as part of your application is running as this drawing. This scheme would then usually become the owner of all your objects in Oracle database such as tables, views, indexes, packages, etc. (it may be more complicated with multiple schemas, but lets keep things simple for now)

Then, you just create an Apex application against this schema. Objects Apex you create, applications, pages, regions, sections, etc., are not actually stored in this scheme. They are associated with this scheme of working space and are actually stored in a metadata structure of the schema of the Apex, which you never touch directly, but interact with through the actual application of the Apex. If you logged on to your schema analysis through SQLPlus and tried to find objects of the Apex by querying the metadata of normal database views that you won't find anything.

Back to the thing of multiple schemas, for small and medium-sized applications that are purely for Apex, I would recommend that you keep everything in a single schema and use this schema in the schema of your analysis. For applications more complex, a purely database design point of view, it may be better to split your application into several scheme in multiple schemas. In this case, you will need create a scheme of analysis or use one of the existing schemas as a scheme of analysis and then to maintain a system of grants and synonyms between patterns to identify all patterns of Apex, although only can be the analysis schema.

There is a theory going around that promotes separation between schemas that have database objects and schema that connects an application like. This is mainly for security and safety so that developers do not damage the application of database and end users access without authorization through techniques such as SQL injection. This can be a concern with the very big development projects with large and/or public user databases. I tend to think, however, that this is not the typical target for applications of Apex (Apex is appropriate in this case API is another debate) and using this architecture of sorting is excessive in most cases.

I hope I understood your query and that helps.

Concerning
André

Tags: Database

Similar Questions

  • The schemas are required to export an APEX application and the EE DDL to itself and XE

    Source DB - Oracle 11 g 2 EA

    Target DB - Oracle 11 GR 2, 11 2 Oracle XE GR SE

    O/S - RHEL 6.5

    Application - APEX 4.2.2

    Must give up an APEX application and the underlying DDL associated with a database Oracle EE an Oracle SE and XE database.

    Patterns are required to export to accomplish this approach?

    Is there one method other than export patterns which would be preferably?  (for example export tablespaces).

    You should not deal with apex tablespace or schema APEX_040X00.

    Just follow these steps:

    (1) ensure that the APEX version is the same or higher in the target schema, upgrade if need be

    (2) discover patterns of the application (NOT APEX_XX) pump and export data those and import them into the target schema.

    (3) in the target database, create a different workspace and the link with the schemas imported analysis

    (4) export enforcement APEX of source database in the target database.

    If you expand the app, better to talk to the one who did it. Make sure that the Images, CSS, JavaScript files are added as objects of support and those that are then exported (to step 4).

    Basically don't worry about APEX_O40X00 scheme, as long as your Apex versions match, it will be the same and will be automatically filled with metadata in the application import and export performance.

  • Apex authentication scheme 4.02 Apex Bug

    Hello

    I have recently install 4.0.2 oracle apex in Oracle database XE, I created an application with the Apex authentication scheme. The problem I encountered is that Apex is always show the logout button, if I close the browser and open it again and enter my public page of application for the first time that the apex is showing the logout button. When I click on the logout button, the session id changes but Apex continues to show the logout button.

    Is there a solution for this situation?

    Hello

    Go to edit this entry of logout navigation bar.
    The value entered conditionally "user is Authenticated (not public)"

    Kind regards
    Jari

  • How to add data to the table using Manager POST for restful Apex application

    Hi all

    I managed to create a service application web Manager restful using GET for the Restful service module. I am able to get the data in row on the presentation of a table row id in the application. But I can't find an appropriate example, how the new data in the table can be posted or deleted. I created a POST handler for a URI scheme and look forward on how to proceed. Any help would be really appreciated.

    Source for the POST Manager:

    Start

    insert into ALL_BOOKS values(:id,:book);

    end;

    Also created 2 parameters id and the book.

    Hi jerry2134,

    jerry2134 wrote:

    I managed to create a service application web Manager restful using GET for the Restful service module. I am able to get the data in row on the presentation of a table row id in the application. But I can't find an appropriate example, how the new data in the table can be posted or deleted. I created a POST handler for a URI scheme and look forward on how to proceed. Any help would be really appreciated.

    Source for the POST Manager:

    Start

    insert into ALL_BOOKS values(:id,:book);

    end;

    Also created 2 parameters id and the book.

    Check out the following tutorials OBE, that explains the creation of GET and POST RESTful Web Services and how to use them in the APEX.

    Also what yo mean "looking forward on how to proceed? Do you want to or created for use/consume in your Oracle APEX application hosted RESTful web services?

    If Yes, in your Application, you must create a RESTful Web Service reference -> shared components. Then, create a form/report based on Web Service reference.

    Kind regards

    Kiran

  • How to get a list of the dependent object of an apex application

    Hello

    Is it possible to get all the objects with a dependency on an apex application? I need the list of all the objects (Tables, views, MViews, procedures, functions, Packages etc.) even if they are referenced in the process page, postings or even in the security of the page.

    I tried to object dependencies Application and database object dependencies report, but it seems that it does not cover the validations and the process of the page. Please confirm that as well.

    My apex version is 3.2

    Any help will be much appreciated.
    Thanks in advance!

    Prasanth

    Prasanth wrote:

    Is it possible to get all the objects with a dependency on an apex application? I need the list of all the objects (Tables, views, MViews, procedures, functions, Packages etc.) even if they are referenced in the process page, postings or even in the security of the page.

    I tried to object dependencies Application and database object dependencies report, but it seems that it does not cover the validations and the process of the page. Please confirm that as well.

    My apex version is 3.2

    Support for APEX 3.2 expired in February 2012, so it is strongly recommended to upgrade to take advantage of the multitude of new features introduced in 4.x and 5.0, and most important to get all the security enhancements added since 2009.

    I don't have access to an instance of 3.2 at the present time, however the report dependencies of APEX 5.0 database is showing objects referenced in process, Validations, Conditions and authorisation schemes. If it has been improved since the 3.2, so it clearly is another good reason to upgrade.

    If you find that dependencies for database report does not meet your needs, then you can create your own tool by using queries custom views of the APEX.

  • Copy the APEX Application

    Hello people:

    Oracle Database 11 g Express Edition version 11.2

    Request Express 4.0.2.00.08

    I have a question for you.  I developed a simple application for a Department within my organisation:

    8 pages (no application process, process page 12)

    2 triggers

    2 sequences

    2 tables

    Other departments within my body as the application so they would like their own "copy".  Because of the type of information entered in the application, I can't have all the applications use 1 (of course I can but I need to create a somewhat complex authorisation schemes and I'd rather not go that route);


    Now, finally the question:


    Is there a way to the APEX to copy an application and recreate all the components (table, triggers, etc) from the new table names?  APEX makes it definitely easy to make a copy of an application, but I then go through the copy with a fine comb to change all references to the old names of table and replace it with new table names.


    Suggestions?  Comments?  I thank all members of this community of Oracle, because you communicate knowledge where it is lacking...  

    AquaNX4 wrote:

    People of day:

    Oracle Database 11 g Express Edition version 11.2

    Request Express 4.0.2.00.08

    I have a question for you.  I developed a simple application for a Department within my organisation:

    8 pages (no application process, process page 12)

    2 triggers

    2 sequences

    2 tables

    Other departments within my body as the application so they would like their own "copy".  Because of the type of information entered in the application, I can't have all the applications use 1 (of course I can but I need to create a somewhat complex authorisation schemes and I'd rather not go that route);

    Now, finally the question:

    Alas, I fear, that's the wrong question.

    Is there a way to the APEX to copy an application and recreate all the components (table, triggers, etc) from the new table names?  APEX makes it definitely easy to make a copy of an application, but I then go through the copy with a fine comb to change all references to the old names of table and replace it with new table names.

    Any suggestions?  Comments?  I appreciate everyone in this community of Oracle, as share you information where it is lacking...

    If it becomes a business tier application, it must be generated using the level technology company, such as the authorisation schemes, VPD to the multi-tenant data to be stored in the same tables and sturdy PL/SQL API for the maintenance of the data rather than the process Assistant APEX.

    Authorisation schemes are of no use in restricting access to the data, they are used to control access to the APEX application components. You can use authorization to control if a user sees a report from the region, but not the rows that are displayed in the report. To do this you must use VPD or views (note that separate sets of tables are not even considered an option).

    If all departments use, how long before that some top-level executive wants to have access to the data for each of them? How easy it will be to predict that, when the data is distributed on several tables?

    That said, SPV is not available in the XE, and the fact that you use it means that you are unlikely to be able to switch to Enterprise Edition to get it.

    My recommendation would be to rebuild the application using a set of tables, the views that restrict access to data by the Department and the generation of reports and PL/SQL with API packages manage data.

  • Limitation of the APEX: sharing pages between several APEX applications

    I was hoping if someone with a little more experience architect APEX could comment on some of the limitations that I see and I have to make good decisions, working around the problem.

    Any suggestions are welcome.

    One of the limitations I've seen, it's how APEX handles applications and pages. Each application appears as an island, it has its own set of pages, the processes of connection, templates, CSS, JS, references etc.. Regarding the CSS and Javascript, you can be defined in a central location, but still, every new developed APEX application must be configured to make use of your 'standard '.

    The more traditional web solutions showing each as stand-alone web page and any web page can call/reference any other page and pass information to session between them.

    With APEX, however this doesn't seem to be the case.

    A solution would be to have a huge demand for APEX, where all the pages are the property of this unique application.

    Unfortunately, we use of APEX and EBS R11 (& R12) together; all APEX applications are started in the menus of the EBS. I had drawn a SSO solution between the two (without using oracle SSO). However, each APEX application is unique, as small modules instead of complete applications. In other words, we tend to use APEX as an alternative for Oracle Forms - each APEX application is a standalone program.

    I always wanted to be able to apply the same connection process and look and feel in the brand new APEX app we write.

    The way I went to this subject has been meticulously creating a 'model' APEX application. Embedded in the application of this model are all our shared CSS, JS and models that apply the site appearance. It also contains our custom library of signature unique code and debugging custom logger (think log4j but for APEX).

    So whenever a developer began work on a new APEX application, they start by cloning the model and automatically inherit all the functionally and website presentation.

    My concern is if this is really the best way to do it, or if I'm missing something?

    I am also concerned move forward when I wants to establish the change in appearance across all of our web applications that I need to touch each APEX application since. I'm trying to mitigate this by ensuring that almost all the programming logic is contained in packages of PL/SQL, CSS and Javascript only referenced and external application of the APEX. But this does not always with models, or with a logic that is rooted in the actual pages of the APEX etc.

    At least APEX allows you to easily enough copy pages between applications, but it does compare not just to have a single page shared between all applications of the APEX.

    Is there a better way to go about this?

    Hi attis.

    I think you can't really compare a module with an APEX application forms. I wouldn't say to create an APEX application every time when you have created a module of forms in the past.
    A forms module is just a few pages of an application to the APEX. Then you really should have more then a few pages in an APEX application. Certainly, a huge application is also not the way to go, but I group them for example by logical areas such as HR, logistics, order...

    As Sc0tt already mentioned, you must use the 'Subscribe' mechanism of shared components to make it easier to update all your applications with the model updates. But there is more, you should also share your user name and just have in one place and use the "simple APEX based SSO" that allows all applications within a workspace can share the same session. Simply set the 'Cookie' namesake in your authentication for all your applications and when you bind an application to another and include a valid session id you should not have to log in again and you can also set the session state in that other application.

    So here's what I'd do

    (1) creating a master application that contains
    (a) your theme and other components shared that you want to share
    (b) must be also some basic navigation lists to navigate between your applications...
    (c) create a sign with the name "Redirect to connect main app" and type accounts APEX (no matter) where you define the name of 'Cookie' to 'Cbx_missmost' and the URL of invalid session to the login page of your creation 'hand connection app '. For example: f? p = 9999:101: & SESSION.

    (2) create a model application which is a copy of the claim, but where change you the "subscription" of your models, authentication scheme and components shared in the main application. This will serve as your App developers if they want to create a new application.

    (3) create your 'hand connection app' (eg. app 9999 id) by
    ) a copy of your new model application
    (b) remove the inside authentication scheme (this is just made for this main connection app)
    (c) create a new type to use. But important: set the name of 'Cookie' to 'Cbx_missmost '. This will ensure that all applications have the same session cookie.
    (d) If you use APEX 4.1.1 you will automatically be redirected to the calling application after successful login.

    (4) start to create new applications by copying your 'model' application that contains all subscriptions.

    (5) If you run this application, it automatically redirects to your main connection application if the current session is not valid. This will avoid to have the same logic of authentication in your applications.

    (6) If you need to change your templates or shared components you just do in the "master" application and click on the "publish" button to push the changes for all your applications.

    But still, try to avoid many small applications, I think that make handling just unnecessarily complicated. It is an APEX application has a few hundred pages. For example, our APEX app Builder (app 4000) has more than 1260 pages.

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Using the EBS API from Apex application?

    Can anyone tell me any documentation on that?

    I'm looking into our options, we have a customer who is using management commands and want to create a web form through Apex at the entrance of all orders.

    I know we could build something and store data to an intermediate table of sorts, then call a program simultaneous to take data and create orders. But I was looking for a more effective method like calling the API (plsql packets) directly from the APEX page?

    I'm not sure if something along these lines is possible?

    Thoughts?

    Jeremy

    Hello

    You can call these APIs (plsql packets) directly from the APEX page?

    Yes you can, simply call the API to an Apex "after submit' process. This article (http://www.oracle.com/technology/products/database/application_express/pdf/apex_ebs_wp_cabot_consulting.pdf) has some details.

    How to configure your application is so important. Many of the more complex APIs require that the current scheme for the session's APPS and consequently the Apex application must be associated with the APPS schema so that the SQL is parsed as APPS.

    Also, for performance reasons, it is sometimes preferable for Apex validate and load data into a staging table and then use a process of Apex for the kickoff a custom concurrent application which runs in the background and calls the API to load the data into the tables of the EBS.

    Rod West

  • How LDAP query within an APEX application?

    Hi all

    I have setup an APEX application that uses the LDAP authentication and I was wondering if it is possible to request information from LDAP to complete the forms once logged into the application.


    Thanks in advance for the support everybody!

    view Oracle database Blog 2.0: using Active Directory to control authentication and authorization at Apex

    on authentication LDAP at the Apex.

  • How to move or delete an APEX application programmatically using application_id and / or aliases?

    Oracle db 11 g 2

    Oracle APEX 4.2.1

    Linux RHEL 6.3

    ------------------------

    Is anyone know the function or procedure to remove or delete an APEX application programmatically using application_id and / or aliases?

    The best I can Google is:

    wwv_flow_api.remove_flow (application_id); -to drop id app by app of APEX

    Any other suggestions?  Any call APEX API I do (I do not see in the APEX API Ref).

    Thanks to a bouquet.

    Hi tx

    We use a script that calls these procedure packed high-end APEX api indeed.

    This script (called: uninstall) is called from one in Linux. Sh script file

    In our case, the application and space to work used the same name, but you can easeliy that adapt to your situation.

    The script is called in the script as .sh

    $> sqlplus / as sysdba @de - install.sql

    The script has the following content:

    DECLARE

    / * End: uninstall Apex

    Settings: 1 = name of work/application space

    */

    l_application_id NUMBER;

    BEGIN

    SELECT Application_id

    IN l_application_id

    Of apex_applications

    Workspace WHERE the = ' & 1' AND alias = ' &1';. ' -find the application with a given name to a certain workspace (with the same name)

    wwv_flow_api.set_security_group_id (p_security_group_id-online APEX_UTIL. FIND_SECURITY_GROUP_ID('&1'));) -sets the security group so that you can remove this application

    wwv_flow_api.remove_flow (l_application_id); -remove the application

    EXCEPTION

    WHEN NO_DATA_FOUND THEN - say nothing when the application does not exist

    NULL;

    END;

    /

    output

    Hope this helps you

    Best regards, Wouter

  • Export the apex application

    Hi Experts,

    I use apex 4.1.

    I created my apex application and I added the number of images that are customized to the apex [through the shared components] pages. Now I want this request to the export and import of a different workspace that is in another server. How can I easily export and import these custom images?

    Really grateful if someone can help me on this.
    Thank you
    Kuru.

    Hello

    Create the script of installation of files to your workspace
    http://docs.Oracle.com/CD/E23903_01/doc/doc.41/e21674/deployment.htm#CHDIEGCF

    Kind regards
    Jari

  • need to check if a table is used nowhere in an APEX application

    Hello
    I need to know if a table is used within our APEX applications before as I have let down some of her columns. The table is not from the database of the APEX and would be used through dblink. Is it possible to do?
    Thank you very much
    Irina

    Irina,

    In the Application Builder page. upward on the toolbar under the name of your workspace. There is a text box Search Application;

    Type a string for your table name and APEX will search in any of the Application for this channel.

    Jeff

  • No checksum to the link between the two apex applications

    Hey,.

    I'm tying an Apex application to another. Two applications require checksums.
    The applications are on the same database, but on different workspaces.
    The url shows and works, but it does not generate a checksum, so I can't access the page.

    The code that I use to generate the url:
    APEX_UTIL. PREPARE_URL ('f? p = 555:2 :'|| v ('SESSION'): ': NO::P2_ID :'||) ID, null, 1)

    I also tried to use the & c that Oracle has documented to show the workspace is:
    APEX_UTIL. PREPARE_URL ('f? p = 555:2 :'|| v('SESSION') |) "& c = WORKSPACE_NAME::NO:P2_ID :'|| ID, null, 1)

    But in vain.

    Help is appreciated.

    Published by: 905605 on January 4, 2012 05:58

    Hello

    APEX_UTIL. PREPARE_URL only works if the target application is stored in the same workspace as the current application.
    This is for security reasons. If we would not prevent someone would be able to generate a valid checksum for an application in a different workspace and bypass security controls.

    Is your application in the same workspace? If Yes, you can setup a simple example on apex.oracle.com with two applications where you can reproduce the problem. I think it would help a lot to identify the problem.

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Excel applications Apex application migration

    Is it possible to migrate Excel applications applications apex?

    Because as much as I know that we can create the worksheet data applications, but is it possible to migrate Excel at apex application such as the migration of forms Microsoft access application/oracle and apex using available apex OR do application reports we have both different ways instead of developing from scratch?

    Please notify.

    Thank you
    Oar.

    Hello

    It is not possible to Excel applications applications Apex migration.

    Yes, you can create the data of the spreadsheet application.

    Kind regards

    Patel Kartik
    ------------------------------------------------------------------------
    http://patelkartik.blogspot.com/
    http://Apex.Oracle.com/pls/Apex/f?p=9904351712:1

  • user name of the user who runs an Apex application in a database trigger

    Hello

    I need to fill a field of the audit in a trigger of database with the username of the user who runs an Apex application.
    In Oracle forms, I would have used the keyword "USER", I tried to use
    the word 'USER' in my trigger, but it is up to the user "APEX_PUBLIC_USER". I guess
    all users get connected as long as 'APEX_PUBLIC_USER' at a certain level.

    Can someone tell me how I can get the real of the user connected to the application of the Apex of a database trigger?

    I thank in advance for any assistance.

    Might want this in addition:

    nvl(v('APP_USER'), user)
    

    Since the database has no notion of the Apex, if you never update/insert/etc ' ing outside a session of Apex, v() will return a null value. That may be fine for your needs, but if your column is not nullable, it will throw an error.

    Just something to consider.

Maybe you are looking for

  • Pirrit - how Custom to restore your data without infecting a MacBookPro erased?

    May 31, 2016, I started to get pop-up windows.  The next day because the problem has gotten worse, I bought Bitdefender and downloaded MalwareBytes, which found and removed adwares/malwares.  However, as CJ706 says, Bitdefender has continued to find

  • Satellite Pro 4600: Wireless lan driver for Win XP

    Hello I have a Toshiba Satellite Pro 4600 with a built-in wireless lan mini pci card. My problem is that I only have Windows XP! But in the toshiba Download Center, there is only the driver for Windows 2 k. What can I do to use the complete wireless

  • Apple 3.0 broken 8500 Fax Update!

    Since the last Apple HP printer software update 3.0 on October 1, 2014, my OfficeJet Pro 8500 (A909n) and his 02807A will no longer respond to an incoming fax call. Is someone can you please help me solve this problem? Last night I missed a very impo

  • How can I remove PC Security Guardian from my computer?

    I didn't ask for this program. He installed himself and now I can't get rid of it. I tried Control Panel, but it does not even appear on the list of programs that can be deleted.

  • Issue of mail from Windows Live contacts

    I just bought a new computer with vista and windows mail. My old computer used XP and outlook express 6. In express, I had my contacts every day in the directory of Contacts main identity as well as several subdirectories like school, Viet Nam Vets,