Home » Developer & Programmer » JDeveloper, Java & XML » CREATE, DROP, ALTER .... WITH JAVA
icon9.gif  CREATE, DROP, ALTER .... WITH JAVA [message #141650] Tue, 11 October 2005 07:53 Go to next message
moody_4u
Messages: 16
Registered: May 2005
Junior Member
Hello all;
is it a possible way that let me to create user within java application ??
i'm making admin Desktop Application for my ORACLE Graduate Project using pure java (not JDev), so i'm tried to use a create statement in the code and it dosen't work Sad

any help plz

thanks for reading my problem Smile

this is the code i used
-----------------------------------------------------------
    private void jbInit() throws Exception {
        contentPane = (JPanel) getContentPane();
        contentPane.setLayout(null);
        setSize(new Dimension(533, 444));
        setTitle("Frame Title");
        database1.setConnection(new ConnectionDescriptor(
                "jdbc:oracle:thin:@moody:1521:ORCL", "system", "a", false,
                "oracle.jdbc.driver.OracleDriver"));

        jButton1.setBounds(new Rectangle(172, 202, 71, 23));
        jButton1.setText("jButton1");
        jButton1.addActionListener(new Frame1_jButton1_actionAdapter(this));
        contentPane.add(jButton1);
    }

    public void jButton1_actionPerformed(ActionEvent e) {
        queryDataSet1.setQuery(new com.borland.dx.sql.dataset.QueryDescriptor(null,
                "create user r identified by r", null, true, Load.ALL));

    }
}
Re: CREATE, DROP, ALTER .... WITH JAVA [message #142088 is a reply to message #141650] Thu, 13 October 2005 07:33 Go to previous messageGo to next message
moody_4u
Messages: 16
Registered: May 2005
Junior Member
17 Views
0 Replies ??????????????

Re: CREATE, DROP, ALTER .... WITH JAVA [message #147161 is a reply to message #141650] Wed, 16 November 2005 00:39 Go to previous messageGo to next message
AD_Queen
Messages: 2
Registered: November 2005
Location: UAE
Junior Member
Hi there I can help if I understand ur problem ...??cuz I didnt got ur problem ??

AD_Queen
Re: CREATE, DROP, ALTER .... WITH JAVA [message #147238 is a reply to message #147161] Wed, 16 November 2005 09:54 Go to previous messageGo to next message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
I can't answer this, but I'd advise to put this at the Oracle forums: http://forums.oracle.com. Make sure you put it in the right forum.

MHE
Re: CREATE, DROP, ALTER .... WITH JAVA [message #147324 is a reply to message #147161] Thu, 17 November 2005 04:08 Go to previous message
moody_4u
Messages: 16
Registered: May 2005
Junior Member
thanx all

i have solved the prob. but i don't have the solution now


i will submit it when available


thaaaaaaaaaaaaanx
Previous Topic: I need help
Next Topic: Upload word doc into Oracle BLOB
Goto Forum:
  


Current Time: Mon Nov 25 18:08:38 CST 2024