Integrate Dataworkshop Data Load functionality into an Application

Is it possible to reuse the Data Load functionality provided by the Dataworkshop inside an application. I'm writing a batch processing app and it would be great to have reuse the load capability that already exists, perhaps by default in target tables and attributes, are there any api's available to allow this?
Thanks in advance for your help,
Matt

Just a small comment on the solution provided at the link above Jari - it is feasible to have a carriage return within double quotes and it not be the end of the line. The solution above breaks if that happens.
You could add a few lines like:
         if v_char = '"' then
             b_insidequotes:= not b_insidequotes; -- Toggle Inside Quotes
         end if;
  IF v_char = CHR (10) and not b_insidequotes AND v_position < v_clob_len OR v_position = v_clob_len
         THENThis will handle any 'Notes' type fields you may have in your CSV file.
Cheers,
Matt

Similar Messages

  • ModuleViewLoader - does it load modules into child application domains by default ?

    Is the Cairngorm 3, "ModuleViewLoader" loading modules into child application domains by default, or we have to do it our self like this:
    public function init():void{
         var childDomain:ApplicationDomain = new ApplicationDomain(ApplicationDomain.currentDomain);
      modelLoader.applicationDomain = childDomain;
    <module:ModuleViewLoader id="moduleLoader"
                      moduleId="{ moduleId }"
                      moduleManager="{ moduleManager }"
                      skinClass="com.adobe.cairngorm.module.ModuleViewLoaderSkin"
                      visible="{this.visible}"
                      width="100%" height="100%">
         <module:loadPolicy>
              <module:BasicLoadPolicy/>
         </module:loadPolicy>
    </module:ModuleViewLoader>
    I think it's important to know regarding unloading the modules.
    Thanks,

    Hi Adrian,
    We are following the behaviour of the Flex ModuleManager:
    We use the applicationDomain provided by the user when available
    Otherwise we create a sub applicationDomain from the current domain.
    Here is an extract of the ParsleyModuleInfoProxy
    private function createDefaultApplicationDomain(applicationDomain:ApplicationDomain):ApplicationDomain
                // If an applicationDomain has not been specified and we have a module factory,
                // then create a child application domain from the application domain
                // this module factory is in.
                // This is a change in behavior so only do it for Flex 4 and newer
                // applications.
                var tempApplicationDomain:ApplicationDomain = applicationDomain;
                if (tempApplicationDomain == null && moduleFactory)
                    var currentDomain:ApplicationDomain = moduleFactory.info()["currentDomain"];
                    tempApplicationDomain = new ApplicationDomain(currentDomain);
                return tempApplicationDomain;
    We will update the documentation to highlight the fact that a sub ApplicationDomain is created by default.
    Thanks.

  • Loading metadata into EPMA applications using Interface tables-Automation

    Hi,
    I am loading the metadata into epma applications using interface tables as ODI dont perit to load metadata into epma applications. Is there any way of using ODI and interface tables together to load the metadata
    This process also need to be automated.

    Hi,
    It is certainly possible and has be done, though there is not anything available that will do it for you, you will have to put in some effort learning the structure of the interface tables, then build interfaces and then a package in ODI to streamline the process.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Oracle Database Table data Load it into Excel

    Hello All,
    Please I need your help for this problem:
    I need to load Oracle database Table data and load it into Excel and saved with xls format.
    Example -Select * from Slase data load it into the Excel.
    I appreciate ans sample code to help me do that, Please help me out. This is very urgent.
    Thanks alot and best regards,
    anbu

    >
    I need to load Oracle database Table data and load it into Excel and saved with xls format.
    Example -Select * from Slase data load it into the Excel.
    I appreciate ans sample code to help me do that, Please help me out. This is very urgent.
    >
    Nothing in these forums is 'urgent'. If you have an urgent problem you should contact Oracle support or hire a consultant.
    You have proven over and over again that you are not a good steward of the forums. You continue to post questions that you say are 'urgent' but rarely take the time to mark your questions ANSWERED when they have been.
    Total Questions: 90 (78 unresolved)
    Are you willing to make a commitment to to revisit your 78 unresolved questions and mark them ANSWERED if they have been?
    The easiest way to export Oracle data to Excel is to use sql developer. It is a free download and this article by Jeff Smith shows how easy it is
    http://www.thatjeffsmith.com/archive/2012/09/oracle-sql-developer-v3-2-1-now-available/
    >
    And One Last Thing
    Speaking of export, sometimes I want to send data to Excel. And sometimes I want to send multiple objects to Excel – to a single Excel file that is. In version 3.2.1 you can now do that. Let’s export the bulk of the HR schema to Excel, with each table going to it’s own workbook in the same worksheet.
    >
    And you have previously been ask to read the FAQ at the top of the thread list. If you had done that you would have seen that there is a FAQ for links that have many ways, with code, to export data to Excel.
    5. How do I read or write an Excel file?
    SQL and PL/SQL FAQ

  • Is HCM Data Loader functional on fusion HCM release 8? or will it be on release 9?

    I understand that the long-term plan for data loading is to provide a single tool, which is referred to as HCM Data Loader.
    HCM Data Loader is intended to provide the standard data-import solution and a single entry point for managing bulk data loading to Oracle Fusion HCM.
    What is the task to use this tool? (document with explanations)
    Also can someone explain (in short) when to use each one the functions currently delivered by HCM File-Based Loader, HCM Spreadsheet Data Loader,
    and some of the specialized data loaders and the tasks needed to get to this tools.

    I have no knowledge of HCM feature availability, however this seems duplicate of this support forum thread. Adding the link here in case someone else is looking for the same information.
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

  • Optimize the data load process into BPC Cubes on BW

    Hello Gurus,
    We like to know how to optimize the data load process and our scenario for this is that we have ECC Classic Ledger,  and we are looking for the best way to load data into the BW Infocubes from an ECC source.
    To complement the question above, from what tables the data must be extracted and then parsed to BW so the consolidation it´s done ?  also, is there any other module that has to be considered from other modules like FI or EC-CS for this?
    Best Regards,
    Rodrigo

    Hi Rodrigo,
    Have you looked at the BW Business Content extractors available for the classic GL? If not, I suggest you take a look. BW business content provides all the business logic you will normally need to get data out of ECC and into BW for pretty much every ECC application component in existence: [http://help.sap.com/saphelp_nw70/helpdata/en/17/cdfb637ca5436fa07f1fdc0123aaf8/frameset.htm]
    Ethan

  • Loading metadata into HFM application through EPMA - Beginner

    Hello,
    I have an HFM application which was created in a classic format and then later on converted to EPMA. I would like add more metadata in it now either manually or any other way. I tried to create a few members manually through dimension library but when I see it in the actual application, the members are not seen. Is there anything else to do like deploying it or anything? It would be great help if anybody could tell me how to add members manually and in bulk.
    Thanks

    Yes. You'll need to deploy the application to see the changes outside of EPMA. Since EPMA is your metadata management tool now, you'll make the changes there, and then deploy (or load) it to the application. There are several ways to make metadata changes in EPMA:
    1) Directly in the Dimension Library as you have done
    2) Using the Grid Editor functionality in the Dimension Library (right-click any dimension label and you'll see the option)
    3) Using the EPMA File Generator (this is best for building new apps and regularly occurring changes)
    4) Using LCM (this is my preference for bulk changes)
    Shoot an email to the address in my profile and I'd be happy to get you some further info.

  • Data Load function - max number of columns?

    Hello,
    I was able to successfully create a page with Data Load Wizard. I've used this page wizard before with no issues, however in this particular case I want to load a spreadsheet with a lot of columns (99 to be precise). When I run the page, it uploads the spreadsheet into the proper table, but only the first 45 columns. The remaining 56 columns are Null for all rows. Also, there are 100 rows in the spreadsheet and it doesn't load them all (it loads 39).
    Is there a limit to the number of columns it can handle?
    Also, when I re-upload the same file, the data load results show that it Inserted 0 rows, Updated 100 rows, Failed 0 zeros. However there are still only a total of 39 rows in the table.
    Thoughts?
    Steve

    Steve wrote:
    FYI, I figured out why it wasn't loading all 100 rows. Basically I needed to set two dependent columns in the load definition instead of one; it was seeing multiple rows in the spreadsheet and assumed some were the same record based on one column. So that part is solved...
    I still would like feedback on the number of columns the Data Load Wizard can handle, and if there's way to handle more than 45.The Data Load Wizard can handle a maximum of 46 columns: +{message:id=10107069}+

  • The dialog box that contains the Firefox icon stays on my desktop even though I've already loaded it into my applications folder. How do I remove it????

    I updated to Firefox 4.0 and moved the Firefox icon into my applications folder and tool bar. However, the dialog box with the icon still sits on my desktop. How can I remove it??? Thanks for your help.

    OMG I think I just figured it out.... I was dragging the disk icon to the apps folder.  I was supposed to drag the icon within the pop up window to the apps folder.  As you can tell, I'm a PC user and new to mac!  I think this is going to solve the mystery!

  • Still no joy with loading files into my application

    I am still getting all kinds of exceptions when trying to load a file of album objects, into my Album array. I am getting an Index out of Bounds object even when i fill the array up to the set size, I am getting a null pointer exception even when i handle this exception by filling up the blank elements with null values. I will post my different classes so you can advise on where i am going wrong:
    ALBUM CLASS:
    import javax.swing.*;
    public class Album
        String artistName, CDname;
         int noOfTracks;
         public String records, ob;     
    public Album (String ar, String cd, int no)
            artistName=ar;
              CDname= cd;
              noOfTracks=no;
    public Album (String ob)
        ob =artistName  + "    "+ CDname + "     " + noOfTracks ;
    String printData(){
         records =artistName  + "    "+ CDname + "     " + noOfTracks ;
         return records;
    }ALBUM LIST CLASS
    import javax.swing.*;
    public class AlbumList
    final int DEFAULT_SIZE = 6;
    int count;
    Album[] data;
    public AlbumList()
    data = new Album[DEFAULT_SIZE];
    count = 0;
    public AlbumList(int size)
    data = new Album[size];
    count = 0;
    public void insert( Album  myAlbum )
    data[count] = myAlbum;
    count++;
    public void remove()
    count--;
    public Album[] getList()
    return data;
    }ASSIGNMENT CLASS
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.border.*;
    import java.util.*;
    import java.awt.event.KeyListener;
    import java.io.*;
    public class Assignment extends JFrame
         private JLabel MusicCdDatabaseJLabel;
         private JLabel AddEntryJLabel;
        private JButton AddEntryJButton;
        private JLabel PrintJLabel;
        private JButton PrintJButton;
        private JLabel SaveJLabel;
        private JButton SaveJButton;
        private JLabel LoadJLabel;
        private JButton LoadJButton;
        private JLabel SearchJLabel;
        private JButton SearchJButton;
        private JLabel SortJLabel;
        private JButton SortJButton;
        AlbumList myList = new AlbumList();
    public Assignment()
       createUserInterface();
    private void createUserInterface()
              Container contentPane = getContentPane();
              contentPane.setLayout( null );
              MusicCdDatabaseJLabel = new JLabel();
              MusicCdDatabaseJLabel.setBounds( 80, 19, 435, 28 );
              MusicCdDatabaseJLabel.setText( "MUSIC CD DATABASE" );
              MusicCdDatabaseJLabel.setFont(new Font( "Default", Font.BOLD, 22 ) );
              MusicCdDatabaseJLabel.setHorizontalAlignment(JLabel.CENTER );
              contentPane.add( MusicCdDatabaseJLabel );
              AddEntryJButton = new JButton();
              AddEntryJButton.setBounds(16, 111, 170, 32 );
              AddEntryJButton.setText( "Add a new record" );
              AddEntryJButton.setFont(new Font( "Default", Font.BOLD, 16 ) );
              AddEntryJButton.setHorizontalAlignment(JLabel.CENTER );
              contentPane.add( AddEntryJButton );
              AddEntryJButton.addActionListener(
              new ActionListener() // anonymous inner class
                // event handler called when AddJButton is pressed
                public void actionPerformed( ActionEvent event )
                   AddEntryJButtonActionPerformed( event );
             } // end anonymous inner class
          ); // end call to addActionListener
            PrintJButton = new JButton();
              PrintJButton.setBounds(16, 170, 170, 32 );
              PrintJButton.setText( "Print current database" );
              PrintJButton.setFont(new Font( "Default", Font.BOLD, 14 ) );
              PrintJButton.setHorizontalAlignment(JLabel.CENTER );
              contentPane.add( PrintJButton );
              PrintJButton.addActionListener(
              new ActionListener() // anonymous inner class
                // event handler called when searchJButton is pressed
                public void actionPerformed( ActionEvent event )
                   PrintJButtonActionPerformed( event );
             } // end anonymous inner class
          ); // end call to addActionListener
            SaveJButton = new JButton();
              SaveJButton.setBounds(16, 229, 170, 32 );
              SaveJButton.setText( "Save current database" );
              SaveJButton.setFont(new Font( "Default", Font.BOLD, 14 ) );
              SaveJButton.setHorizontalAlignment(JLabel.CENTER );
              contentPane.add( SaveJButton );
              SaveJButton.addActionListener(
              new ActionListener() // anonymous inner class
                // event handler called when saveJButton is pressed
                public void actionPerformed( ActionEvent event )
                   SaveJButtonActionPerformed( event );
             } // end anonymous inner class
          ); // end call to addActionListener
            SearchJButton = new JButton();
              SearchJButton.setBounds(16, 347, 170, 32 );
              SearchJButton.setText( "Search for a CD" );
              SearchJButton.setFont(new Font( "Default", Font.BOLD, 14 ) );
              SearchJButton.setHorizontalAlignment(JLabel.CENTER );
              contentPane.add( SearchJButton );
              SearchJButton.addActionListener(
              new ActionListener() // anonymous inner class
                // event handler called when LoadJButton is pressed
                public void actionPerformed( ActionEvent event )
                   SearchJButtonActionPerformed( event );
             } // end anonymous inner class
          ); // end call to addActionListener
            LoadJButton = new JButton();
              LoadJButton.setBounds(16, 288, 170, 32 );
              LoadJButton.setText( "Load a database" );
              LoadJButton.setFont(new Font( "Default", Font.BOLD, 14 ) );
              LoadJButton.setHorizontalAlignment(JLabel.CENTER );
              contentPane.add( LoadJButton );
              LoadJButton.addActionListener(
              new ActionListener() // anonymous inner class
                // event handler called when LoadJButton is pressed
                public void actionPerformed( ActionEvent event )
                   LoadJButtonActionPerformed( event );
             } // end anonymous inner class
          ); // end call to addActionListener
            SortJButton = new JButton();
              SortJButton.setBounds(16, 406, 170, 32 );
              SortJButton.setText( "Sort the database" );
              SortJButton.setFont(new Font( "Default", Font.BOLD, 14 ) );
              SortJButton.setHorizontalAlignment(JLabel.CENTER );
              contentPane.add( SortJButton );
              LoadJButton.addActionListener(
              new ActionListener() // anonymous inner class
                // event handler called when LoadJButton is pressed
                public void actionPerformed( ActionEvent event )
                   SortJButtonActionPerformed( event );
             } // end anonymous inner class
          ); // end call to addActionListener
              setTitle( "MUSIC CD DATABASE" );
              setSize( 600, 700 );         
              setVisible( true );          
       } //end of create user interface
    private void AddEntryJButtonActionPerformed( ActionEvent event )
         int answer = JOptionPane.YES_OPTION;
         int count = 0;
            while (answer == JOptionPane.YES_OPTION)
             String ar = JOptionPane.showInputDialog("Please, enter artist name");
             String cd = JOptionPane.showInputDialog("Enter CD name:");
              int      n = Integer.parseInt(JOptionPane.showInputDialog("Please enter total number of tracks"));
        if (cd!=null && ar!=null)
              Album album = new Album(ar, cd, n);
             myList.insert(album);
        answer = JOptionPane.showConfirmDialog(null, "Enter another record?",
                              "???", JOptionPane.YES_NO_OPTION);
         count++;
    private void PrintJButtonActionPerformed( ActionEvent event )
       Album[] printList = myList.getList();
       for(int i=0; i<printList.length; i++)
            if (printList[i] != null)     //checks to see if array item isnt empty
                   System.out.println(( i+1 )+"  "+ printList.printData());
         else
              {                         //used to handle my NULLPointerException
         System.out.println(""); //try and catch is no good here because it is an unchecked
         } //exception. You could use it but its bad programming.
    private void SaveJButtonActionPerformed( ActionEvent event )
              String fileName=new String("");
              fileName=JOptionPane.showInputDialog("SAVE AS?");
              Album[] printList = myList.getList();
         try     
                   final FileWriter outputFile = new FileWriter(fileName);
                   final BufferedWriter outputBuffer = new BufferedWriter(outputFile);
                   final PrintWriter printstream = new PrintWriter(outputBuffer);
         for (int i=0; i<printList.length; i++)
                   if (printList[i] != null) //checks to see if array item isnt empty
                   printstream.println(printList[i].printData());
                   else
         System.out.println("");
    printstream.close();
         catch (FileNotFoundException e)
                   System.err.println("FileNotFoundException: " + e.getMessage());
                   throw new RuntimeException(e);
         catch (IOException e)
                   System.err.println("Caught IOException: "+ e.getMessage());
    private void SearchJButtonActionPerformed( ActionEvent event )
    Album[] printList = myList.getList();
    int ARRAY_SIZE = 6;
    int result;
    String searchKey = JOptionPane.showInputDialog("Give me a name of an CD");
    result = linearSearch(printList, searchKey, ARRAY_SIZE);
         if(result== -1)
                   JOptionPane.showMessageDialog(null,"KEY " + searchKey + " NOT FOUND");
         else
    JOptionPane.showMessageDialog(null,"KEY " + searchKey + " FOUND in position " + result);
    public int linearSearch(Album[] data, String key, int sizeOfArray)
         Album[] printList = myList.getList();
         for(int i=0; i<printList.length; i++)
         if (printList[i] != null && data[i].CDname.equalsIgnoreCase (key))
         return i;
              else
              System.out.println("");
    return -1;
    private void LoadJButtonActionPerformed( ActionEvent event )
    private void SortJButtonActionPerformed( ActionEvent event )
    // for sorting, single out item type in Album array and perform a simple Arrays.sort method
         //use JTable
    public static void main( String[] args )
    Assignment application = new Assignment();
    application.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
    This all works at the moment, including the SaveJButtonActionPerformed( ActionEvent event ).  Now i have a problem with the LoadJButtonActionPerformed.  I have tried several different things and they all compile fine but have exceptions during the runtime.  One of my attempts was:private void LoadJButtonActionPerformed( ActionEvent event )
         String fileName=new String("");
         fileName=JOptionPane.showInputDialog("Please enter the filename");
    int i=0;
    Album[] printList = myList.getList();
    if(fileName == null )
    JOptionPane.showMessageDialog(this, "Invalid file" );
    else{
    try{
         final FileReader inputFile = new FileReader(fileName);
                        final BufferedReader inputBuffer = new BufferedReader(inputFile);
                        for(i=0; i<6; i++)
                             String line = inputBuffer.readLine();
                             Album album=new Album(line);
                             myList.insert(album);
    inputBuffer.close();
    inputFile.close();
    catch(Exception exception)
    JOptionPane.showMessageDialog(this,"Cannot read from file");
    System.out.println(( i+1 )+" "+ printList[i].printData());
    }I am not too sure if i need the line Album[] printList = myList.getList(); as this will just import an empty list.  But besides from this i cant work out what is going wrong.  I would love to use an arraylist cos i suppose it would be easier but i have been specifically told to use an array.  Any advice wuld be great into how i could get a file loaded into my array.
    cheers                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    I suggest you to use the Collections api instead of using static arrays because the problems you are facing are common.
    Next. From other threads I've helped you, this seems to be one of the big problems:
    public Album (String ob)
        ob =artistName  + "    "+ CDname + "     " + noOfTracks ;
    }You are reading the file, get a line with:
                            for(i=0; i<6; i++)
                                 String line = inputBuffer.readLine();
                                 Album album=new Album(line);
                                 myList.insert(album);
              so, when you read a file line, and then are trying to create an instance of Album, you will get a NullPointer because you are asigning
    ob =artistName  + "    "+ CDname + "     " + noOfTracks ;instead of filling the content of artistName CDName and noTracks from the information you get from the file.
    If I were you, i would made these changes:
    1. Fix the constructor problem:
    /* This will crash
    public Album (String ob)
        ob =artistName  + "    "+ CDname + "     " + noOfTracks ;
    public Album ( String fileLine ){
         String [] fields = fileLine.split( " "); //Your separator is a space
         if( fields == null || fields.length !=3 ){
          return IllegalArgumentException("Wrong file line");
        artistName = fields[0];
        CDName = fields[1];
        noOfTracks = fields[2];
    }2. Next problem is that when you return the list, if some of the elements are null, you will not be able to use them. The insert method only fills an array element, but the rest can be null.
    So, you might validate the array elements before use them:
    Album[] albums = myList.getList();
    for( int i=0; i<albums.length; i++){
        Album album = albums;
    if( album != null ){
    System.out.println(( i+1 )+" "+ album.printData());
    3. Finally, the last line of the method
    private void LoadJButtonActionPerformed( ActionEvent event )System.out.println(( i+1 )+" "+ printList[i].printData());
    the "i" variable has the "6" value because of the iteration executed in the same method before this line. So, you're trying to access a not valid entry of the array.
    Hope it helps.
    Edited by: hjuarez on Mar 6, 2008 12:33 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Data Loader program of Oracle applications 11.5.10

    Hi,
    Recently, my client has gone migration. Thing is On unix platform of oracle applications, there is a loader program which is able to load data in to staging and interface tables but since they migrated to Linux platform it is not able to load data in to staging and interface tables. we couldn't find where the issue is. Please help me regarding this.
    The loader program is a type of Host file.
    Version : EBS 11.5.10.2

    Hi,
    Maybe its better to ask this question at Forum Home » Oracle CRM On Demand forum site
    Regard
    Helioıs

  • Data Load Error in Rate Application

    Hello,
    We are trying to load data to RATE application from a BW infoprovider via data manager.  We are encountering the below error
    Cannot access the member (ACTUAL) of dimension (CATEGORY)
    Line 0 :ACTUAL,BRL,AVG,GLOBAL,2009.APR,0.0000000
    All dimensions are processed and Category ACTUAL can be accessed from other applications. Any help is greatly appreciated.
    Thanks,
    Shai

    Hi,
    Please check your rate application. Verify that CATEGORY dimension is available in the RATE application and this dimension has the member ACTUAL. In addition to this check for the other members also in their corresponding dimensions. And make sure these dimensions are available in the RATE application.
    Hope this helps.

  • Dynamically loading functionality to an application

    Hello, [first time post]
    My goal is to find, if possible, a solution to my desire.
    I have an application, called App. This application will perform certain algorithms on a test set. I would like to have a way to dynamically add new algorithms to the application without re-compiling the application. For example the main application code would look something like:
    LoadAllAlgorithmsInDiry('./Algorithms');
    At which point the function would:
    Menu aMenu.GetAlgorithmMenu();
    aMenu.add(newAlgorithmItem);
    My problem lies in the fact that I don't know if RMI, is what I need, or some other API.
    Should each algorithm be its own application? Or can I simply create a class with a standard API for the application?
    Any help in this matter would be appreciated.

    Let's clarify a bit..Minor mistakes aside, thank you for the clarification.
    I stumbled upon this thread since I'm doing something similar.
    My question is... Is there a "tidy" way to arrive at a list of Algorithm implementations in a given folder/directory?
    ie I would like the users of my app to be able to drop various class files, java files and jar files (containing one or more java/class files) in a predetermined folder. Each giving a unique Algorithm implmentation. Then when the app is started up it would search for all the user-defined classes and add them to a menu or something like your example suggested.

  • Error while loading metada into HFM Application

    Can any one help me out from this stage in hfm.I am getting these errors frequently.Please send your comments on this .
    Metadata Scan started at 21:41:36
    PASS I - Analyzing Section Headers
    PASS II - Validating member names and hierarchies
    Scenario
    Error: Member defined but not referenced in the hierarchy
    Scenario
    ActualEntity
    Account
    Custom1
    Custom2
    Custom3
    Custom4
    Currency
    Scan ended at: 21:41:36
    Elapsed time: 00:00:00

    You have a scenario which was defined, but is not attached to anything in the hierarchy section. Using the Win32 metadata manager, open the scenario dimension, and in the list tab check the box that shows orphans. Once you see which member isn't attached to the hierarchy, drag it where you want it, save and load the file.
    --Chris                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Modify the Data Load wizard to remove the check for unique columns

    Hi,
    I'm trying to make a Data Loading Wizard into my application, which basically works nice except for one thing:
    I want to remove the check for unique columns, and insert ALL data which the users wants to upload.
    (Like the Data load utility under development).
    The reason is, that the data I want to upload is an export from my bank statements (in XLS / CSV format)
    And these exports don't have any primary key.
    Using the Apex wizard created Data Upload pages, I will loose data in case I had two identical payments in a day.
    Is there a way to do this, while keeping the pages created by the wizard to make Data Loading pages?
    apex 4.2.1

    I would suggest to load the data into a view and process the records into the real table(s) with instead-of-triggers. When you add a "1=2" where clause to the view, there never is any data and everything will be loaded.
    Otherwise you have to have a "real" PK value, like a timestamp or a statement_nr+line_nr.

Maybe you are looking for