How to design tables for Apex applications?

Hi,
I am learning Apex . I have one question.
Considering normal tables, I have primary key (some single column and some composite) for my tables.
But I learnt that Apex works well when we have primary keys using sequences.
So Should I do the following now.
1) Add a new column to all my tables which gets populated from Apex directly and make that column as primary key
2) Create a sequence to associate each such primary key
3) Make the actual primary keys as Unique keys + Not null constraints
Thank You

Why are you designing your tables o suit the tool? What happenes when you change development products? You SHOULD develop based upon SOUND database design methods. Use of surrogate keys IS a prefered development method, since use of multi-key (Composite) keys is known to be a pain for multiple reasons..
Take this small bit of knowledge.. Design you database properly for an interface and you will NOT have issues..
Thank you,
Tony Miller
Raleigh, NC

Similar Messages

  • Regarding the inbuilt log and audit tables for APEX 4.1

    Hi,
    When we acces the Administrator login then we can view various logs like the sql commands that have been recently fired,user list for a workspace,access to each application.Where are these data stored and fetched.Also could we get the inbuilt audit and log table for APEX 4.1 ?
    Thanks and Regards

    >
    Please update your forum profile with a real handle instead of "935203".
    When we acces the Administrator login then we can view various logs like the sql commands that have been recently fired,user list for a workspace,access to each application.Where are these data stored and fetched.Also could we get the inbuilt audit and log table for APEX 4.1 ? This information is available through APEX views. See:
    <li>APEX views: Home > Application Builder > Application > Utilities > Application Express Views
    <li>Monitoring Activity Within a Workspace
    <li>Creating Custom Activity Reports Using APEX_ACTIVITY_LOG
    Note that the underlying logs are purged on a regular basis, so for the long term you need to copy the data to your own tables, as Martin handily suggests here.

  • How to design EDW for source systems from different Time-Zones

    How to design EDW for source systems from different Time-Zones?
    Suppose IT landscape has a global BW in New York, and source systems in americas, europe and asia, then how the time-zones effect on time related things like delta selections on date or timestamp etc.

    As you said BW is global in NY, your source system must be global too. People from various locations can connect to same source system and thus timestamps for delta is always maintained as 1 single time. We have same scenario in our project. Our R/3 system is used by users in US and Europe. So we run deltas twice in day to make sure we got deltas from both locations.
    If scenarios was such that all locations connect to separate R/3 system, then obviously you have multiple queues. That is unique delta queue for each source system so deltas will be pulled as per data in respective queues.
    Abhijit

  • How to design and implement an application that reads a string from the ...

    How to design and implement an application that reads a string from the user and prints it one character per line???

    This is so trivial that it barely deserves the words "design" or "application".
    You can use java.util.Scanner to get user input from the command line.
    You can use String.getChars to convert a String into an array of characters.
    You can use a loop to get all the characters individually.
    You can use System.out.println to print data on its own line.
    Good luck on your homework.

  • Previous computer crashed without my Adobe CS3 Design Standard for Macintosh application being uninstalled, I'm having issues with the CS3 on my new Macintosh laptop. Please help!

    Since the previous computer crashed without my Adobe CS3 Design Standard for Macintosh applications being uninstalled, I'm having issues with the CS3 on my new Macintosh laptop. Please help, I've tried using the online "contact us" with no success, unable to get in contact with a tech support agent that can assist me.

    CS3 is too old to run on a new Macintosh laptop, sorry. You'll have to purchase CS6 or a Creative Cloud subscription.

  • Can anyone provide a simple css file for Apex Application

    Hi,
    Can anyone provide a simple css file for Apex Application please don't mention W3schools link to learn...
    Regards,
    Pavan

    in each item have ..HTML Form Element CSS Classes .e.g style="color:red",  you can change whatever you want!
    or using CSS at page header level.
    check the page: http://apex.oracle.com/pls/otn/f?p=25110:3:0:::::
    more css and JS file in Google drive(If my application/js/css breaks your computer, your database, your car's transmission anything it's your fault not mine, I have nothing to do with it and will deny all responsibility.)

  • How to create tables for control data

    HI
    How to create  tables for controls of types of data (screen control)? what is the process for this
    Regards,
    Anil

    Well, do you want to do it the easy way?  If so, then just create a table maintenance program.  You can do this via SE11, utilites, table maintenance generator. The table maintenance will be generated and you can then maintain the table via SM30. 
    If you want to go the more challenging way, you can write your own table maintenance program using a table control on your screen.  You can use the table control wizard to help you along.
    Regards,
    Rich Heilman

  • How I can use my domain name for APEX Application at Oracle Cloud?

    Hello,
    1. I have for example my-custom-domain.com and want that my customers use this domain to login at APEX Application at Oracle Cloud.
    I don't want that my customers see https://blablabla.db.us1.oraclecloudapps.com/apex/ and see instead of my-custom-domain.com :)
    How I can do it? Don't find any technical information about it...
    2. Can I use my ssl certificates for my domain for Oracle Cloud Instance?

    may be I don't understand you right...
    I have trial instance and test application here at https://database-trialajnn.db.us1.oraclecloudapps.com/apex/f?p=1500304
    database-trialajnn.db.us1.oraclecloudapps.com - it's 216.131.136.193 IP
    I write to my domain this IP = login.ds24.ru
    But when I test https://login.ds24.ru/apex/f?p=1500304
    It is not work and write that url is wrong for this ssl sertificate
    If I understand you correct now it's impossible use simple URL to login at application for example login.ds24.ru

  • How to restore or backup Apex application from Command line ? URGENT

    We have Oracle apex 4.1 installed in Oracle 11g R2 database (windows 64-bit) 2008 R2
    For some reason our database dictionary objects are corrupted.
    We wanted to backup our Apex applications in some workspaces ASAP.
    We are not able to access apex from http://localhost:7777/pls/apex/htmldb_login
    We have an underlying database schema export (expdp).
    1) Is there a way to export or backup the apex application without logging into the apex URL ? if yes how ?
    2) Does Oracle has any of its own native tool to backup and restore from command line ?
    Thanks in advance

    My (MS Windows) experience, if I may; perhaps you'll find something useful.
    You'll find the README.TXT file in /apex/utilities directory. Read it.
    In order to use APEXExport, you need JDK version 1.5 or higher. Check your version by typing (and viewing the result):
    C:\>java –version
    java version "1.6.0_06"
    Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
    Java HotSpot(TM) Client VM (build 10.0-b22, mixed mode, sharing)Its directory should be part of the PATH environment variable: on my computer, directory name isC:\Program Files\Java\jre1.6.0_06\binFurthermore, Oracle JDBC class libraries must be part of the CLASSPATH environment variable. Check whether it exists (in Control Panel - System - Advanced - Environment Variables). For my 10gXE, it is here:C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib\ojdbc14.jarI couldn't make it work; didn't know that ".\" directory must be entered into CLASSPATH as well (found that information in Arie Geller's book). Therefore, my final CLASSPATH version is:.\;C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib\ojdbc14.jarOK, setup is done. Now, go to your /apex/utilities directory and, from the command prompt, run (mind the upper case!)java oracle.apex.APEXExportwhich will show a short help.
    I chose to export the whole workspace. In order to do that, I need the workspace ID (got it from Apex's SQL Workshop; that might be a problem as you can't get there, can you? I can't tell how to find that information apart from SQL Workshop, but I'm pretty sure someone, who is much more experienced than me, will know it). OK, here's how you find it:select v('WORKSPACE_ID') from dual;Finally, here's the final step - export:C:\apex\utilities>java oracle.apex.APEXExport -db localhost:1521:xe -user scott -password tiger -workspaceid 1038408092496568The result are fxxx.sql files (where "xxx" represents application number).
    I hope you'll manage to export your applications; basically, nothing special here (except that ".\" directory in the CLASSPATH variable).
    Best of luck!

  • Using descriptive name for apex application

    hi all.
    hope every one is fine.
    i intend to use a more descriptive name for my apex application like host:port/stat instead of http://localhost:8080/apex/f?p=4500:1001:732434041939432::NO:::
    i created procedure stat for public access as follows
    +code start {+
    create or replace procedure stat
    as
    start_page varchar2(200) := ':APP_ID:101';
    begin
    f(p=>start_page);
    END;
    +} code end+
    but when i goto the URL host:port/stat, dialogue box pops up as follows:-
    the site says xdb
    username
    password
    how to resolve this. immediate help is requested.

    Instead of using the app_id in the url, you can use the application alias..: https://istudy.ses.pdx.edu/i/doc/bldr_attr_standard.htm
    Thank you,
    Tony Miller
    Webster, TX

  • Oracle DB licensing for APEX applications

    Scenario:
    Currently we use Oracle EE 10g with an intranet application system(using oracle technology stack) and let's say the # of named users are' X'. We are considering using APEX for a customer faced application so that customers can view their information online. The # of customers that use the APEX based application would be 5000.We are planning to go for custom authentication where by customers register themselves and use e-mail id as their userid.
    Questions:
    1. I was told that we could create a generic user for our customer(s) so that they could all log into the database
    as one named user so that the # of named users are X+1. Hence it just requires an additional named user license. If so, how that generic user works?
    2. With one application user with multiple connections, how does the licensing model differs to the one that we currently have?
    3. Using APEX, if an application(public user) is deployed in production and public(unlimited # of users) access the application, how does the licensing for Oracle database affects. Do we need to go by processor based licensing? Is so, it is very expensive and could be cost prohibitive. Is there any cost effective solution?
    I have gone through the following thread Re: How is an Apex solution priced if one is using standard 11g? However, I am looking for a specific answers my questions above.
    Thanks in advance.

    John is correct. Named user has NOTHING to do with database users / schemas. Just because your whole app runs as one schema does not mean you only need one named user. Named users are people, no matter how they connect. As John stated, if you have an additional 5,000 users, you'll need to up your named-user licensing by 5,000. However, per-CPU licensing is probably much more cost-effective with those numbers.
    As for more cost-effective options, there are several. It might be much cheaper to use a cheaper version of the database on a different machine. You could take a look at Standard Edition (SE), Standard Edition One, or even XE (free). It all depends on what features you need.
    Since you are going from Intranet to Internet, make sure you consider the security implications carefully. At the very least I would make sure the HTTP Server is NOT on the same machine as the Database. I would put the HTTP Server in your DMZ and your Database either fully inside your intranet or at least a behind a second firewall. You should probably review "Project Lockdown" for more details:
    http://www.oracle.com/technology/pub/articles/project_lockdown/index.html
    Tyler

  • Keyboard shortcuts for APEX applications

    Hi,
    I want to add shortcut keys to my APEX application. I have already allowed users to show report, save and delete data using F-keys – I made it with javascript and doSubmit(request) function, invoking pl/sql procedure on F-key press.
    Unforutnatelly I don’t know how to invoke something else than pl/sql procedure or request. In my application I have several buttons, most of them are connected to procedures but one, that should have shortcut, invokes JS function. The problem is that I want to have one shortcut function for whole application and put it into library. So that procedures on each page has the same request, and it works very well, but I can’t simulate this way clicking on button with JS. JS invoking by this button is different for each page so I can’t just replace doSubmit() with it.
    Do you know any way to simulate clicking on the button or create shortcut for it? Button is displayed as <A> HREF with <IMG>.
    Regards,
    Przemek

    Time and motion studies in terms of Gilbreth‘s therbligs do not favor your approach. The keyboard lies in the heart of the area of minimall motion requirements. The mouse requires more movement to accomplish the same task. It’s all in what’s comfortable with the user, regardless of efficiency, or what the user’s bent may be for finding other ways. Antagonistic responses are oxymoronic in terms of the definition of “help”: verb sap.
    Message was edited by: alibi . . . I needed to get around the program’s ill informed decency standards. “Bent” is a poor substitute for l*u*s*t.

  • How to make table in java application?

    I am using visual cafe tool for creating the GUI interface, but i don't konw how to construct a table for my game.
    thank u

    in visual cafe there is a table icon on the swing tab. you should be able to just drag and drop it on your interface that you are creating. once on the gui you can set the properties for the table by right clicking with the mouse and choosing 'properties'. hope this helps.

  • How to Design Report for Excel output?

    Hello Experts...
    I have both versions Crystal Report XI and Crystal 2013 at this time as we are in the process of Upgrading...
    How to design for excel output with no page size limit.
    I have several fields going across (crossing width of paper size 11X17 landscape) and I do not need this report output to be printed at all only for excel output.
    Appreciate your time!
    Thank you,
    Padma

    Hi Padma,
    You would need to increase the Page Size horizontally. Go to File > Page Setup > Check 'No Printer' > Check 'Dissociate Formatting Page Size and Printer page Size' > Increase the Horizontal value.
    Also see:
    http://scn.sap.com/docs/DOC-6687
    and
    How to WYSIWYG SAP Crystal Reports Export to XLS
    Formatting a Crystal Report for Export to MS Excel
    -Abhilash

  • How to integrate WebDynpro for ABAP application with SAPEnterprisePortal7.0

    Hi WebDynpro for ABAP Experts,
    We developed an WebDynpro for ABAP application on R/3, and now we are planning to show this as an iview on SAP Portal EP7.0 (SAP j2EE Engine--Java stack). is it possible to integrate this application with portal?
    If so can you proviode me the way how can we achieve this?
    ADV Thanks
    Regards
    Phani

    Hi Alex,
    Thanks for your response.
    I already created the system object R/3 Backend.
    Actually some WebDynpro java applications/iViews are currently running on Portal. and the developers developed these in NWDS and deployed the .sca files on the Portal server and we created Webdynpro for java iViews.
    but now the requirement is creation of webDynpro for ABAP views.
    The developers developed  WebDynpro for ABAP on the R/3 system. So what are the parameter values we need to give at teh time of creation of  WebDynpro for ABAP iview like the Namespace, Application name etc which are mandatory values and how the Portal server detects the application, this means no need to deploy the application on the Portal server?
    Shall we need to maintain any JCo Destinations or not?
    Pl share your ideas.
    ADV Thanks
    Regards
    Phani

Maybe you are looking for

  • How do I communicate a Java Card applet with a server?

    I'm new to Java and Java Card and currently developing a smart card system. I'm not sure what to use on my applet or server, JCSystem or SecureConnection or something else? If I'm writing a server application, then how do I install it so that I can s

  • Video restarts from beginning after pause

    I have a video that was converted in iTunes from a .mov file to ipod/iphone format.  When I play the file on my iphone, it works fine but I cannot pause or skip through the video without the video restarting from the beginning.  Is this normal for pl

  • Limiting the Infoview export. 2008

    Is there any way to limit the export options in infoview? Restricting viewers to only export to PDF, Excel and CSV? I realise that you can block exporting completely from the security settings, but is there any way to just limit the file types that c

  • InDesign CS4: change position of single column guides using numerical input?

    We can change the position of single column guides to obtain unequal columns. We simply drag the guides. But is it possible to do this more precisely, hence using a numerical input field? To obtain the same result, I currently create a smart guide an

  • Is Captivate part of Adobe CS6

    I have a monthly subscription for Adobe CS6. I cannot find Adobe Captivate in my list of programmes. Is Adobe Captivate part of my subscription or must I order it seperately?