Oracle JDBC

Jeff Sturm jeff.sturm@commerceone.com
Mon Feb 5 17:11:00 GMT 2001


FYI I got the Oracle "thin" driver to build and run with today's compiler and a
few patches:

  [jsturm@toronto lib]$ size liboracle.so
     text    data     bss     dec     hex filename
  3426121  791124    1516 4218761  405f89 liboracle.so
  [jsturm@toronto lib]$ gcj -Djdbc.driver=oracle.jdbc.driver.OracleDriver \
    ... -loracle -Wl,-rpath=`pwd` -o sqlexec
  [jsturm@toronto lib]$ ./sqlexec
  > select * from dual;   
  select * from dual

  X

  1 rows selected.

  Command complete in 35 milliseconds

No small feat, that.  BTW I used the javax.naming from libjava to satisfy link
errors.

--
Jeff Sturm
jeff.sturm@commerceone.com


More information about the Java mailing list