This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Oracle JDBC
- To: java at gcc dot gnu dot org
- Subject: Oracle JDBC
- From: Jeff Sturm <jeff dot sturm at commerceone dot com>
- Date: Mon, 05 Feb 2001 20:11:11 -0500
- Organization: Commerce One
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