craftleft.gif (3002 bytes)QuickTable
Home | API | Tutorial | Download | Support | Contact topblack.gif (108 bytes)


QuickTable User Cp  |  Register  |  Members  |  Search  |  Help
    |- QuickTable Discussion Forums > JDBC/Database Issues Post New Topic   Post A Reply
How to Use Oracle Diriver printer friendly version
next newest post | next oldest post
Author Messages
tojo118{@}cs.com
Unregistered
Edit or delete this message Reply w/Quote
Posted Wednesday, December 31, 1969 @ 19:00:00  


Hi,

dBTable1.setDatabaseDriver("sun.jdbc.odbc.JdbcOdbcDriver");

any body can tell me how I can set Oracle driver for dbTable1 insted of JdbcOdbcDriver

Thanks

admin{@}quicktable.org
Unregistered
Edit or delete this message Reply w/Quote
Posted Wednesday, December 31, 1969 @ 23:59:59  


//set the database driver to oracle driver
dBTable1.setDatabaseDriver("oracle.jdbc.driver.OracleDriver");


/*
For example,(I'm assuming you are using oracle thin jdbc driver) if you want to connect to the database on host "myhost" , that has a TCP/IP listener on port 1521 for the database SID (system identifier) "orcl", logon as user "scott", with password "tiger", write:
*/

dBTable1.setJdbcUrl("jdbc:oracle:thin:@myhost:1521:orcl");
dBTable1.setUser("scott");
dBTable1.setPassword("tiger");

For more information about how to use oracle driver go to
http://technet.oracle.com/doc/server.804/a58237/toc.htm



Hi,

dBTable1.setDatabaseDriver("sun.jdbc.odbc.JdbcOdbcDriver");

any body can tell me how I can set Oracle driver for dbTable1 insted of JdbcOdbcDriver

Thanks



Post New Topic   Post A Reply Jump to:
Contact Us | QuickTable - A Java DBGrid | Privacy Policy All times are GMT -5 Hours.
Welcome to QuickTable Forums, Guest!  
Login
Username :
Password :
In order to fully utilize the abilities of this board, you are required to register as a member. Registration is free, and allows you to do lots of things including turning on or off certain features of this board. Register now!
Powered by CuteCast v2.0 BETA 2
Copyright © 2001-2003 ArtsCore Studios