This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Oracle JDBC


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]