Friday, September 09, 2005

My first Database in Oracle 9

Often I puzzled with creating own database in oracle. Mysql was pretty easier, but how big step it is in oracle!
Also, here is code for asccessing newly created db: (using jdbc)

---------
Properties props = new Properties();
props.put("user", "scott");
props.put("password", "tiger");
props.put("internal_logon", "sysdba");
Connection conn = DriverManager.getConnection (url, props);
---------
Resource from : http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm#05_05

No comments: