Kindly help if u can...urgent

m yproblem is that i hav autonumber field user_id in my oracle table;
wen i insert sequence seq.nextval from oracle ide it workz fine...bt now i hav user profil nd i hav to make entries thru java code...nd wen i use
pt=con.prepareStatement("insert into user_basic(user_id,f_name,m_name,l_name,email,password,pet_name,age,gender,mari,citizen) values(seq.nextval,?,?,?,?,?,?,?,?,?,?)");
it gives null pointer exception....
i hav tried:
1.
"insert into user_basic(user_id,f_name,m_name,l_name,email,password,pet_name,age,gender,mari,citizen) values(?,?,?,?,?,?,?,?,?,?,?)");
pt.setString(1,null);
2.
"insert into user_basic(f_name,m_name,l_name,email,password,pet_name,age,gender,mari,citizen) values(?,?,?,?,?,?,?,?,?,?)");
pt.setString(1,fname);
pt.setString(2,mname);
ans so on all entries
bt diz way oracle leavez user_id blank.....
kindly help regarding usage of autonumber in prepared statement....thanxx....
code:
public boolean validate() throws Exception
Connection con=null;
PreparedStatement pt=null;
try
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:ds;Uid=SYSTEM;Pwd=manager");
pt=con.prepareStatement("insert into user_basic(user_id,f_name,m_name,l_name,email,password,pet_name,age,gender,mari,citizen) values(seq.nextval,?,?,?,?,?,?,?,?,?,?)");
pt.setString(1,fname);
pt.setString(2,mname);
pt.setString(3,lname);
pt.setString(4,em);
pt.setString(5,pwd);
pt.setString(6,petname);
pt.setInt(7,ag);
pt.setString(8,gender);
pt.setString(9,marital);
pt.setString(10,citizenship);
x=pt.executeUpdate();
pt.close();
catch(ClassNotFoundException ex)
{System.out.println(ex);
//out.println("Couldn't load database driver: " + ex.getMessage());
catch(SQLException ex){
System.out.println(ex);
//out.println("SQLException caught: " + ex.getMessage());
catch (Exception ex){System.out.println(ex);
// out.println(ex);
finally {
// Always close the database connection.
try {
if (con!= null)
con.close();
catch (SQLException ignored){
System.out.println(ignored);
if(x==1)
return true;}
else
{return false;}
}

it is my first day in these forums...it takes time to get to know how things work sumwhere....but kind of response im getting is very discouraging....im sorry if i havent followed any rules....but my intentions arent bad in any way...all i can say is sorryy...nd if nobody can help me in my query and problem it is ok....1. Don't cross post. Many people especially the ones that answer a lot of questions do not like it. And I have never seen anyone that claimed that they liked it.
2. Use english as best that you can. Do NOT use sms type speech.
3. There is a big difference between being able to help you and wanting to help you. The two are not the same.

Similar Messages

  • I have OS X 10.9.4 version. I want to burn a CD-RW. After inserting the CD it's ejecting on its own. Kindly help. I can't burn songs on it.

    I have OS X 10.9.4 version. I want to burn a CD-RW. After inserting the CD it's ejecting on its own. Kindly help. I can't burn songs on it.

    CD/DVD Loading Problems                        
    CD/DVD Sharing
    CD/DVD Drive - Troubleshooting See troubleshooting section.
    CD/DVD Drive - Troubleshooting (2)

  • I have amny duplicate contact numbers under various names , coz when i syncronised my i phone with facebook this happened , now i want to identify them and delete  them kindly help how i can save my time

    i was using blackberry earlier and when i syncronized it with facebook and gmail it added many contacts to my phonebook leading to duplication , now i have got all thoes contacts transfered to my i phone and even downloaded appliciation to delete duplicates in i phone though it is paid application but of no use as it has not recognised the duplicate contact numbers in phonebook but it recognise only exact duplicates kindly help me how i can delete duplicate contact numbers with diffrent names

    Just go ahead and go to settings>Facebook> Contacts OFF and do the same with Gmail. THe contacts related to those acct will dissapear. Then when you sync again with Gmail be carefull BCS IT SAYS IF YOU WANT TO JUST ADD THE CONTACTS OR MERGE THEM!!!!

  • Table empty kindly help

    Hai
    i found one my table PIV_MAX has been deleted by some process by some machine.
    pls tell me the query to find the
    1) what is the sql which truncated the table piv_max..? it should say the latest date.
    2) from which machine it is done..?
    Kindly help
    S

    if I can add ...
    this is sort of for future accidents
    if you turn on auditing, you can see exactly who touched your table, when and how (delete, insert, select, ....), you can also see exact SQL which ran on your table. I would start with Oracle Documentation, please note auditing is going to add overhead, also the auditing tables can grow quickly, although oracle documentation says that you should not move these tables from system tablespace, you can do it and I've never seen any issues with it. http://download.oracle.com/docs/cd/B10500_01/server.920/a96521/audit.htm
    if you want to recover lost records, you can turn on flashback feature (this is I believe not available in standard database, you need enterprise option), it allows you to recover the data to exact point in time in the past http://www.oracle.com/technology/deploy/availability/htdocs/Flashback_Overview.htm

  • HT201210 i have an error of no 11. kindly help, needed urgently

    i have an error of no 11. kindly help, needed urgently
    when i try to upgrage my
    iphone 3gs wit 4.1 to new latest 5.1
    it gives the erorr of 11. what that mean? Reply as soon as you can !
    thnx

    Error -1 may indicate a hardware issue with your device. Follow Troubleshooting security software issues, and restore your device on a different known-good computer. If the errors persist on another computer, the device may need service.

  • TS1930 Hi All, I'm using iTunes 10.6.3.25 and i don't see the option of "Enable disk use" here so can someone kindly help me in copying the videos from my iPod Touch to my PC, Thank you.

    Hi All, I'm using iTunes 10.6.3.25 and i don't see the option of "Enable disk use" here so can someone kindly help me in copying the videos from my iPod Touch to my PC, Thank you.

    There is no enable disk use option for iOS Devices.  See this article for instructions on copying videos and photos from your iOS device to your PC.
    iOS: Importing personal photos and videos from iOS devices to your computer
    B-rock

  • How to filter data in message mapping?Kindly help! URGENT

    Hi Experts,
    I have a source XML as shown below:
    <Inventory>
    <InventoryItem>
    <InventoryQty>
    <MaterialNo>X001</MaterialNo>
    <ItemCode>InTransit</ItemCode>
    <Quantity>1000</Quantity>
    </InventoryQty>
    <InventoryQty>
    <ItemCode>Available</ItemCode>
    <Quantity>1500</Quantity>
    </InventoryQty>
    <InventoryQty>
    <ItemCode>UnRestricted</ItemCode>
    <Quantity>1250</Quantity>
    </InventoryQty>
    </InventoryItem>
    <InventoryItem>
    <InventoryQty>
    <MaterialNo>X002</MaterialNo>
    <ItemCode>InTransit</ItemCode>
    <Quantity>1500</Quantity>
    </InventoryQty>
    <InventoryQty>
    <ItemCode>Available</ItemCode>
    <Quantity>1600</Quantity>
    </InventoryQty>
    <InventoryQty>
    <ItemCode>UnRestricted</ItemCode>
    <Quantity>1200</Quantity>
    </InventoryQty>
    </InventoryItem>
    </Inventory>
    My Target XML is mapped to a RFC Fnction module (YGET_STOCK). The target function module has a internal table (ITAB_STOCK) as input:
    YGET_STOCK
    ITAB_STOCK
    item
               - <Material>X001</Material>
               - <AvailableStock>1500</AvailableStock>
               - <IntransitStock>1000</IntransitStock>
    item
               - <Material>X002</Material>
               - <AvailableStock>1600</AvailableStock>
               - <IntransitStock>1500</IntransitStock>
    </Inventory>
    So how to get the desired target XML using graphical XI mapping?
    I have tried using graphical mapping and I am getting the following:
    YGET_STOCK
    ITAB_STOCK
    item
               - <Material>X001</Material>
               - <IntransitStock>1000</IntransitStock>
               - <AvailableStock></AvailableStock>
    item
               - <Material>X001</Material>
               - <IntransitStock></IntransitStock>
               - <AvailableStock>1500</AvailableStock>
    </Inventory>
    As shown it is reading only the first <InventoryItem> and splitting the Available and InTransit quantity into two separate items of the internal tables instead of putting them into one item.
    Kindly help me! URGENT!
    Thanks
    Gopal
    Message was edited by:
            gopalkrishna baliga
    Message was edited by:
            gopalkrishna baliga
    Message was edited by:
            gopalkrishna baliga
    Message was edited by:
            gopalkrishna baliga
    Message was edited by:
            gopalkrishna baliga

    what is ur mapping def...did u map <InventoryItem> to -
    item in rfc?

  • Strange. I can play all my clips in FCP 7, but can not export them via share, nor submit them via Compressor. What happened? Thank yiou for your kind help, I can not continue my work! FCP 7!

    Strange. I can play all my clips in FCP 7, but can not export them via share, nor submit them via Compressor. What happened? Thank yiou for your kind help, I can not continue my work! FCP 7!

    When FCP/FCS begins to act unexpectedly, the usual first step is to trash your preferences:
    https://discussions.apple.com/docs/DOC-2491
    MtD

  • Problem in JTable,Kindly help very urgent

    I am trying to add /remove rows from JTable whose first column is JButton and others are JComboBox's.If no rows are selected,new row is added at the end.If user selects some row & then presses insert button,new row is added below it.Rows can only be deleted if user has made some selection.I am also using Icon for the button of currently active row.But i am getting exception(ArrayIndexBounds)when i try to add/delete.May be proper refreshing is not taking place.Kindly help me,where i am making mistake.If any function is to be used.My code is as follows....It is running code
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.table.*;
    import javax.swing.border.*;
    import java.util.*;
    public class JButtonTableExample extends JFrame implements ActionListener,TableModelListener
    JComboBox mComboLHSType = new JComboBox();
    JComboBox mComboRHSType = new JComboBox();
    JLabel mLabelLHSType = new JLabel("LHS Type");
    JLabel mLabelRHSType = new JLabel("RHS Type");
    JButton mButtonDelete = new JButton("Delete");
    JButton mButtonInsert = new JButton("Insert");
    JButton check = new JButton("check");
    JPanel mPanelButton = new JPanel();
    JPanel mPanelScroll = new JPanel();
    JPanel mPanelCombo = new JPanel();
    DefaultTableModel dm ;
    TableColumnModel modelCol;
    JTable table;
    JScrollPane scroll;
    int currentRow = -1;
    static int mSelectedRow = -1;
    EachRowEditor rowEditor;
    public JButtonTableExample()
    super( "JButtonTable Example" );
    makeForm();
    setSize( 410, 222 );
    setVisible(true);
    private void makeForm()
         this.getContentPane().setLayout(null);
         mLabelLHSType.setBounds(new Rectangle(26,5,71,22));
         mComboLHSType.setBounds(new Rectangle(83,5,100,22));
         mLabelRHSType.setBounds(new Rectangle(232,5,71,22));
         mComboRHSType.setBounds(new Rectangle(292,5,100,22));
         mPanelCombo.setLayout(null);
         mPanelCombo.setBorder(new LineBorder(Color.red));
         mPanelCombo.setBounds(new Rectangle(1,1,400,30));
         mComboRHSType.addItem("Constant");
    mComboRHSType.addItem("Variable");
    mComboRHSType.setSelectedIndex(0);
    mComboRHSType.addActionListener(this);
    mPanelCombo.add(mLabelLHSType,null);
    mPanelCombo.add(mComboLHSType,null);
    mPanelCombo.add(mLabelRHSType,null);
    mPanelCombo.add(mComboRHSType,null);
         mPanelButton.setLayout(null);
         mPanelButton.setBorder(new LineBorder(Color.green));
         mPanelButton.setBounds(new Rectangle(1,165,400,30));
         mButtonInsert.setBounds(new Rectangle(120,5,71,22));
         mButtonDelete.setBounds(new Rectangle(202,5,71,22));
         mButtonDelete.addActionListener(this);
    mButtonInsert.addActionListener(this);
    check.setBounds(new Rectangle(3,3,71,22));
    check.addActionListener(this);
    mPanelButton.add(mButtonDelete,null);
    mPanelButton.add(mButtonInsert,null);
    mPanelButton.add(check,null);
         dm = new DefaultTableModel()
              public boolean isCellEditable(int row, int col)
              if(row == 0 && col ==1)
                   return false;
              return true;
         dm.addTableModelListener(this);
         //dm.setDataVector(null,
                             //new Object[]{"Button","Join","LHS","Operator","RHS"});
         dm.setDataVector(new Object[][]{{"","","","",""}},
                             new Object[]{"","Join","LHS","Operator","RHS"});
         table = new JTable(dm);
         table.getTableHeader().setReorderingAllowed(false);
         table.setRowHeight(25);
         table.setRowSelectionInterval(0,0);
         rowEditor = new EachRowEditor(table);
         int columnWidth[] = {20,45,95,95,95};
         mPanelScroll.setLayout(null);
         mPanelScroll.setBorder(new LineBorder(Color.blue));
         mPanelScroll.setBounds(new Rectangle(1,28,400,135));
         scroll = new JScrollPane(table);
    scroll.setBounds(new Rectangle(1,1,400,133));
    mPanelScroll.add(scroll,null);
         modelCol = table.getColumnModel();
         for (int i=0;i<5;i++)
         modelCol.getColumn(i).setPreferredWidth(columnWidth);
         setCellTypes();
    this.getContentPane().add(mPanelCombo,null);
    this.getContentPane().add(mPanelScroll,null);
    this.getContentPane().add(mPanelButton,null);
    }//end of makeForm()
    private void setCellTypes()
         modelCol.getColumn(0).setCellRenderer(new ButtonCR());
         modelCol.getColumn(0).setCellEditor(new ButtonCE(new JCheckBox()));
         modelCol.getColumn(0).setResizable(false);
         setUpJoinColumn(modelCol.getColumn(1));
         setUpLHSColumn(modelCol.getColumn(2));
         setUpOperColumn(modelCol.getColumn(3));
         setUpRHSColumn(modelCol.getColumn(4));//By Default contains JTextField
    public void actionPerformed(ActionEvent ae)
         if (ae.getSource() == mButtonInsert)
              int currentRow = table.getSelectedRow();
              if(currentRow == -1)
                   int rowCount = dm.getRowCount();
                   if(rowCount == 0)
                        table.clearSelection();
                        dm.insertRow(0,new Object[]{"","","","",""});
                        mComboRHSType.setEnabled(true);
                        mButtonDelete.setEnabled(true);
                        dm.fireTableDataChanged();
                        table.setRowSelectionInterval(0,0);
                   else
                        table.clearSelection();
                        dm.insertRow(rowCount,new Object[]{"","","","",""});
                        dm.fireTableDataChanged();
                        table.setRowSelectionInterval(rowCount,rowCount);
              else
                   table.clearSelection();
                   dm.insertRow(currentRow+1,new Object[]{"","","","",""});
                   dm.fireTableDataChanged();
                   table.setRowSelectionInterval(currentRow+1,currentRow+1);
    if(table.getRowCount()>0)
         table.setValueAt(new String(""),0,1);
         if(ae.getSource() == mButtonDelete)
    int currentRow = table.getSelectedRow();
    if(currentRow != -1)
    table.clearSelection();
                   dm.removeRow(currentRow);
                   if(dm.getRowCount() == 0)
                        mComboRHSType.setEnabled(false);
                        mButtonDelete.setEnabled(false);
                   dm.fireTableDataChanged();
              else
              JOptionPane.showMessageDialog(null, "Select row first", "alert", JOptionPane.ERROR_MESSAGE);
    //always the first cell is empty and disabled
    if(table.getRowCount()>0)
         table.setValueAt(new String(""),0,1);
         if(ae.getSource() == check)
              int r = table.getSelectedRow();
              for(int i=1;i<5;i++)
                   Object obj = table.getValueAt(r,i);
                   System.out.println("Value is"+obj.toString());
         if(ae.getSource()==mComboRHSType)
              System.out.println(mComboRHSType.getSelectedItem().toString());
              if(table.getSelectedRow() == -1)
                        JOptionPane.showMessageDialog(null, "Select row first", "alert", JOptionPane.ERROR_MESSAGE);
                        mComboRHSType.setSelectedIndex(0);
                   else
                        if((mComboRHSType.getSelectedItem().toString()).equalsIgnoreCase("Constant"))
                             rowEditor.stopCellEditing();
                             table.setValueAt("",table.getSelectedRow(),4);
                             rowEditor.setEditorAt(table.getSelectedRow(), new DefaultCellEditor(new JTextField()));
                             table.getColumn("RHS").setCellEditor(rowEditor);
                        else if((mComboRHSType.getSelectedItem().toString()).equalsIgnoreCase("Variable"))
                        JComboBox comboBox = new JComboBox();
                        comboBox.addItem("Variable1");
                        comboBox.addItem("Constant1");
                        comboBox.addItem("Constant2");
                        rowEditor.stopCellEditing();
                        table.setValueAt("",table.getSelectedRow(),4);
                        rowEditor.setEditorAt(table.getSelectedRow(), new DefaultCellEditor(comboBox));
                        table.getColumn("RHS").setCellEditor(rowEditor);
    }//end of actionPerformed()
    public void tableChanged(TableModelEvent e)
              if(e.getType()==e.DELETE)
                   System.out.println("DELETE CALEED called##################)");
              if(e.getType()==e.INSERT)
                   System.out.println("INSERT CALEED called##################)");
    public void setUpJoinColumn(TableColumn joinColumn)
    JComboBox comboBox = new JComboBox();
    comboBox.addItem("AND");
    comboBox.addItem("OR");
    comboBox.addItem("NOT");
    joinColumn.setCellEditor(new DefaultCellEditor(comboBox));
    //Set up tool tips
    DefaultTableCellRenderer renderer = new DefaultTableCellRenderer();
    renderer.setToolTipText("Click for combo box");
    joinColumn.setCellRenderer(renderer);
    //Set up tool tip for the header.
    TableCellRenderer headerRenderer = joinColumn.getHeaderRenderer();
    if (headerRenderer instanceof DefaultTableCellRenderer)
    ((DefaultTableCellRenderer)headerRenderer).setToolTipText("Click to see list of Join Conditions");
    public void setUpLHSColumn(TableColumn LHSColumn)
    JComboBox comboBox = new JComboBox();
    comboBox.addItem("Participant1");
    comboBox.addItem("Participant2");
    comboBox.addItem("Variable1");
    LHSColumn.setCellEditor(new DefaultCellEditor(comboBox));
    //Set up tool tips
    DefaultTableCellRenderer renderer = new DefaultTableCellRenderer();
    renderer.setToolTipText("Click for combo box");
    LHSColumn.setCellRenderer(renderer);
    //Set up tool tip for the header.
    TableCellRenderer headerRenderer = LHSColumn.getHeaderRenderer();
    if (headerRenderer instanceof DefaultTableCellRenderer)
    ((DefaultTableCellRenderer)headerRenderer).setToolTipText("Click the sport to see Participants or Variables");
    public void setUpOperColumn(TableColumn operColumn)
    JComboBox comboBox = new JComboBox();
    comboBox.addItem("=");
    comboBox.addItem("!=");
    comboBox.addItem("Contains");
    operColumn.setCellEditor(new DefaultCellEditor(comboBox));
    //Set up tool tips
    DefaultTableCellRenderer renderer = new DefaultTableCellRenderer();
    renderer.setToolTipText("Click for combo box");
    operColumn.setCellRenderer(renderer);
    //Set up tool tip for header.
    TableCellRenderer headerRenderer = operColumn.getHeaderRenderer();
    if (headerRenderer instanceof DefaultTableCellRenderer)
    ((DefaultTableCellRenderer)headerRenderer).setToolTipText(
    "Click to see a list of operators");
    public void setUpRHSColumn(TableColumn rhsColumn)
              rowEditor.setEditorAt(table.getSelectedRow(), new DefaultCellEditor(new JTextField()));
              rhsColumn.setCellEditor(rowEditor);
    //Set up tool tips
    DefaultTableCellRenderer renderer = new DefaultTableCellRenderer();
    renderer.setToolTipText("Click for combo box");
    rhsColumn.setCellRenderer(renderer);
    public static void main(String[] args)
    JButtonTableExample frame = new JButtonTableExample();
    frame.addWindowListener(new WindowAdapter()
    public void windowClosing(WindowEvent e)
    System.exit(0);
    }//end of program
    //Button as a renderer for the table cells
    class ButtonCR implements TableCellRenderer
         JButton btnSelect;
         public ButtonCR()
              btnSelect = new JButton();
              btnSelect.setMargin(new Insets(0,0,0,0));
         public Component getTableCellRendererComponent(JTable table,Object value,boolean isSelected,boolean hasFocus,int row,int column)
              if (column != 0) return null; //meany !!!
              return btnSelect;
    }//end fo ButtonCR
    //Default Editor for table
    class ButtonCE extends DefaultCellEditor implements ActionListener
         JButton btnSelect;
         JTable table;
         static int selectedRow = -1;
         public ButtonCE(JCheckBox whoCares)
              super(whoCares);
              btnSelect = new JButton();
              btnSelect.setMargin(new Insets(0,0,0,0));
              btnSelect.addActionListener(this);
              setClickCountToStart(1);
         public Component getTableCellEditorComponent(JTable     table,Object value,boolean isSelected,int row,int column)
              if (column != 0) return null; //meany !!!
              this.selectedRow = row;
              this.table = table;
              System.out.println("Inside getTableCellEditorComponent");
              return btnSelect;
         //public Object getCellEditorValue()
              //return val;
         public void actionPerformed(ActionEvent e)
              // Your Code Here...
              System.out.println("Inside actionPerformed");
              System.out.println("Action performed Row selected "+selectedRow);
              btnSelect.setIcon(new ImageIcon("capsigma.gif"));
    }//end of ButtonCE
    class EachRowEditor implements TableCellEditor
         protected Hashtable editors;
    protected TableCellEditor editor, defaultEditor;
    JTable table;
    * Constructs a EachRowEditor.
    * create default editor
    * @see TableCellEditor
    * @see DefaultCellEditor
    public EachRowEditor(JTable table)
              this.table = table;
         editors = new Hashtable();
         defaultEditor = new DefaultCellEditor(new JTextField());
         editor = defaultEditor;
         * @param row table row
         * @param editor table cell editor
         public void setEditorAt(int row, TableCellEditor editor)
         editors.put(new Integer(row),editor);
    public Component getTableCellEditorComponent(JTable table,Object value, boolean isSelected, int row, int column)
         //editor = (TableCellEditor)editors.get(new Integer(row));
         //if (editor == null)
         //     editor = defaultEditor;
         return editor.getTableCellEditorComponent(table,value, isSelected, row, column);
         public Object getCellEditorValue()
         System.out.println("getCellEditoeValue");
         return editor.getCellEditorValue();
         public boolean stopCellEditing()
         System.out.println("stopCellEditing");
         return editor.stopCellEditing();
         public void cancelCellEditing()
         System.out.println("cancelCellEditing");
         editor.cancelCellEditing();
    public boolean isCellEditable(EventObject anEvent)
    System.out.println("isCellEditable");
    selectEditor((MouseEvent)anEvent);
    return editor.isCellEditable(anEvent);
    public void addCellEditorListener(CellEditorListener l)
    System.out.println("addCellEditorListener");
    editor.addCellEditorListener(l);
    public void removeCellEditorListener(CellEditorListener l)
         System.out.println("removeCellEditorListener");
    editor.removeCellEditorListener(l);
    public boolean shouldSelectCell(EventObject anEvent)
    System.out.println("shouldSelect");
    selectEditor((MouseEvent)anEvent);
    return editor.shouldSelectCell(anEvent);
    protected void selectEditor(MouseEvent e) {
    int row;
    if (e == null) {
    row = table.getSelectionModel().getAnchorSelectionIndex();
    } else {
    row = table.rowAtPoint(e.getPoint());
    editor = (TableCellEditor)editors.get(new Integer(row));
    if (editor == null) {
    editor = defaultEditor;
    }//end of EachRowEditor

    Hello!
    Catch the exception in your event handler:
    try {
    } catch(Exception ex) { ex.printStackTrace(); }
    You can now isolate the wrong line ^;
    Next time if you post such a large code please use code and /code
    enclosed in brackets : []; (See http://forum.java.sun.com/faq.jsp#format)
    class A extends B {
          public void niceCode() {

  • Urgent ...Someone kindly help!

    Hello..
    please can someone kindly help me fil out these commented lines
    I am trying to connect to an oracle database from a java applet.
    Also let me know the type of driver needed to connect to an oracle database and where it can be found
    and how i can set or add it to my classpath.
    try
         Class.forName ("//please fill these ");
         Connection con = DriverManager.getConnection ("//please fill these");
         //Statement st = con.createStatement ()
         //blah, blah, blah
    catch (Exception e)
    Thanks.

    import oracle.jdbc.driver.*;
    try{
    java.sql.DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    con = java.sql.DriverManager.getConnection("jdbc:oracle:thin:@db_server_ip:db_server_port:sid","username","password");
    catch(Exception e)
    e.printStackTrace();
    the oracle driver is availble with the oracle

  • Can Ipad1(WIFI) originally support FaceTime at all? After sync IOS 5, the Face Time is no found either. Please kindly help.

    I am using IPAD1 the WIFI one. I have not noticed if it supports Face Time funtion. After sync IOS5, I want to try Face Time with Iphone 4, but could not find out this funtion from my WIFI Ipad1. Please kindly help if the Ipad 1 is possible for Face Time. Appreciate if you could kindly give me a hand. 

    OMG, I thought it was a cam. But I recall, before sync the IOS 5, I did try face time with IPHONE4, but that time, I forgot how to get a new APPLE ID for the IPAD though. But in China, before the IPAD2 on market, the TV AD told the face time works with all IOS product. Also, I went to the retailer here, the sales person also told me that it can work as long as using WIFI connection. I confused.

  • I have MacBook Air MD232 2012. I am working for a company that needs me to install all OS X from 10.7 to 10.10. How can I do this on my MBA? Thank you for your kind help.

    I have MacBook Air MD232 2012. I am working for a company that needs me to install all OS X from 10.7 to 10.10. How can I do this on my MBA? Thank you for your kind help.

    Choose Utilities from the Finder’s Go menu, open the Disk Utility, create two or three additional partitions(see below), and install or clone a different Mac OS X version to each.
    Unless you previously downloaded Mavericks 10.9, it’s no longer available.
    (120302)

  • Im Using iPhone 4 factory Unlocked device iOS 7, but device was feels slow, so i want to restore to iOS 6.1.3. how can i do this? please help me anyone itz urgent.

    Im Using iPhone 4 factory Unlocked device iOS 7, but device was feels slow, so i want to restore to iOS 6.1.3. how can i do this? please help me anyone itz urgent.

    As has always been the case, you cannot go back.
    Sorry

  • HT4009 I can not buy in-app purchase in application name clash of clan My balance in Apple ID is sufficient to buy that item. Please kindly help me on this issue.Your help would be appreciated.

    I can not buy in-app purchase in application name clash of clan My balance in Apple ID is sufficient to buy that item. Please kindly help me on this issue.Your help would be appreciated.

    What happens when you tru buy items in it ?
    If you are getting a message to contact iTunes support then you can do so via this page and ask them why the message is appearing (we won't know why) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption
    If it's a different problem ... ?

  • Any update is anticipated in Ipod Classic Models? (May be to 8G or more space etc) kindly help as i am planning to buy one... if any updates are there, i can wait :)

    Any update is anticipated in Ipod Classic Models? (May be to 8G or more space etc) kindly help as i am planning to buy one... if any updates are there, i can wait

    Since all of us here are only end users like yourself, we wouldn't know of any such information and its against the terms of use of these forums to speculate. Sorry.
    B-rock

Maybe you are looking for