Sample HR Schema download?

I'm trying to run the following sample application from OTN, which requires sample HR schema. Where can I download the corresponding schema for this application?. Any ideas are appreciated.
http://www.oracle.com/technetwork/developer-tools/jdev/autosuggest-090094.html
Regards,
Surya

If, like at my company, you don't have the Companion CD installed, the scripts may not exist. I eventually found them here:
http://smuenchadf.samplecode.oracle.com/samples/demoscripts.zip

Similar Messages

  • HT4059 I purchased a book, not a sample, and the download only gave me the first 60 pages. What's wrong? JohNny

    I purchased a book, not a sample, and the download only gave me the first 60 pages? Johnny

    If I was you I would do a reset ie hold the sleep/wake and home buttons simultaneously until the Apple logo appears. If that didn't help I would then delete and redownload the book. If problems still persist contact Apple support:
    https://getsupport.apple.com/LocaleChange.action

  • Sample Schema download

    Hi Guys,
    I just installed oracle 11g r2 on my laptop for learning purpose.
    Could you please let me know if there is any way to download a sample data base to practice on?
    Appreciate your help.
    Cheers,
    Vj

    Hi sunny,
    please check the following document:
    http://st-curriculum.oracle.com/obe/jdev/obe11jdev/11/common/files/b28328.pdf
    follow the steps:
    - get the schemas
    - you are ready to go.
    another idea:
    - issue a few: create table tab1 (id number, value number, created_date date); insert into tab1 (id, value) values (1, 50)); and you are in the clouds.
    br,
    pinela.

  • How to load data into MVDEMO Sample App Schema

    Hello Everyone,
    I am doing a POC on Oracle Mapviewer and trying to build some reports in OBIEE using MApviewer.
    For this POC, I am using Oracle's MVDEMO Sample Data(11g). I think this Sample data covers few countries like USA.
    I need to do POC for Brazil so I downloaded the Brazil Map data from following site as Shapefiles
    http://gadm.org/country
    in this Brazil data, I got files in 4 extensions .csv, .dbf, .shp and .shx
    I need to know how can I load these files into my Oracle 11g DB? Should I load data in same mvdemo schema, if Yes then which table?
    Any help will be appreciated a lot.
    Thanks,
    Amit

    Amit,
    The easiest way to load shapefile data into your Oracle Database is via the MapBuilder tool.  It will upload the data into a new table and include the metadata from the DBF file as attribute columns in your table along with the geometry from the .SHP file.
    Download MapBuilder from here http://www.oracle.com/technetwork/middleware/mapviewer/downloads/index-100641.html
    Once you launch the jar file there is a built in Help that covers how to work with Shapefiles.
    -Wayne
    Beyond Just Data: Oracle Business Analytics and More

  • IPhone SDK - Sample code to download a file in a thread

    I am looking for a starting point to implement a download manager. My requirements are simple.
    I want to show a UIProgressView in a view controller and update it as i download file(s) from the internet. The view will have a cancel button, so the view cannot block on downloading the files. The cancel should cancel the download thread in such a way that the thread can cleanup if required.
    To achieve this i guess i will have to download the file(s) in a separate thread and then figure out a way to update the progress bar in the UI thread based on the bytes downloaded from the web.
    Can someone point me to code sample which demonstrates this interaction OR help me with their suggestions?
    Thanks in advnace,
    Shiva

    NSURLRequest is asynchronous by default, so really all you need to do is prepare your NSURLRequests, fire them all off, and then in the delegate you can update the progress bar as each of them returns.
    I'd suggest just having the progress bar update based on how many requests have completed out of the full set, rather than based on the number of bytes downloaded. NSURLResponse doesn't give you byte-by-byte callbacks, so it's quite hard to work out how far along an individual request has progressed.
    Read the URL Loading Scheme document in the API - it's full of example code that you can use.

  • Sample Travel Schema Diagram

    Hi,
    I downloaded the travel schema from this link:
    http://www.oracle.com/technology/sample_code/tech/java/travel/travelschema.htm
    I was wondering, is there some place where I can get the schematic diagram: listing dependencies between tables, constraints for this travel schema?
    Or is there a product that comes with the Database install where I can get the complete picture?
    thanks

    Is this wise? You are quite right to be concerned. Granting ALL PRIVILEGES is a dodgy thing to do. In mitigation I might say that the TRAVEL schema is a sample piece of code and so should only be installed on a development database, where the damage can be limited.
    But I think the real problem is that the sample code was developed by Java programmers who couldn't be bothered to work out exactly what privileges were needed. Shocking, yes, but hardly uncommon. And the poltroons have also included instructions on how to
    To Download and install the travel schema into the SYSTEM tablespace:
    No no no! No application objects go into the SYSTEM schema. What's the point of us non-Oracle people banging on about best practice if their own employees are allowed to post stuff like this on OTN? Sack these bozos!
    What's the minimum amount of privileges that I can grant to travel? I have absolutely no idea. I think the safest thing is to build a new database instance, so that the potential for damage is limited. Alternatively, grant CONNECT and RESOURCE and see how far that goes. You may have to grant additional powers. I see they also grant JAVASYSPRIV and JAVAUSEPRIV. Horrible, simply horrible.
    Cheerse, APC

  • Working Sample Code: File Download Servlet

    Pardon the cross-posting (Java Servlet Technology), but when I was researching this problem I found alot of people asking this question in here as well as in the servlet forum. So I thought this code would be helpful here too.
    Here is a complete working servlet for downloading virtually any type of file to a browser.
    It uses a file called application.properties to specify the location of the folder where the files to be downloaded reside. Of course you could modify this to allow the users to select the location as well.
    A sample URL to call the Servlet would look like this:
    http://localhost/website/servlet/DownloadAssistant?YourFileName.ext
    I tested this with varying filenames. It did have some issues if the file contained special characters like # symbol. This should be manageable however.
    Hope someone finds this useful.
    import java.io.*;
    import java.util.*;
    import java.net.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.zip.GZIPOutputStream;
    public class DownloadAssistant extends HttpServlet
    private static final String DIR = "dir";
    private String separator;
    private String root;
    public DownloadAssistant()
    Properties propFile = null;
    FileInputStream in = null;
    String JAVA_HOME = "C:\\jrun\\servers\\default\\filetest\\application.properties";
    // Get a handle on the peoperties file
    try{
    in = new FileInputStream(JAVA_HOME);
    propFile = new Properties();
    propFile.load(in);
    catch (IOException ignore){}
    separator = "/";
    // Get the directory from the application.properties file
    // e.g. C:\\Temp\\Files\\
    root = propFile.getProperty("app.directory");
    public void doGet(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException
    processRequest(request, response);
    public void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException
    processRequest(request, response);
    protected void processRequest(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, java.io.IOException {
    PrintWriter out = null;
    ServletOutputStream stream = null;
    GZIPOutputStream zipstream = null;
    Object obj = null;
    String s = "";
    //determine if there is a filename appended to the url
    // If so, then decode it
    s = HttpUtils.getRequestURL(request).toString();
    int i;
    if((i = s.indexOf("?")) > 0)
    s = s.substring(0, i);
    String s1;
    if((s1 = request.getQueryString()) == null)
    s1 = "";
    else
    //s1 = decode(s1);
    s1 = URLDecoder.decode(s1);
    // No filename, so set contentType and generate error message
    if(s1.length() == 0)
    response.setContentType("text/html");
    out = response.getWriter();
    out.println("<html>");
    out.println("<p>Could not get file name ");
    out.println("</html>");
    out.flush();
    out.close();
    return;
    // Restriction while gaining access to the file
    if(s1.indexOf(".." + separator) > 0)
    response.setContentType("text/html");
    out = response.getWriter();
    out.println("<html>");
    out.println("<br><br><br>Restrictions on filename");
    out.println("</html>");
    out.flush();
    out.close();
    return;
    // Try to get a handle on the file
    File file = new File(root + s1);
    // Couldn't get the file, return an error message
    if(file == null)
    response.setContentType("text/html");
    out = response.getWriter();
    out.println("<html>");
    out.println("<p>Could not read file: " + s1);
    out.println("</html>");
    out.flush();
    out.close();
    return;
    // Either the file doesn't exist or it can't be read, return an error message
    if(!file.exists() || !file.canRead())
    response.setContentType("text/html");
    out = response.getWriter();
    out.println("<html><font face=\"Arial\" size=\"+1\">");
    out.println("<p>Could not read file " + s1);
    out.print("<br>Reasons are: ");
    if(!file.exists())
    out.println("file does not exist");
    else
    out.println("file is not readable at this moment");
    out.println("</font></html>");
    out.flush();
    out.close();
    return;
    // Looks like we can read/access the file, determine its type
    String s2 = request.getHeader("Accept-Encoding");
    // Is this a zip file?
    boolean flag = false;
    if(s2 != null && s2.indexOf("gzip") >= 0)
    flag = true;
    flag = false;
    if(flag)
    response.setHeader("Content-Encoding", "gzip");
    response.setHeader("Content-disposition", "attachment;filename=" + s1);
    stream = response.getOutputStream();
    zipstream = new GZIPOutputStream(stream);
    downloadFile(root + s1, zipstream);
    zipstream.close();
    stream.close();
    // It's not a zip file so treat it as any other file
    else
    response.setContentType("application/force-download");
    response.setHeader("Content-disposition", "attachment;filename=" + s1);
    stream = response.getOutputStream();
    downloadFile(root + s1, stream);
    stream.flush();
    stream.close();
    }// end processRequest()
    // This method downloads the file to the browser
    private void downloadFile(String s, OutputStream outstream)
    String s1 = s;
    byte abyte0[] = new byte[4096];
    try
    BufferedInputStream instream = new BufferedInputStream(new FileInputStream(s1));
    int i;
    while((i = instream.read(abyte0, 0, 4096)) != -1)
    outstream.write(abyte0, 0, i);
    instream.close();
    catch(Exception _ex) { }
    }//end downloadFile()
    public void init(ServletConfig servletconfig)
    throws ServletException
    super.init(servletconfig);
    String s;
    if((s = getInitParameter("dir")) == null)
    s = root;
    separator = System.getProperty("file.separator");
    if(!s.endsWith(separator))
    s = s + separator;
    root = s;
    }//end init()
    }//end servlet()

    Yes - it is useful

  • Ora-06502: variable length too long on report query xml schema download

    on shared components/report queries/edit report query/
    and downloading my queries in xml schema format (radio button).
    Get
    ORA-06502: PL/SQL: numeric or value error: raw variable length too long
    when i click the download button.
    EDIT:
    i want to add that i recently changed several columns in the database from 150 to 3000 chars long.
    Edited by: Manny Rodriguez on Oct 11, 2011 7:19 AM

    "4000 bytes is the ultimate maximum. you can say 4000 *characters* , but it'll always be limited to 4000 *bytes* . "
    http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:1224836384599#201073000346459201\
    "The maximum length of the column is determined by the national character set definition. Width specifications of character data type NVARCHAR2 refer to the number of characters. The maximum column size allowed is 4000 bytes."
    http://docs.oracle.com/cd/E11882_01/server.112/e26088/sql_elements001.htm#SQLRF50976
    By the way, you're treating your numbers as STRINGS, remove the quotes around your zero's.

  • No "samples" in evaluation download, can't create model or group

    Hi forum, I'm trying to learn BPA Suite.
    Downloaded the evaluation version from the main site. It installed ok, but I can't find any "samples" directory anywhere like the Quick Start PDF says should exist. Are these downloadable separately? Couldn't find them on the site if they are.
    Also can't create a new model, since I have no groups. I click on "LOCAL" in the new model wizard but the "New group" button is greyed out. No instructions in the doc on how to get this running.
    Please help!
    Thanx
    M

    Hi,
    have you start your server?
    On linux you have to run y-serverlauncher.sh
    in .../BPASuite/JavaClient.xxx/localserver/
    Then you can use the sample and create new projects.

  • Spry/samples/  - not in download

    After downloading the library, I cannot find the code to the demo http://labs.adobe.com/technologies/spry/samples/data_region/DataSetMas terDetailSample.html
    Where do I find the city XML files referenced in the second dataset constructor?
    var dsStates = new Spry.Data.XMLDataSet("../../data/states/states.xml", "states/state");
    var dsCities = new Spry.Data.XMLDataSet("../../data/states/{dsStates::url}", "state/cities/city");
    It would be very helpful if the samples each had a download links to a zip file of their code and assets.

    The sample is found here http://labs.adobe.com/technologies/spry/samples/data_region/DataSetMas terDetailSample.html
    The XML file is found here ../../data/states/states.xml
    Therefore the URL to the datafile is http://labs.adobe.com/technologies/spry/data/states/states.xml
    Each state can be found  http://labs.adobe.com/technologies/spry/data/states/alabama.xml changing the state name for each file

  • Why do sample video clips download while viewing

    Can I view sample video clips without having them download too? I feel like an idiot, as I made some adjustment for this on my macbook, but can't seem to figure out that same adjustment for my new imac.

    Thank you, but that doesn't do it. My macbook has the "save movies in disk cache" checked and I can still view mpg,wmv or quicktime clips without them downloading.

  • Sample Apps for Download

    Because I don't have a permanent internet access for the online HTML DB, i downloaded the HTML DB-Sources and installed it at home.
    Could I get the samples from otn or anywhere else? It's better for understanding the principles of HTML DB.
    Bye,
    Jens

    we kind of had a request like yours in an earlier post on this forum...
    Share your app...
    ...but i wanted to make sure you knew about the Demonstration Applications that we package into html db. right after logging into html db, you'll see a "Tasks" region in the lower right hand corner of your screen. one of the links there should say "Review Demonstrations". clicking that link takes you to a list of demonstration applications that you can install into your workspace. each demo app has stuff that's worth examining. by running these demo apps and seeing how they're implemented, i bet you can get a pretty good feel for good ways to accomplish various application design goals using html db.
    hope this helps,
    raj

  • Procedure/sample code to download alv output in HTM format & mail to user.

    Hello Experts,
    I've a requirement to run the Alv report at background. But i need to download the alv output in HTM fomat because it has subtotal values & look wise downloaded HTM format will be same as that of ALV output. Then send the attachment through mail to users. I'm not intersted in  downloading  internal table dierctly to HTM format.
    Will the code for alv display & downloading in HTM format & forwarding via email  is all done in one single  program or in 2 differnt programs . pls guide me on this.
    I'm using FM REUSE_ALV_GRID_DISPLAY to display output with subtotals.
    Pls anyone there suggest me the steps to download ALV output in HTM format & the forward the same  to user ID through Lotus notes.
    Regards
    Devika.S

    Hi,
    This can be achieved without coding .
    Fore ground Scenario:
    1. Downloading as HTM . In foreground you can do this by using Export---> Local file
    option in ALV grid.
    Background Scenario:
    2. In background while sending mail , You have to achieve the same through customisation settings as wexplained below.
    In SM36 -- > Spool List Recipient, give the reciepient id and click on copy. Now when the Background job will be finished,
    the reciepient mentioned above will recieve the mail , but in ALI format.
    To convert the same to HTM format, you need to do customisation changes in SCOT
    goto SCOT>Expant the node INT>Double click on Email-->Beside Internet we have SET tab , click on that -->
    select the radio button " all formats except the following ">In the near by box type ALI>then click on the tick Mark.
    Then go to SCOT>Settings>Conversion Rules-->there
    create a new row with, Format->ALI , To Format->HTM , Ranking 1, FM -> SX_OBJECT_CONVERT_ALI_HTM.
    Now when the mail will be sent, it will not go in ALI, but in HTM format.
    Hope this helps you out.

  • Bug with BI Samples Common Schema and AWM 10.1.0.4

    I have installed the BI Samples available here
    http://www.oracle.com/technology/products/bi/samples/samples_readme.html
    The common_schema installs 3 AW's in the cs_olap user.
    Now in AWM 10.1.0.4 change to "object view" and open the Utils AW. Here it is not possible to expand the "Programs" folder even though there are 32 programs in this AW.
    After some debugging it turns out that the reason lies in the "BUILD_IDD" programs. Specifically the 3 lines starting with the "LD" command. When these are removed from this program it is possible to view all the programs through AWM.
    Don't know if the bug lies in AWM or the BUILD_IDD program.

    The program will not compile unless the AW SHAW is attached and other programs have been run to add new objects to the AW. The LD command is used to add additional descriptive information to each new object added to SHAW.
    Thanks for the post, this has been forwarded on to development.

  • Sample code to download and open an Asset

    For anyone who wants to download an asset from the web and load it into your Adobe application, this is how I did it:
    // .js
    var TMP_FOLDER="/tmp/com.mb.extension/";
    var doOpen = function(uri) {
              var xhr = new XMLHttpRequest();
              xhr.open("GET", uri, true);
              xhr.responseType = "blob";
              xhr.onload = function(event) {
                        var blob = this.response;
                        var data;
                        blobToBase64(blob, function(result) {
                                  data = result;
                                  var file = TMP_FOLDER+name;
                                  window.cep.fs.writeFile(file, data, cep.encoding.Base64);
                                  doOpenFile(file);
              xhr.send();
    function doOpenFile(file) {
              var ppid = "ILST";
              var extScript = "$._ext_"+ppid+".open('"+file+"')";
              evalScript(extScript);
    var base64ToBlob = function(base64, callback) {
      var binary = atob(base64);
      var len = binary.length;
      var buffer = new ArrayBuffer(len);
      var view = new Uint8Array(buffer);
      for (var i = 0; i < len; i++) {
           view[i] = binary.charCodeAt(i);
      callback(new Blob([view]));
    // .jsx
    $._ext_ILST={
        open : function(path) {
            openDocument(path);
    var openDocument = function(path) {
        return app.open(File(path));

    I don't know why, but when I use this code. The file was downloaded right, but Illustrator doesn't open the file.
    When doOpenFile is fired the args are correct, because I have debug it in console. But I think the problem is with the JSX file, sure I'm doing something wrong.
    Anybody could guide me about it?
    I'm newbie trying to script Adobe Extensions.

Maybe you are looking for