Need Help Pulling Data from Oracle Table (Newby)

Let me start of by saying I'm very new to Java so the code may be messy/poorly coded (I'm trying!). However, I've come a long way already and the code is almost working (it compiles and returns what I expect in one case). What I'm trying to do is prompt the user to enter a type, then a key. I use that type to determine the SQL statement to use then I use the key as part of the SQL statement.
If I enter 'custnum' as the type, then a string as my key, it finds the record fine.
If I any of my other valid types (lname, address or phone) and then enter my key, the result set is empty. I've verified that there are matching records for the type/key I'm entering.
I've tried stepping it through the debugger and looking at various variables along the way both with the working scenario and the not-working scenario, but I can't find anything. I'm sure it's a simple coding mistake, but I don't really know how to track it down.
Any ideas on what's going wrong would be greatly appreciated. Thanks!
//Start code
import java.sql.*;
import java.util.Scanner;
public class AccessCustomerTable
private static final String DEFAULT_DRIVER = "oracle.jdbc.driver.OracleDriver";
private static final String DEFAULT_URL = "jdbc:oracle:thin:@hostname.com:1521:orap1";
private static final String DEFAULT_USERNAME = "username";
private static final String DEFAULT_PASSWORD = "password";
//Set the SQL statements
private static final String SQLCUSTOMER_CUSTNUM =
"select CUSTNUM,CUST_LNAME,CUST_FNAME,CUST_PHONE,EMAIL,STAT_LVL,HH_NUM " +
"from EME.CUSTOMER " +
"where CUSTNUM=?";
private static final String SQLCUSTOMER_CUST_LNAME =
"select CUSTNUM,CUST_LNAME,CUST_FNAME,CUST_PHONE,EMAIL,STAT_LVL,HH_NUM " +
"from EME.CUSTOMER " +
"where CUST_LNAME=?";
private static final String SQLCUSTOMER_CUST_PHONE =
"select CUSTNUM,CUST_LNAME,CUST_FNAME,CUST_PHONE,EMAIL,STAT_LVL,HH_NUM " +
"from EME.CUSTOMER " +
"where CUST_PHONE=?";
private static final String SQLCUSTOMER_EMAIL =
"select CUSTNUM,CUST_LNAME,CUST_FNAME,CUST_PHONE,EMAIL,STAT_LVL,HH_NUM " +
"from EME.CUSTOMER " +
"where EMAIL=?";
private static final String SQLDETAIL =
"select TRANS_DATE,STORENUM,TERMINAL,TRANSID,OPERATOR,SALES_TOT," +
"AMOUNT_SPENT,AUTO_CPNS,PTS_EARNED,PTS_REDEEMED,RDMT_CPNS,ADD_CPNS," +
"USED_CPNS,OFFLINE_ALT_ID,RECON_IND " +
"from EME.CUSTOMERDETAIL " +
"where CUSTNUM=?";
private static final String SQLHOUSEHOLD =
"select PGM_PTS,PERIOD_PTS,PGM_RDM,PERIOD_RDM,SALES_TOT,AUTO_CPNS," +
"CARD_UCNT,MESSAGE,DISC_GRP,PT_MULTP,USERFEAT1,USERFEAT2,USERFEAT3,TARG_CPNS " +
"from EME.HOUSEHOLD " +
"where HH_NUM=?";
public static void main(String[] args)
Connection conn = null;
PreparedStatement stmt = null;
ResultSet rset = null;
//declare all variables
String custNum = "";
String custLNm = "";
String transDt = "";
String storeNum = "";
String pgmPtsEarned = "";
String periodPtsEarned = "";
try {
//********** Get Customer Data **********
householdNum = "";
Class.forName(DEFAULT_DRIVER);
conn = DriverManager.getConnection(DEFAULT_URL,DEFAULT_USERNAME,DEFAULT_PASSWORD);
String lookupType = getUserInput("Lookup Type");
if (lookupType.toUpperCase().equals("CUSTNUM"))
stmt=conn.prepareStatement(SQLCUSTOMER_CUSTNUM);
else if (lookupType.toUpperCase().equals("LNAME"))
stmt=conn.prepareStatement(SQLCUSTOMER_CUST_LNAME);
else if (lookupType.toUpperCase().equals("PHONE"))
stmt=conn.prepareStatement(SQLCUSTOMER_CUST_PHONE);
else if (lookupType.toUpperCase().equals("ADDRESS"))
stmt=conn.prepareStatement(SQLCUSTOMER_EMAIL);
else
//stop execution with message
System.out.println("Invalid lookup type entered. Process stopping");
System.exit(0);
String lookupKey = getUserInput("Lookup Key");
System.out.println("Lookup Key is " + lookupKey);
stmt.setString(1,lookupKey);
rset = stmt.executeQuery();
//what if rset returns no records?
boolean empty=true;
while (rset.next())
empty=false;
custNum = rset.getString(1);
custLNm = rset.getString(2);
if (empty)
System.out.println("No records found for " + lookupKey);
System.exit(0);
//********** Get Detail Data **********
stmt=conn.prepareStatement(SQLDETAIL);
//stmt.setString(1,customerId);
stmt.setString(1,custNum);
rset = stmt.executeQuery();
empty = true;
while (rset.next())
empty = false;
transDt = rset.getString(1);
storeNum = rset.getString(2);
if (empty)
System.out.println("No detail records found for customer # " + custNum);
System.exit(0);
//********** Get Household Data **********
stmt=conn.prepareStatement(SQLHOUSEHOLD);
stmt.setString(1,householdNum);
rset = stmt.executeQuery();
empty = true;
while (rset.next())
empty = false;
pgmPtsEarned = rset.getString(1);
periodPtsEarned = rset.getString(2);
if (empty)
System.out.println("No household records found for " + householdNum);
System.exit(0);
catch(Exception x)
System.out.println(x.getMessage());
x.printStackTrace();
finally
close(rset);
close(stmt);
close(conn);
private static void close(Connection conn)
try
if (conn != null)
conn.close();
catch (SQLException e)
e.printStackTrace();
private static void close(Statement stmt)
try
if (stmt != null)
stmt.close();
catch (SQLException e)
e.printStackTrace();
private static void close(ResultSet rset)
try
if (rset != null)
rset.close();
catch (SQLException e)
e.printStackTrace();
public static String getUserInput(String getVal)
Scanner sc = new Scanner(System.in);
//for now, I'll be expecting "CustNum", "LName", "Phone", "Address"
System.out.println("Enter " + getVal + ": ");
String returnStr = sc.nextLine();
return (String) returnStr;
}

You're new to Java, so you can be forgiven. You actually tried to do some good things, like close resources. Good for you.
Do yourself a favor and start trying to think in terms of objects.
Let's call that class CustomerTableGateway.
Let's write separate methods for each kind of SQL statement you have.
Get the logic out of the main method. It's almost useless there.
There's a computer science principle called DRY - Don't Repeat Yourself. When you see code being repeated, see if you can find a way to rewrite it so you only do it once.
I'd recommend that you start with a Customer class. Figure out how to map a row from your CUST table into the Customer object. Have an interface that would look like this:
public interface CustomerDao
    Customer findById(String id);
    List<Customer> findByLastName(String lastName);
    List<Customer> findByName(String firstName, String lastName);
    List<Customer> findByEmail(String email);
    List<Customer> findByPhone(String phone);
}Have another interface called RowMapper:
public interface RowMapper
    Object map(ResultSet rs);
}An implementation for one of those methods might look like this:
public Customer findById(String id)
     Customer customer = null;
     PreparedStatement stmt = null;
     ResultSet rs = null;
     try
         stmt = this.connection.prepareStatement(FIND_CUSTOMER_BY_ID);
         stmt.setString(1, id);
         rs = stmt.executeQuery();
         while (rs.next())
             customer = (Customer)this.customerMapper.map(rs);
    catch (SQLException e)
        e.printStackTrace();
    finally
        DatabaseUtils.close(rs);      // move those nice close methods into a utility class so you can reuse them.
        DatabaseUtils.close(stmt);
    return customer;
}You did a pretty good job. Just go further.
%

Similar Messages

  • Need help pulling data from an outside file into my array.  Please help  =)

    Hi,
    I need help adapting my array to read the interest rates from an outside file. Here is my code and the outside file I wrote. Please help. Oh, the array in question is on line 259, inside of my calculation() method.
    Thanks...
    import javax.swing.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.text.NumberFormat;
    import java.text.DecimalFormat;
    import java.io.*;
    import javax.swing.JOptionPane;
    public class Workshop5 extends JFrame implements ActionListener
         //declare gui components
         //declare labels
         JPanel contentPane = new JPanel();
         JPanel graphPane = new JPanel();
        JLabel instructionLabel = new JLabel();
        JLabel amountLabel = new JLabel();
         JLabel orLabel = new JLabel();
         JLabel comboBoxLabel = new JLabel();
         JLabel termLabel = new JLabel();
         JLabel rateLabel = new JLabel();
         JLabel calcLabel = new JLabel();
         JLabel paymentLabel = new JLabel();
         JLabel tableLabel = new JLabel();
         //declare font object
         Font labelFont = new Font("Tahoma", Font.PLAIN, 16);
         //declare text fields
         JTextField amountField = new JTextField(20);    
         JTextField termField = new JTextField(20);     
         JTextField rateField = new JTextField(20);
         JTextField paymentField= new JTextField(20);
         //declare combo box for loan selection
         JComboBox comboBox = new JComboBox();
        //declare button group and radio buttons
        ButtonGroup buttonGroup = new ButtonGroup();
        JRadioButton enterRadioButton = new JRadioButton("Enter amount, term, & rate", true);
        JRadioButton selectRadioButton = new JRadioButton("Select a preset term/rate loan", false);
         //declare button objects
         JButton clearButton = new JButton();
        JButton calcButton = new JButton();
        JButton quitButton = new JButton();
         //declare text area for amortization
         JTextArea amortTextArea = new JTextArea();
         JTextArea testTextArea = new JTextArea();
         //declare scroll bar for amortization table
         JScrollPane scrollPane = new JScrollPane(amortTextArea,ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS,ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED);
         public Workshop5()
              instructionLabel.setText("Choose one of the following payment calculation options:");
              instructionLabel.setFont(new Font("Tahoma",Font.PLAIN,16));
              //adds both buttons to button group     
              buttonGroup.add(enterRadioButton);
              buttonGroup.add(selectRadioButton);
              enterRadioButton.setFont(labelFont);
              enterRadioButton.setBackground(Color.WHITE);
              enterRadioButton.setContentAreaFilled(false);
             enterRadioButton.addActionListener(this); //adds action listener to enter radio button
              orLabel.setText("OR");
              orLabel.setFont(new Font("Tahoma",Font.BOLD,18));
              selectRadioButton.setFont(labelFont);
              selectRadioButton.setBackground(Color.WHITE);
              selectRadioButton.setContentAreaFilled(false);
              selectRadioButton.addActionListener(this); //adds action listener to select radio button
              amountLabel.setText("Enter mortgage amount");
              amountLabel.setFont(new Font("Tahoma", Font.PLAIN,16));
              amountField.requestFocusInWindow();
              termLabel.setText("Enter term length in years:");
              termLabel.setFont(new Font("Tahoma", Font.PLAIN,14));
              rateLabel.setText("Enter interest rate:");
             rateLabel.setFont(new Font("Tahoma", Font.PLAIN,14));
                comboBoxLabel.setText("Select a loan:");
             comboBoxLabel.setFont(new Font("Tahoma", Font.PLAIN,14));
             comboBox.setBackground(new Color(255,255,255));
             comboBox.setFont(new Font("Tahoma", Font.PLAIN, 14));
             comboBox.setEnabled(false);
             ComboBox();
              calcLabel.setText("Press Calculate button to determine monthly payment.");
             calcLabel.setFont(new Font("Tahoma", Font.PLAIN, 16));
             calcButton.setText("Calculate");                    
             calcButton.setFont(new Font("Tahoma", Font.BOLD, 14));
             calcButton.addActionListener(this);
                //define monthly payment label
             paymentLabel.setText("Monthly payment:");
             paymentLabel.setFont(new Font("Tahoma", Font.PLAIN, 16));
             //define monthly payment text field
             paymentField.setFont(new Font("Tahoma", Font.BOLD,16));
             paymentField.setBackground(new Color(255,255,255));
             paymentField.setEditable(false); 
              //define clear button
              clearButton.setText("Clear"); 
              clearButton.setFont(new Font("Tahoma", Font.BOLD,14));
              clearButton.addActionListener(this);
              //define quit button
              quitButton.setText("Quit");
              quitButton.setFont(new Font("Tahoma", Font.BOLD,14));
              quitButton.addActionListener(this);         
              tableLabel.setText("Amoritization Table");
              tableLabel.setFont(new Font("Tahoma", Font.BOLD, 16));
              graphPane.setBackground(Color.WHITE);
              //add components to content     
              getContentPane().add(contentPane);
              contentPane.setLayout(null);
              addComponent(contentPane, instructionLabel, 80,10,450,26);
              addComponent(contentPane, enterRadioButton, 30,40,220,30);
              addComponent(contentPane, orLabel, 280,40,100,30);
              addComponent(contentPane, selectRadioButton, 335,40,350,30);
              addComponent(contentPane, amountLabel, 100,80,220,26);
              addComponent(contentPane, amountField, 300,80,150,26);
              addComponent(contentPane, termLabel, 15,125,200,30);
              addComponent(contentPane, termField, 195,125,125,30);
              addComponent(contentPane, rateLabel, 62,160,200,30);
              addComponent(contentPane, rateField, 195,165,125,30);
              addComponent(contentPane, comboBoxLabel, 400,125,200,26);
              addComponent(contentPane, comboBox, 400,155,150,30);
              addComponent(contentPane, calcLabel, 100,200,400,30);
              addComponent(contentPane, calcButton, 250,240,100,30);
              addComponent(contentPane, paymentLabel, 150,285,200,30);
              addComponent(contentPane, paymentField, 300,285,100,30);
              addComponent(contentPane, clearButton, 100,330,100,30);
              addComponent(contentPane, quitButton, 400,330,100,30);
              addComponent(contentPane, tableLabel, 200,370,300,26);
              addComponent(contentPane, scrollPane, 10,400,450,360);
              addComponent(contentPane, graphPane, 475,400,305,360);
              //add window listener to close window when user presses X
              addWindowListener(new WindowAdapter()
                   public void windowClosing(WindowEvent e)    
                        System.exit(0);
             pack();   
         //method to add components
         private void addComponent(Container container, Component c, int x, int y, int width, int height)
              c.setBounds(x, y, width, height);
              container.add(c);
         //action performed method
         public void actionPerformed(ActionEvent event)
              Object source = event.getSource();
              if (source == calcButton)
                   Calculate();
              if (source == clearButton)
                   Clear();
              if (source == quitButton)
                   Exit();
              //defines active area based on user selection of mortgage calculation method
               //if user chooses to enter the mortgage manually, combo box fields are inactive
               if (source == enterRadioButton)
                    comboBox.setEnabled(false);
                    termField.setEnabled(true);
                 termField.setEditable(true);
                 rateField.setEnabled(true);
                 rateField.setEditable(true);
                 amountField.setText("");
                   amountField.requestFocusInWindow();
                   termField.setText("");
                  rateField.setText("");
                  paymentField.setText("");
                  amortTextArea.setText("");
              //if user chooses to select from a preset mortgage, rate and term fields are inactive
              if (source == selectRadioButton)
                   comboBox.setEnabled(true);
                   termField.setEnabled(false);
                   termField.setEditable(false);
                   rateField.setEnabled(false);
                   rateField.setEditable(false);
                   amountField.setText("");
                   amountField.requestFocusInWindow();
                   termField.setText("");
                   rateField.setText("");
                   paymentField.setText("");
                   amortTextArea.setText("");
         }//end of action performed method
         //combo box method
          public void ComboBox()
               String[] LoanArray = {" 7 years at 5.35 %", " 15 years at 5.50 %", " 30 years at 5.75 %"};
               for (int i = 0; i < LoanArray.length; i++)
                    comboBox.addItem(LoanArray);
         }//end combo box method
         //calculation method
         void Calculate()
              //resets fields
              paymentField.setText("");
         amortTextArea.setText("");
              //calculation variables
         NumberFormat currency = NumberFormat.getCurrencyInstance();
              int [] termArray = {7, 15, 30};                               //array of years
                   double [] yearlyInterestArray = {5.35, 5.5, 5.75};           //array of interest
                   int totalMonths = 0;                                    //total months
                   double Loan = 0.0;                               //amount of loan
                   double MonthlyInterest = 0.0;                               //monthly interest rate
                   double Payment = 0.0;                               //calculate payment
                   double monthlyPayment = 0.0;                                   //calculate monthly payment
                   double Interest = 0.0;                                              //variable for Interest Array input
                   int Term = 0;                                              //variable for Term Array input
                   double NewMonthlyInterest = 0.0;                               //new interest amount
                   double NewLoan = 0.0;                               //new loan amount
                   double Reduction = 0.0;                               //principle reduction
                   //validate input
                   try
                        Loan = Double.parseDouble(amountField.getText());
                   catch (NumberFormatException e)
                        JOptionPane.showMessageDialog(null,"Invalid Entry. Please enter valid loan amount.", "Error", JOptionPane.WARNING_MESSAGE);
                   //resets input fields after error message
              amountField.setText("");
              amountField.requestFocusInWindow();
                   //if select button is chosen
              if (selectRadioButton.isSelected())
                   int index = comboBox.getSelectedIndex();
                   Term = termArray[index];
                   Interest = yearlyInterestArray[index];
              //if user chooses to enter mortgage information
              else
                   if (enterRadioButton.isSelected())
                        //validates input
              try
              Term = Integer.parseInt(termField.getText());
              catch (NumberFormatException e)
                   JOptionPane.showMessageDialog(null,"Invalid entry. Please enter valid term length in years.", "Error",JOptionPane.WARNING_MESSAGE);
                   //clears fields after error message
                   termField.setText("");
                   termField.requestFocusInWindow();
              try
                   Interest = Double.parseDouble(rateField.getText());
              catch (NumberFormatException e)
                   JOptionPane.showMessageDialog(null,"Invalid entry. Please enter valid rate (without percent symbol).","Error",JOptionPane.WARNING_MESSAGE);
              //clears fields after error message
              rateField.setText("");
                             rateField.requestFocusInWindow();
                   //perform calculations
                   if (Loan > 0)
                        Loan = Double.parseDouble(amountField.getText());
                        MonthlyInterest = (Interest / 12)/100;
                        totalMonths = Term * 12;
                        monthlyPayment = Loan * MonthlyInterest *(Math.pow((1 + MonthlyInterest), totalMonths)/(Math.pow((1 + MonthlyInterest), totalMonths)-1));
              paymentField.setText("" + currency.format(monthlyPayment));
                        //send information to amortization text area
                   amortTextArea.append("Number\t");
                   amortTextArea.append(" Amount\t");
                   amortTextArea.append("Interest\t");
                   amortTextArea.append("Principle\t");
                   amortTextArea.append("Balance\n");
              NewLoan = Loan;
                        for (int i = 1; i <= totalMonths; i++)
                             NewMonthlyInterest = MonthlyInterest * NewLoan;
                             Reduction = monthlyPayment - NewMonthlyInterest;
                             NewLoan = NewLoan - Reduction;
                             amortTextArea.append(" " + i +"\t");
                             amortTextArea.append(" " + currency.format(monthlyPayment) + "\t");
                             amortTextArea.append(" " + currency.format(NewMonthlyInterest)+ "\t");
                             amortTextArea.append(" " + currency.format(Reduction) + "\t");
                             amortTextArea.append(" " + currency.format(NewLoan) + "\n");
                        //resets fields if loan amount is less than zero
                        if((Loan <= 0 || Term <= 0 || Interest <= 0))
                             paymentField.setText("");
                             amortTextArea.setText("");
         }//end calcualtion method
         //clear method
         void Clear()
              amountField.setText("");
              amountField.requestFocusInWindow();
              termField.setText("");
              rateField.setText("");
              paymentField.setText("");
              amortTextArea.setText("");
         }//end of clear method
         //main method
         public static void main(String args[])
              Workshop5 f = new Workshop5();
              f.setTitle("Carol's Mortgage Calculator");
              f.setBounds(200,100,800,800);
              f.setResizable(false);
              f.setVisible(true);
         }//end of main method
         //exit method
         void Exit()
              System.exit(0);
         }//end of exit method
    }//program end
    My data file is called: "InterestData.dat" and only contains the following text:
    5.35, 5.5, 5.75

    Ok, now I am getting this error message:
    cannot resolve symbol method lenght()
    Please help me out here, this is due tomorrow and I've been killing myself on it...
    attaching program with revised code included, see beginning of calculation method line 250:
    import javax.swing.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.event.* ;
    import java.text.NumberFormat;
    import java.text.DecimalFormat;
    import java.io.*;
    import javax.swing.JOptionPane;
    public class Workshop5 extends JFrame implements ActionListener
         //declare gui components
        //declare labels
        JPanel contentPane = new JPanel();
         JPanel graphPane = new JPanel();
         JLabel instructionLabel = new JLabel();
            JLabel amountLabel = new JLabel();
        JLabel orLabel = new JLabel();
        JLabel comboBoxLabel = new JLabel();
        JLabel termLabel = new JLabel();
        JLabel rateLabel = new JLabel();
        JLabel calcLabel = new JLabel();
        JLabel paymentLabel = new JLabel();
        JLabel tableLabel = new JLabel();
        //declare font object
        Font labelFont = new Font("Tahoma", Font.PLAIN, 16);
        //declare text fields
        JTextField amountField = new JTextField(20);
        JTextField termField = new JTextField(20);
        JTextField rateField = new JTextField(20);
        JTextField paymentField= new JTextField(20);
        //declare combo box for loan selection
        JComboBox comboBox = new JComboBox();
            //declare button group and radio buttons
            ButtonGroup buttonGroup = new ButtonGroup();
            JRadioButton enterRadioButton = new JRadioButton("Enter amount, term, & rate", true);
            JRadioButton selectRadioButton = new JRadioButton("Select a preset term/rate loan", false);
        //declare button objects
        JButton clearButton = new JButton();
            JButton calcButton = new JButton();
            JButton quitButton = new JButton();
        //declare text area for amortization
        JTextArea amortTextArea = new JTextArea();
        JTextArea testTextArea = new JTextArea();
        //declare scroll bar for amortization table
        JScrollPane scrollPane = new JScrollPane(amortTextArea, ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS,ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED);
         public Workshop5()
             instructionLabel.setText("Choose one of the following payment calculation options:");
            instructionLabel.setFont(new Font("Tahoma",Font.PLAIN,16));
            //adds both buttons to button group
            buttonGroup.add(enterRadioButton);
            buttonGroup.add (selectRadioButton);
            enterRadioButton.setFont(labelFont);
            enterRadioButton.setBackground(Color.WHITE);
            enterRadioButton.setContentAreaFilled(false);
            enterRadioButton.addActionListener(this); //adds action listener to enter radio button
            orLabel.setText("OR");
            orLabel.setFont(new Font("Tahoma",Font.BOLD,18));
            selectRadioButton.setFont(labelFont);
            selectRadioButton.setBackground(Color.WHITE);
            selectRadioButton.setContentAreaFilled(false);
            selectRadioButton.addActionListener (this); //adds action listener to select radio button
              amountLabel.setText("Enter mortgage amount");
            amountLabel.setFont(new Font("Tahoma", Font.PLAIN,16));
            amountField.requestFocusInWindow();
            termLabel.setText("Enter term length in years:");
            termLabel.setFont(new Font("Tahoma", Font.PLAIN,14));
            rateLabel.setText("Enter interest rate:");
            rateLabel.setFont(new Font("Tahoma", Font.PLAIN,14));
            comboBoxLabel.setText("Select a loan:");
            comboBoxLabel.setFont(new Font("Tahoma", Font.PLAIN,14));
            comboBox.setBackground(new Color(255,255,255));
            comboBox.setFont(new Font("Tahoma", Font.PLAIN, 14));
            comboBox.setEnabled(false);
            ComboBox();
            calcLabel.setText("Press Calculate button to determine monthly payment.");
            calcLabel.setFont(new Font("Tahoma", Font.PLAIN, 16));
            calcButton.setText("Calculate");
            calcButton.setFont(new Font("Tahoma", Font.BOLD, 14));
            calcButton.setBackground(new Color(202,255,112));
            calcButton.addActionListener(this);
            //define monthly payment label
            paymentLabel.setText("Monthly payment:");
            paymentLabel.setFont(new Font("Tahoma", Font.PLAIN, 16));
            //define monthly payment text field
            paymentField.setFont (new Font("Tahoma", Font.BOLD,16));
            paymentField.setBackground(new Color(255,255,255));
            paymentField.setEditable(false);
              //define clear button
            clearButton.setText("Clear");
            clearButton.setFont(new Font("Tahoma", Font.BOLD,14));
            clearButton.setBackground(new Color(202,255,112));
            clearButton.addActionListener(this);
            //define quit button
            quitButton.setText("Quit");
            quitButton.setFont(new Font("Tahoma", Font.BOLD,14));
            quitButton.setBackground(new Color(202,255,112));
            quitButton.addActionListener(this);
              //define label for amortization table
            tableLabel.setText ("Amoritization Table");
              tableLabel.setFont(new Font("Tahoma", Font.BOLD, 16));
            graphPane.setBackground(Color.WHITE);
            //add components to content
            getContentPane().add(contentPane);
            contentPane.setLayout(null);
              addComponent(contentPane, instructionLabel, 80,10,450,26);
            addComponent(contentPane, enterRadioButton, 30,40,220,30);
            addComponent(contentPane, orLabel, 280,40,100,30);
            addComponent(contentPane, selectRadioButton, 335,40,350,30);
            addComponent(contentPane, amountLabel, 100,80,220,26);
            addComponent(contentPane, amountField, 300,80,150,26);
            addComponent(contentPane, termLabel, 15,125,200,30);
            addComponent(contentPane, termField, 195,125,125,30);
            addComponent(contentPane, rateLabel, 62,160,200,30);
            addComponent(contentPane, rateField, 195,165,125,30);
            addComponent(contentPane, comboBoxLabel, 400,125,200,26);
            addComponent(contentPane, comboBox, 400,155,150,30);
            addComponent(contentPane, calcLabel, 100,200,400,30);
            addComponent(contentPane, calcButton, 250,240,100,30);
            addComponent(contentPane, paymentLabel, 150,285,200,30);
            addComponent(contentPane, paymentField, 300,285,100,30);
            addComponent(contentPane, clearButton, 100,330,100,30);
            addComponent(contentPane, quitButton, 400,330,100,30);
            addComponent(contentPane, tableLabel, 200,370,300,26);
            addComponent(contentPane, scrollPane, 10,400,450,360);
            addComponent(contentPane, graphPane, 475,400,305,360);
            //add window listener to close window when user presses X
            addWindowListener(new WindowAdapter()
                 public void windowClosing(WindowEvent e)
                      System.exit(0);
            pack();
           //method to add components
           private void addComponent(Container container, Component c, int x, int y, int width, int height)
                   c.setBounds(x, y, width, height);
                   container.add(c);
           //action performed method
           public void actionPerformed(ActionEvent event)
                   Object source = event.getSource();
                   if (source == calcButton)
                           Calculate();
                   if (source == clearButton)
                           Clear();
                   if (source == quitButton)
                           Exit();
                   //defines active area based on user selection of mortgage calculation method
                   //if user chooses to enter the mortgage manually, combo box fields are inactive
                   if (source == enterRadioButton)
                           comboBox.setEnabled(false);
                           termField.setEnabled(true);
                   termField.setEditable(true);
                   rateField.setEnabled(true);
                   rateField.setEditable(true);
                   amountField.setText ("");
                           amountField.requestFocusInWindow();
                           termField.setText("");
                       rateField.setText("");
                       paymentField.setText ("");
                       amortTextArea.setText("");
                   //if user chooses to select from a preset mortgage, rate and term fields are inactive
                   if (source == selectRadioButton)
                           comboBox.setEnabled(true);
                           termField.setEnabled(false);
                           termField.setEditable(false);
                           rateField.setEnabled (false);
                           rateField.setEditable(false);
                           amountField.setText("");
                           amountField.requestFocusInWindow();
                           termField.setText ("");
                           rateField.setText("");
                           paymentField.setText("");
                           amortTextArea.setText("");
           }//end of action performed method
           //combo box method
            public void ComboBox()
                   String[] LoanArray = {" 7 years at 5.35 %", " 15 years at 5.50 %", " 30 years at 5.75 %"};
                   for (int i = 0; i < LoanArray.length; i++)
                           comboBox.addItem(LoanArray);
    }//end combo box method
    //calculation method
         void Calculate()
              //resets fields
              paymentField.setText("");
              amortTextArea.setText("");
              //calculation variables
              NumberFormat currency = NumberFormat.getCurrencyInstance();
              //declare input stream object
              InputStream istream;
              //create a file object to refer to the outside file
              File interestData = new File("InterestFile.dat");
              //assign instream to the new file object
              istream = new FileInputStream(interestData);
              try
                   StringBuffer sb = new StringBuffer();
                   BufferedReader in = new BufferedReader(new FileReader(interestData));
                   String line = "";
                   while((line = in.readLine()) != null)
                        sb.append(line);
                   in.close();
                   String fileData = sb.toString();
                   String[] splitData = fileData.split(", ");
                   double [] yearlyInterestArray = new double[splitData.length()];
                   for(int j = 0; j < splitData.length(); j++)
                        yearlyInterestArray[j] = new Double(splitData[j]).doubleValue();
              catch (IOException e)
                   JOptionPane.showMessageDialog(null, "File does not exist." + e.getMessage());
              int [] termArray = {7, 15, 30}; //array of years
              double [] yearlyInterestArray = { 5.35, 5.5, 5.75}; //array of interest
              int totalMonths = 0; //total months
              double Loan = 0.0; //amount of loan
              double MonthlyInterest = 0.0; //monthly interest rate
              double Payment = 0.0; //calculate payment
    double monthlyPayment = 0.0; //calculate monthly payment
    double Interest = 0.0; //variable for Interest Array input
    int Term = 0; //variable for Term Array input
    double NewMonthlyInterest = 0.0; //new interest amount
    double NewLoan = 0.0; //new loan amount
    double Reduction = 0.0; //principle reduction
    //validate input
    try
         Loan = Double.parseDouble(amountField.getText());
    catch (NumberFormatException e)
         JOptionPane.showMessageDialog(null,"Invalid Entry. Please enter valid loan amount.", "Error", JOptionPane.WARNING_MESSAGE);
    //resets input fields after error message
    amountField.setText("");
    amountField.requestFocusInWindow ();
              //if select button is chosen
              if (selectRadioButton.isSelected())
                   int index = comboBox.getSelectedIndex ();
                   Term = termArray[index];
                   Interest = yearlyInterestArray[index];
              //if user chooses to enter mortgage information
              else
                   if (enterRadioButton.isSelected())
              //validates input
              try
                   Term = Integer.parseInt(termField.getText());
    catch (NumberFormatException e)
         JOptionPane.showMessageDialog(null,"Invalid entry. Please enter valid term length in years.", "Error",JOptionPane.WARNING_MESSAGE);
         //clears fields after error message
         termField.setText("");
         termField.requestFocusInWindow();
    try
         Interest = Double.parseDouble(rateField.getText());
    catch (NumberFormatException e)
         JOptionPane.showMessageDialog(null,"Invalid entry. Please enter valid rate (without percent symbol).","Error",JOptionPane.WARNING_MESSAGE);
         //clears fields after error message
         rateField.setText("");
         rateField.requestFocusInWindow();
              //perform calculations
              if (Loan > 0)
                   Loan = Double.parseDouble(amountField.getText ());
                   MonthlyInterest = (Interest / 12)/100;
                   totalMonths = Term * 12;
                   monthlyPayment = Loan * MonthlyInterest *(Math.pow ((1 + MonthlyInterest), totalMonths)/(Math.pow((1 + MonthlyInterest), totalMonths)-1));
    paymentField.setText("" + currency.format(monthlyPayment));
    //send information to amortization text area
    amortTextArea.append("Number\t");
    amortTextArea.append(" Amount\t");
    amortTextArea.append("Interest\t");
    amortTextArea.append("Principle\t");
    amortTextArea.append("Balance\n");
                   NewLoan = Loan;
                   for (int i = 1; i <= totalMonths; i++)
         NewMonthlyInterest = MonthlyInterest * NewLoan;
         Reduction = monthlyPayment - NewMonthlyInterest;
         NewLoan = NewLoan - Reduction;
         amortTextArea.append(" " + i +"\t");
         amortTextArea.append (" " + currency.format(monthlyPayment) + "\t");
         amortTextArea.append(" " + currency.format(NewMonthlyInterest)+ "\t");
         amortTextArea.append(" " + currency.format(Reduction) + "\t");
         amortTextArea.append(" " + currency.format(NewLoan) + "\n");
    //resets fields if loan amount is less than zero
    if((Loan <= 0 || Term <= 0 || Interest <= 0))
         paymentField.setText("");
         amortTextArea.setText("");
         }//end calcualtion method
    //clear method
    void Clear()
    amountField.setText("");
    amountField.requestFocusInWindow();
    termField.setText("");
    rateField.setText("");
    paymentField.setText("");
    amortTextArea.setText("");
    }//end of clear method
    //main method
    public static void main(String args[])
    Workshop5 f = new Workshop5();
    f.setTitle("Carol's Mortgage Calculator");
    f.setBounds(200,100,800,800);
    f.setResizable(false);
    f.setVisible(true);
    }//end of main method
    //exit method
    void Exit()
    System.exit(0);
    }//end of exit method
    }//program end

  • Footer needs to pull data from main table

    Hi Gurus,
    I need to have a footer which displays the value of a tag from the main table in BI publisher. The main table in the BI Publisher has the customer information and the address information of the customer needs to print on the footer of the page that displays the customer. This address would change for each customer. There must be a way to do this. I searched through the BI Publisher forum but couldnt find any way to do this. Could you pls help.
    Thanks,
    Swarna

    hi Paolyn,
    We can't insert data's from table using publisher desktop
    just double click on the footer part and added the data with the following format
    <?CUSTOMERNAME?>
    <?CUSTOMERNUMBER?>
    The tag value should be in upper case
    then close the footer and try that
    Thanks,

  • Retrieve data from oracle table, table name passed in runtime into JSP

    Hello All,
    I am new to JSP, i have a requirement,
    I need to retrieve data from oracle table, here table is passed at random. how to get the data displayed in JSP page.
    can any one help me in that
    thanks

    1) Learn SQL.
    2) Learn Java.
    3) Learn JDBC.
    4) Learn DAO.
    5) Learn HTTP.
    6) Learn HTML.
    7) Learn JSP/Servlet.
    8) Learn JSTL.
    9) Apply learned things and develop.
    Whenever you stucks, please come back and post the specific coding/technical problem here.

  • Using FDM to load data from oracle table (Integration Import Script)

    Hi,
    I am using Integration Import Script to load data from oracle table to worktables in FDM.
    i am getting following error while running the script.
    Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done
    Attaching the full error report
    ERROR:
    Code............................................. -2147217887
    Description...................................... Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.
    At line: 22
    Procedure........................................ clsImpProcessMgr.fLoadAndProcessFile
    Component........................................ upsWObjectsDM
    Version.......................................... 1112
    Thread........................................... 6260
    IDENTIFICATION:
    User............................................. ******
    Computer Name.................................... *******
    App Name......................................... FDMAPP
    Client App....................................... WebClient
    CONNECTION:
    Provider......................................... ORAOLEDB.ORACLE
    Data Server......................................
    Database Name.................................... DBNAME
    Trusted Connect.................................. False
    Connect Status.. Connection Open
    GLOBALS:
    Location......................................... SCRTEST
    Location ID...................................... 750
    Location Seg..................................... 4
    Category......................................... FDM ACTUAL
    Category ID...................................... 13
    Period........................................... Jun - 2011
    Period ID........................................ 6/30/2011
    POV Local........................................ True
    Language......................................... 1033
    User Level....................................... 1
    All Partitions................................... True
    Is Auditor....................................... False
    I am using the following script
    Function ImpScrTest(strLoc, lngCatKey, dblPerKey, strWorkTableName)
    'Oracle Hyperion FDM Integration Import Script:
    'Created By:     Dhananjay
    'Date Created:     1/17/2012 10:29:53 AM
    'Purpose:A test script to import data from Oracle EBS tables
    Dim cnSS 'ADODB.Connection
    Dim strSQL 'SQL string
    Dim rs 'Recordset
    Dim rsAppend 'tTB table append rs object
    'Initialize objects
    Set cnSS = CreateObject("ADODB.Connection")
    Set rs = CreateObject("ADODB.Recordset")
    Set rsAppend = DW.DataAccess.farsTable(strWorkTableName)
    'Connect to SQL Server database
    cnss.open "Provider=OraOLEDB.Oracle.1;Data Source= +server+;Initial Catalog= +catalog+;User ID= +uid+;Password= +pass+"
    'Create query string
    strSQL = "Select AMOUNT,DESCRIPTION,ACCOUNT,ENTITY FROM +catalog+.TEST_TMP"
    'Get data
    rs.Open strSQL, cnSS
    'Check for data
    If rs.bof And rs.eof Then
    RES.PlngActionType = 2
    RES.PstrActionValue = "No Records to load!"
    Exit Function
    End If
    'Loop through records and append to tTB table in location’s DB
    If Not rs.bof And Not rs.eof Then
    Do While Not rs.eof
    rsAppend.AddNew
    rsAppend.Fields("PartitionKey") = RES.PlngLocKey
    rsAppend.Fields("CatKey") = RES.PlngCatKey
    rsAppend.Fields("PeriodKey") = RES.PdtePerKey
    rsAppend.Fields("DataView") = "YTD"
    rsAppend.Fields("CalcAcctType") = 9
    rsAppend.Fields("Amount") = rs.fields("Amount").Value
    rsAppend.Fields("Desc1") = rs.fields("Description").Value
    rsAppend.Fields("Account") = rs.fields("Account").Value
    rsAppend.Fields("Entity") = rs.fields("Entity").Value
    rsAppend.Update
    rs.movenext
    Loop
    End If
    'Records loaded
    RES.PlngActionType = 6
    RES.PstrActionValue = "Import successful!"
    'Assign Return value
    SQLIntegration = True
    End Function
    Please help me on this
    Thanks,
    Dhananjay
    Edited by: DBS on Feb 9, 2012 10:21 PM

    Hi,
    I found the problem.It was because of the connection string.The format was different for oracle tables.
    PFB the format
    *cnss.open"Provider=OraOLEDB.Oracle.1;Data Source= servername:port/SID;Database= DB;User Id=aaaa;Password=aaaa;"*
    And thanks *SH* for quick response.
    So closing the thread......
    Thanks,
    Dhananjay

  • Pulling data from oracle into sql server 2005

    hi,
    these days i am working on sql server 2005 on windows server 2008 64 bit.
    and oracle 10g on 32 bit unix.
    my problem is that when i am pulling data from oracle into sql server it shows me about *500-700 entries less*.
    why this is happening? is it because 32 bit to 64bit? or is it because of different os?

    Akki,
    are you using snapshot or replication from MSSQL? I am doing the same thing, hope to share your experience.
    I am using import/export from MGT studio and pull some data from Oracle database, I am working on how to update the changes on these tables pulled from Oracle.
    Thanks,
    -hank

  • How to pull data from oracle GL to planning

    Hi all
    Can one suggest me how to pull data from oracle GL in to hyperion planning(we are using hyperion planning 9.3 with limited licence for analytic services). i guess we can use HAL ..any thing else
    any help is appreciable
    regards
    M.V

    Hi
    I appreciate for your response. Yep you are exactly right it is data only, but I do have a problem these people have their licence of limited version of Essbase.
    Let me give you the information of their licence agreement.
    The licence for the hyperion planning- sytem9 programs includes a limited use license for both the hyperion Essbase- system 9 and hyperion Financial reporting - system 9 programs. Such limited use license means that the hyperion Essbase- system 9 and Hyperion financial reporting -system 9 programs may only be used to access data from the Hyperion planning -system 9 program.
    Specifically, the hyperion essbase- system 9 program cannot be used to create Essbase cubes that do not contain data used by the Hyperion planning- system 9 program and the Aggregate storage option component of the Hyperion Essbase - system 9 program may not be used.
    1) what it(licence agreement) really means - can you install Essbase, if not how can you create dimensions dynamically using planning.
    2) Is it possible without Essbase as far as I know its not possible
    3) are we going to face any issues with this licence.
    4) Is it possibe to pull data with planning
    I appreciate if any one resolve this issue
    regards
    M.V

  • JSON - get data from Oracle table

    Hi all,
    I hope it is correct thread...
    My need is to get data from oracle table using JSON and show output at html table. I'm very new to JSON (got some experience in PL/SQL and basic html knowledge). Could someone direct me to manual or give me simple example?

    JSON is a way to format data, not a way to fetch data. Call it an alternative to XML.
    Are you perhaps talking about doing an ajax request to fetch data?

  • I need to copy data from a table in one database (db1) to another table in

    Hi
    I need to copy data from a table in one database (db1) to another table in another database (db2).
    I am not sure if the table exists in db2,,,if it doesnot it needs to be created as well data also needs to be inserted...
    How am I supposed to this using sql statements..?
    I shall be happy if it is explained SQL also...
    Thanking in advance

    How many rows does the table contains? There are manyway you can achieve this.
    1. export and import.
    2. create a dblink between two databases and use create table as select, if structure doesnot exists in other database, if structure exists, use, insert into table select command.
    example:
    create a dblink in db2 database for db1 database.
    create table table1 as select * from table1@db1 -- when there is no structure present
    -- you need to add constraints manually, if any exists.
    insert into table1 select * from table1@db1 -- when there is structure present.
    If the table contains large volume of data, I would suggest you to use export and import.
    Jaffar

  • How can i extract data from oracle table  to flat file or excel spread shee

    Hello,
    DB Version is 10.1.0.3.0
    How can i extract data from oracle table to flat file or excel spread sheet by using sub programs?
    Regards,
    D

    Here what I did
    SET NEWPAGE 0
    SET SPACE 0
    SET LINESIZE 80
    SET PAGESIZE 0
    SET ECHO OFF
    SET FEEDBACK OFF
    SET VERIFY OFF
    SET HEADING OFF
    SET MARKUP HTML OFF SPOOL OFF
    Sql> SPOOL bing
    select * from -------;
    SPOOL OFF;
    I do not see file.
    I also tried
    Sql> SPOOL /tmp/bing
    select * from -------;
    SPOOL OFF;
    But still not seeing the fie,

  • Retrieve specific range data from oracle table

    Hi, Dear friends,
    I want to retrieve all the data from oracle table and then save them to mysql table using JDBC ResultSet. The problem is that some oracle table is too big, if I retrieve all of them to memory at a once time using excuteQuery, the program will become no response out of memory limitation. So my question is if I can retrieve just specific range data once a time. I can¡¯t find this function through JDBC API. Also, I don¡¯t want to use the specific sql sentence, for example ¡°select ¡ from¡ where someid>¡ and someid<¡¡±, because there are many different tables, I want to transfer them automatically. So I can¡¯t construct such sql sentence in advance. Does anyone know if oracle JDBC driver provide such kind of function or does there any other way?
    Any suggestion will be greatly appreciated!
    Sammy

    Dear Justin,
    thank you so much for your prompt reply!
    as your suggestion, I do check the performance while my program is running, after the program become nearly no response, I found the memory usage is nearly 100%, while disk usage and process usage is pretty low. that's the reason why I guess maybe the memory limitation, but the strange thing is that no any error reported by JBuilder, it just nearly no response and don't transfer any data any more. my os is windows xp, the version of JBuilder is 7. my main memory is 768M. just as you said, the total 6,000 records in not very large, just no more than 400K. another strange thing is that why my program works well when there is little data records in the table.
    the big picture of my program is first I retrieve oracle table metadata, according to this information, I construct DDL sql words and then create the corresponding table in mysql database. this part works well. in order to save your time, I will not paste the code here. then there is a method to transfer oracle data to mysql table, whenever creating the mysql table, then I will call this method to transfer datat to it. the following is the code of this method, I am very sorry to take your time. please read it when you are available.
    thank you very much!!
    Sammy
    //transfer data from oracle to mysql!!!
    private static void transferData(Connection oracleConn, Connection mysqlConn, String oracleTableName, String oracleSchemaName) throws SQLException{
    Statement oracleStmt=oracleConn.createStatement();
    Statement mysqlStmt=mysqlConn.createStatement();
    // sending sql to oracle to retrieve data
    String thisTableName=oracleTableName;
    String oracleSQL="SELECT * FROM ".concat(thisTableName);
    ResultSet oracleRS = oracleStmt.executeQuery(oracleSQL);
    String sql="";
    if (oracleRS.next()) {
    ResultSetMetaData rsmd = oracleRS.getMetaData();
    int colCount = rsmd.getColumnCount();
    do {
    String sqlBodyPart="";
    String sqlValuePart="";
    System.out.println("the number of column is "+colCount);
    for (int i = 1; i <= colCount; i++) {
    String columnValue = oracleRS.getString(i);
    boolean b = oracleRS.wasNull();
    String columnName =rsmd.getColumnName(i);
    System.out.println("the value of column " + i + "is " + columnValue);
    //construc the sql body part and value part
    sqlBodyPart=sqlBodyPart.concat(" ").concat(columnName).concat(",");
    if(b){ //if the value of the column i is null
    sqlValuePart=sqlValuePart.concat(" null").concat(",");
    }else{
    sqlValuePart=sqlValuePart.concat(" '").concat(columnValue).concat("',");
    //get rid of the last comma in sqlBodyPart and sqlValuePart
    if(!sqlBodyPart.equalsIgnoreCase("")) sqlBodyPart=sqlBodyPart.substring(0,sqlBodyPart.length()-1);
    if(!sqlValuePart.equalsIgnoreCase("")) sqlValuePart=sqlValuePart.substring(0,sqlValuePart.length()-1);
    //construct the sql sentence!!!
    sql="INSERT INTO ".concat(thisTableName).concat(" (").concat(sqlBodyPart).concat(") ").concat(" VALUES(").concat(sqlValuePart).concat(")");
    System.out.println("the sql words for this column is");
    System.out.println(sql);
    System.out.println(" ");
    if(mysqlStmt!=null){
    int rows = mysqlStmt.executeUpdate(sql);
    } else{
    System.out.println("can't connect with mysql server");
    System.exit(1);
    while (oracleRS.next());
    } else {
    System.out.println("There are no data in the table...");
    }//end of method data transfer!
    //end of method data transfer!

  • I need to download data from Oracle data base into a Excel spread sheet

    I need to download data from Oracle data base into a Excel spread sheet.
    Any input will be appreciated.

    Goes something like this:
    1) create an ODBC connection (on NT/WIN: ODBC DATA SOURCES in the control panel, create a USER DSN.
    2) in EXCEL-menu: DATA->GET EXTERNAL DATA->CREATE NEW QUERY. In the wizzard you will see the DSN created in the previous step. Select that source.
    3) follow the wizzard.
    Hope this does any good...
    Regards,

  • Help needed in  extracting data from PCD tables

    Hi Friends
    I Have a requiremnt for creating custom portal activity report ,even though
    we have  standard report, the extraced data will be used to create bw reports later.
    my part is to find a way to extract the data from PCD tables for creating
    custom portal activity reports
    i have selected the following  tables for the data extraction
    WCR_USERSTAT,WCR_WEBCONTENTSTAT,WCR_USERFIRSTLOGON,
    WCR_USERPAGEUSAGE.
    My questions are
    1.Did i select the Exact PCD tables?
    2.Can i use UME api  for  accessing the data from those tables?
    3.can i use  the data extracted  from PCD tables in JSPdynpage  or
    webdynpro apps?
    4.can i Querry  the  PCD tables from  JSPDynpage or Webdynpro
    Please help me in finding a solution for this
    Thanks
    Ashok Battula

    Hi daniel
    Can u tell  me weather i can develop the following  custom reports from those WCR tables
         Report Type
    1     Logins
          - Unique Count
          - Total Count
          - Most Active Users (by Partner Name)
          - Most Active Users (by Contact Name)
          - Entry Point (by page name)
          - Session Time
          - Hourly Traffic Analysis
    2     Login Failures
          - Total Count
          - Count by error message
          - Credentials Entered (by user name and password)
    3     Content Views (by File Name)
          - Unique Count
          - Total Count
          - Most requested Files
          - Most requested Pages
          - File Not Found
    4     Downloads (by File Name)
          - Unique Count
          - Total Count
          - Most requested Files
          - File Not Found
    5     Portal Administration
          - Site Content (by file name)
          - Site Content (by page name)
          - Latest Content (by file name)
          - Expired Content (by file name)
          - Subscriptions Count (by file name)
    6     Login History (by Partner, Contact Name)
          - No Login
          - First Login
          - Duration between registration and first login
          - Most Recent Login
          - Average Number of Logins
    plz  help me in find ing a way
    thanks
    ashok

  • Need load XML data into Oracle Table

    Hi,
    I want to load 1.5 GB size XML data to Oracle table .
    My Oracle version is 10G
    My Sample XML Data
    <Dealer>
      <Id>10004</Id> is primary column , for 10004 i have address , contact and sales details , sales details will be multiple, now i need to create a table
    Some one please suggest is there anyway to do this?
      <?xml version="1.0" encoding="UTF-8" ?>
    - <Dealers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <Dealer>
      <Id>10004</Id>
      <InternalId xsi:nil="true" />
      <LegalName xsi:nil="true" />
      <DbaName>A-P SUPER SERVICE, INC.</DbaName>
      <Client>ALLY</Client>
      <Frequency>30</Frequency>
      <OutstandingBalance>705354.00</OutstandingBalance>
      <Active>true</Active>
      <GroupId xsi:nil="true" />
      <Tag>07</Tag>
      <SecurityContext>045</SecurityContext>
      <CreditLimit xsi:nil="true" />
      <RiskRating>8+</RiskRating>
      <Comment xsi:nil="true" />
    - <PrimaryAccountManager>
      <Id>01</Id>
      <InternalId xsi:nil="true" />
      <Name>UNKNOWN</Name>
      <Title xsi:nil="true" />
      <BusinessPhone xsi:nil="true" />
      <CellPhone xsi:nil="true" />
      <Email xsi:nil="true" />
      </PrimaryAccountManager>
      <SecondaryAccountManagers xsi:nil="true" />
    - <PrimaryLocation>
      <Id>01</Id>
      <InternalId xsi:nil="true" />
      <Name>A-P SUPER SERVICE, INC.</Name>
      <Address1>338 N THIRD ST</Address1>
      <Address2 xsi:nil="true" />
      <City>ROGERS CITY</City>
      <State>MI</State>
      <Zip>49779</Zip>
      <County xsi:nil="true" />
      <Country xsi:nil="true" />
      <Latitude xsi:nil="true" />
      <Longitude xsi:nil="true" />
      <Phone>9897342941</Phone>
      <Fax>9897343343</Fax>
    - <PrimaryContact>
      <Id>01</Id>
      <InternalId xsi:nil="true" />
      <Name>UNKNOWN</Name>
      <Title xsi:nil="true" />
      <BusinessPhone xsi:nil="true" />
      <CellPhone xsi:nil="true" />
      <Email xsi:nil="true" />
      </PrimaryContact>
      <SecondaryContacts xsi:nil="true" />
      </PrimaryLocation>
      <SecondaryLocations xsi:nil="true" />
    - <Units>
    - <Unit>
      <Id>1C4NJDEB7ED740827</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>1C4NJDEB7ED740827</SerialNumber>
      <Year>2014</Year>
      <Make>JEEP</Make>
      <Model>COMPASS</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2014-03-04T00:00:00</FloorDate>
      <FloorAmount>25344.00</FloorAmount>
      <OutstandingBalance>25344.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>LT</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">50</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-03-20T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>1C4NJRFB8ED799073</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>1C4NJRFB8ED799073</SerialNumber>
      <Year>2014</Year>
      <Make>JEEP</Make>
      <Model>PATRIOT</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2014-03-21T00:00:00</FloorDate>
      <FloorAmount>24172.00</FloorAmount>
      <OutstandingBalance>24172.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>LT</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">42</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-03-21T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>1C4RDJDG8DC604750</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>1C4RDJDG8DC604750</SerialNumber>
      <Year>2013</Year>
      <Make>DODG</Make>
      <Model>DURANGO</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2013-10-02T00:00:00</FloorDate>
      <FloorAmount>27965.00</FloorAmount>
      <OutstandingBalance>25168.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>FA</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">U</Item>
      <Item Name="VtmsCode" Type="System.String" />
      <Item Name="VtmsDate" Type="System.DateTime" />
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>1C6RR7GGXES144098</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>1C6RR7GGXES144098</SerialNumber>
      <Year>2014</Year>
      <Make>RAM</Make>
      <Model>TRUCK</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2014-02-27T00:00:00</FloorDate>
      <FloorAmount>34268.00</FloorAmount>
      <OutstandingBalance>34268.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>LT</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">50</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-01-30T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>1C6RR7GT1ES219073</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>1C6RR7GT1ES219073</SerialNumber>
      <Year>2014</Year>
      <Make>RAM</Make>
      <Model>TRUCK</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2013-11-27T00:00:00</FloorDate>
      <FloorAmount>39863.00</FloorAmount>
      <OutstandingBalance>39863.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>LT</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">50</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-01-30T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>1C6RR7KT7ES312137</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>1C6RR7KT7ES312137</SerialNumber>
      <Year>2014</Year>
      <Make>RAM</Make>
      <Model>TRUCK</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2014-03-07T00:00:00</FloorDate>
      <FloorAmount>37962.00</FloorAmount>
      <OutstandingBalance>37962.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>LT</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">50</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-03-24T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>2A8HR54P08R749355</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>2A8HR54P08R749355</SerialNumber>
      <Year>2008</Year>
      <Make>CHRY</Make>
      <Model>TOWN COUNTRY</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2013-12-02T00:00:00</FloorDate>
      <FloorAmount>8435.00</FloorAmount>
      <OutstandingBalance>8435.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>U</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String" />
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">U</Item>
      <Item Name="VtmsCode" Type="System.String" />
      <Item Name="VtmsDate" Type="System.DateTime" />
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>2C3CCACG3CH142608</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>2C3CCACG3CH142608</SerialNumber>
      <Year>2012</Year>
      <Make>CHRY</Make>
      <Model>300</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>C</Description>
      <FloorDate>2013-12-02T00:00:00</FloorDate>
      <FloorAmount>14840.00</FloorAmount>
      <OutstandingBalance>14840.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>U</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String" />
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">U</Item>
      <Item Name="VtmsCode" Type="System.String" />
      <Item Name="VtmsDate" Type="System.DateTime" />
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>2C4RC1BG2ER236662</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>2C4RC1BG2ER236662</SerialNumber>
      <Year>2014</Year>
      <Make>CHRY</Make>
      <Model>TOWN COUNTRY</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2013-12-17T00:00:00</FloorDate>
      <FloorAmount>30636.00</FloorAmount>
      <OutstandingBalance>30636.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>LT</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">50</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-01-30T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>2C4RC1BG5DR689365</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>2C4RC1BG5DR689365</SerialNumber>
      <Year>2013</Year>
      <Make>CHRY</Make>
      <Model>TOWN COUNTRY</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2013-10-02T00:00:00</FloorDate>
      <FloorAmount>21165.00</FloorAmount>
      <OutstandingBalance>19048.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>FA</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">U</Item>
      <Item Name="VtmsCode" Type="System.String" />
      <Item Name="VtmsDate" Type="System.DateTime" />
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>3C6JR7DT2EG241740</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>3C6JR7DT2EG241740</SerialNumber>
      <Year>2014</Year>
      <Make>RAM</Make>
      <Model>TRUCK</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2014-03-26T00:00:00</FloorDate>
      <FloorAmount>29649.00</FloorAmount>
      <OutstandingBalance>29649.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>LT</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">42</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-03-26T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>1B3CB3HA6BD106858</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>1B3CB3HA6BD106858</SerialNumber>
      <Year xsi:nil="true" />
      <Make xsi:nil="true" />
      <Model xsi:nil="true" />
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description />
      <FloorDate xsi:nil="true" />
      <FloorAmount>0.00</FloorAmount>
      <OutstandingBalance>0.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate>2014-03-26T00:00:00</PayoffDate>
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode xsi:nil="true" />
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">0</Item>
      <Item Name="SecondaryCode" Type="System.String" />
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">U</Item>
      <Item Name="VtmsCode" Type="System.String" />
      <Item Name="VtmsDate" Type="System.DateTime" />
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>1C3CDZCG4DN687530</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>1C3CDZCG4DN687530</SerialNumber>
      <Year>2013</Year>
      <Make>DODG</Make>
      <Model>AVENGER</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>C</Description>
      <FloorDate>2013-10-30T00:00:00</FloorDate>
      <FloorAmount>13965.00</FloorAmount>
      <OutstandingBalance>11171.50</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>FA</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String" />
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">U</Item>
      <Item Name="VtmsCode" Type="System.String" />
      <Item Name="VtmsDate" Type="System.DateTime" />
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>1C4PJMCS3EW246710</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>1C4PJMCS3EW246710</SerialNumber>
      <Year>2014</Year>
      <Make>JEEP</Make>
      <Model>CHEROKEE</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2014-03-21T00:00:00</FloorDate>
      <FloorAmount>29436.00</FloorAmount>
      <OutstandingBalance>29436.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>LT</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">42</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-03-21T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>1C4RJFAG3EC477904</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>1C4RJFAG3EC477904</SerialNumber>
      <Year>2014</Year>
      <Make>JEEP</Make>
      <Model>GR CHEROKEE</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2014-03-24T00:00:00</FloorDate>
      <FloorAmount>34359.00</FloorAmount>
      <OutstandingBalance>34359.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>LT</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">42</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-03-24T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>1C6RR7FG7ES142150</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>1C6RR7FG7ES142150</SerialNumber>
      <Year>2014</Year>
      <Make>RAM</Make>
      <Model>TRUCK</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2013-09-10T00:00:00</FloorDate>
      <FloorAmount>32138.00</FloorAmount>
      <OutstandingBalance>32138.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>LT</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">50</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-01-30T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>1C6RR7LG6ES308730</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>1C6RR7LG6ES308730</SerialNumber>
      <Year>2014</Year>
      <Make>RAM</Make>
      <Model>TRUCK</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2014-03-13T00:00:00</FloorDate>
      <FloorAmount>37613.00</FloorAmount>
      <OutstandingBalance>37613.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>LT</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">42</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-03-13T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>2C3KA43D29H611642</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>2C3KA43D29H611642</SerialNumber>
      <Year>2009</Year>
      <Make>CHRY</Make>
      <Model>300</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>C</Description>
      <FloorDate>2012-10-19T00:00:00</FloorDate>
      <FloorAmount>10680.00</FloorAmount>
      <OutstandingBalance>4975.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>U</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String" />
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">U</Item>
      <Item Name="VtmsCode" Type="System.String" />
      <Item Name="VtmsDate" Type="System.DateTime" />
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>2C4RC1BG7ER133480</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>2C4RC1BG7ER133480</SerialNumber>
      <Year>2014</Year>
      <Make>CHRY</Make>
      <Model>TOWN COUNTRY</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2013-12-11T00:00:00</FloorDate>
      <FloorAmount>29624.00</FloorAmount>
      <OutstandingBalance>29624.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>LT</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">50</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-01-30T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>2C4RDGBG9ER230454</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>2C4RDGBG9ER230454</SerialNumber>
      <Year>2014</Year>
      <Make>DODG</Make>
      <Model>CARAVAN</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2014-02-25T00:00:00</FloorDate>
      <FloorAmount>24205.00</FloorAmount>
      <OutstandingBalance>24205.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>LT</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">50</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-01-30T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>2C4RDGCG2CR321948</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>2C4RDGCG2CR321948</SerialNumber>
      <Year>2012</Year>
      <Make>DODG</Make>
      <Model>CARAVAN</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2013-03-07T00:00:00</FloorDate>
      <FloorAmount>16765.00</FloorAmount>
      <OutstandingBalance>10209.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>U</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">U</Item>
      <Item Name="VtmsCode" Type="System.String" />
      <Item Name="VtmsDate" Type="System.DateTime" />
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>2C4RDGCG8ER345271</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>2C4RDGCG8ER345271</SerialNumber>
      <Year>2014</Year>
      <Make>DODG</Make>
      <Model>CARAVAN</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2014-03-24T00:00:00</FloorDate>
      <FloorAmount>28469.00</FloorAmount>
      <OutstandingBalance>28469.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>LT</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">42</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-03-24T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>3C4PDCBG3ET133327</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>3C4PDCBG3ET133327</SerialNumber>
      <Year>2014</Year>
      <Make>DODG</Make>
      <Model>JOURNEY</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2013-08-30T00:00:00</FloorDate>
      <FloorAmount>25378.00</FloorAmount>
      <OutstandingBalance>25378.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>EI</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">50</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-01-30T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>5GAKRBED2BJ269900</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>5GAKRBED2BJ269900</SerialNumber>
      <Year>2011</Year>
      <Make>BUIC</Make>
      <Model>ENCLAVE</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2013-12-17T00:00:00</FloorDate>
      <FloorAmount>18917.50</FloorAmount>
      <OutstandingBalance>18917.50</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>U</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">U</Item>
      <Item Name="VtmsCode" Type="System.String" />
      <Item Name="VtmsDate" Type="System.DateTime" />
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>1C3CCBBBXDN584242</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>1C3CCBBBXDN584242</SerialNumber>
      <Year>2013</Year>
      <Make>CHRY</Make>
      <Model>200</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>C</Description>
      <FloorDate>2012-11-27T00:00:00</FloorDate>
      <FloorAmount>22796.00</FloorAmount>
      <OutstandingBalance>18236.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>EI</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String" />
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">50</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-01-30T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>1C3CDFBB4ED682758</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>1C3CDFBB4ED682758</SerialNumber>
      <Year>2014</Year>
      <Make>DODG</Make>
      <Model>DART</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>C</Description>
      <FloorDate>2013-11-12T00:00:00</FloorDate>
      <FloorAmount>20464.00</FloorAmount>
      <OutstandingBalance>20464.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode xsi:nil="true" />
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String" />
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">50</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-01-30T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>1C3CDZAB7CN204652</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>1C3CDZAB7CN204652</SerialNumber>
      <Year>2012</Year>
      <Make>DODG</Make>
      <Model>AVENGER</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>C</Description>
      <FloorDate>2013-06-12T00:00:00</FloorDate>
      <FloorAmount>12265.00</FloorAmount>
      <OutstandingBalance>8584.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>FA</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String" />
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">U</Item>
      <Item Name="VtmsCode" Type="System.String" />
      <Item Name="VtmsDate" Type="System.DateTime" />
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>1C4PJMCSXEW203403</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>1C4PJMCSXEW203403</SerialNumber>
      <Year>2014</Year>
      <Make>JEEP</Make>
      <Model>CHEROKEE</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2014-02-18T00:00:00</FloorDate>
      <FloorAmount>30437.00</FloorAmount>
      <OutstandingBalance>30437.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>LT</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">50</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-02-27T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>2C4RDGCG6ER230085</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>2C4RDGCG6ER230085</SerialNumber>
      <Year>2014</Year>
      <Make>DODG</Make>
      <Model>CARAVAN</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2014-01-16T00:00:00</FloorDate>
      <FloorAmount>28285.00</FloorAmount>
      <OutstandingBalance>28285.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>LT</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">50</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-01-30T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>1C3CDZCB9EN116900</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>1C3CDZCB9EN116900</SerialNumber>
      <Year>2014</Year>
      <Make>DODG</Make>
      <Model>AVENGER</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>C</Description>
      <FloorDate>2013-08-27T00:00:00</FloorDate>
      <FloorAmount>23468.00</FloorAmount>
      <OutstandingBalance>23468.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>EI</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String" />
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">50</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-01-30T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
      </Units>
      <Charges xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="InDefaultDate" Type="System.DateTime" />
      <Item Name="Sched_Restrict" Type="System.String" />
      <Item Name="FullUVE" Type="System.Boolean">false</Item>
      <Item Name="HighLevelUVE" Type="System.Boolean">false</Item>
      <Item Name="ExcludeSVA" Type="System.Boolean">true</Item>
      <Item Name="ConcurrentAudit" Type="System.Boolean">false</Item>
      <Item Name="CheckAllDemos" Type="System.Boolean">false</Item>
      <Item Name="CheckAllTitles" Type="System.Boolean">false</Item>
      <Item Name="CallBranch" Type="System.Boolean">false</Item>
      <Item Name="TemporaryAuditComment" Type="System.String" />
      <Item Name="ReleaseDaysAfterFunding" Type="System.Int32" />
      <Item Name="FILLER" Type="System.Int32" />
      <Item Name="Cash_24_48_Hr" Type="System.Int32" />
      <Item Name="Lien_Payoff_Sched" Type="System.Boolean">false</Item>
      <Item Name="Ally_Holds_Title_MCO" Type="System.Boolean">false</Item>
      <Item Name="ReleaseDaysAfterSale" Type="System.Int32">3</Item>
      </LaunchExtensions>
      </Custom>
      </Dealer>
    Cheers ,
    San

    Hope you have seen my Sample XML record, that is related to one dealer , i need to populate all the nodes, even if he have option to populate selected node that will also help.
    for example
    ID- 100004 contains many info like contacts, units now i need to do populate into DB , for single ID i too have many units child node ,
    from table i need to the selection. i have tried with
    CREATE OR REPLACE VIEW shan_v AS
    SELECT *
    FROM XMLTable('/Dealer'
            PASSING XMLTYPE(
                     bfilename('DEV_CSG_DIR','dealer2.xml')
                    , nls_charset_id('AL32UTF8')
                    columns id           varchar2(10) path 'Id'
            --,               dbaname     varchar2(30) path 'DbaName'
    But no luck , bcz my view doesnt have any data.
    even i tired with external tables but that was too complex with large xml.

  • Pull data from a table in HTML format from external URL into a Servlet

    How do I pull data from existing website html table into a Servlet?
    I will need to pull the data into a servlet. So, the servelet will need to go to the URL and get the data and save them as variables.
    I know I will need an array to store the data. I just dont know how to call the URL and have the servelet search the site for the <table> </table>.
    I will later use this to save to a database.
    Thanks
    Edited by: DJMegabit on Apr 14, 2010 7:36 PM

    Maybe give us more details about what exactly You'd like to achieve. I guess that there might be better solutions to the problem.

Maybe you are looking for

  • Unable to convert a structure FM (11) file to RTF

    When converting a structured FM 11 file to RTF, FM freezes for a while, and when it's working again, the output is either a corrupted .rtf file, or FM crashes. The file we are trying to convert is over 200 pages long and has several images linked. Is

  • List blobs in a container based on time condition

    Hi, Azure team, Is possible to provide an api only return the list of blobs in a container in some Time Window (e.g, one hour, one day, etc.) from current timestamp. I found some related links to this topic, [I cannot post link here, please search ke

  • Doubt in Cursor

    Hi, I want to populate a table with table name and total number of rows for all tables in the database. code is: 1 declare 2 cursor c1 is select table_name from user_tables; 3 l_count number; 4 begin 5 for mvr in c1 6 loop 7 select count(*) into l_co

  • EMail Body Not Downloading

    Hello, My iPhone appears to be receiving email properly from my email provider (POP mailbox). However, certain emails I receive display only the header - but do not download the body. In place of the body, I receive this: "This message has not been d

  • Read Dataset Line by line

    hi,   I have a text file in application server which is formed line by line.  Each line has variable length.  How can i use the open dataset to put the data line by line to internal table?? Regards, Kit