Re: Need to Learn about the Java ODBC



kvnsmnsn@xxxxxxxxxxx wrote:
From February to July of last year I worked for a company where I
wrote C code that accessed a PostgreSQL database with SQL commands and
generated the output my supervisor wanted.

Now I'm working for a different company that doesn't have a C
compiler and doesn't really want me writing C code. The company does
have a Java compiler, and think Java is the better route to maintain-
able code. I'm still working with databases, and as I understand it I
can use the Java ODBC to generate SQL queries to get the information
my colleagues are looking for.

Does anybody on this newsgroup know how I would go about using
Java this way? Is there any documentation on how to use the ODBC?
I've coded with Java before; in fact I have about five years of expe-
rience with Java; but I've never done anything with SQL with it.

http://java.sun.com/docs/books/tutorial/jdbc/

I recall a similar posting elsewhere - are you multi-posting? If so, please don't.

http://www.blakjak.demon.co.uk/mul_crss.htm
http://www.cs.tut.fi/~jkorpela/usenet/xpost.html


---Kevin Simonson

"You'll never get to heaven, or even to LA,
if you don't believe there's a way."
from _Why Not_

SignatureSeparatorException: hyphen hyphen space newline is a separator that is recognised by most newsgroup reading software.

--
RGB
- who doesn't particularly want to visit smog city again. YMMV.
.



Relevant Pages

  • Re: use of DBI; I am getting multiple error messages mixed in with the correct output.
    ... Perl was to relate it to uninitialized values in Java or C++. ... The fact that nulls in SQL have special ... Both Java and C++ have containers that support set theoretic ...
    (comp.lang.perl.misc)
  • Re: Need to Learn about the Java ODBC
    ... have a Java compiler, and think Java is the better route to maintain- ... can use the Java ODBC to generate SQL queries to get the information ... Connection connection; ...
    (comp.lang.java.programmer)
  • Re: SQL
    ... Persistence access is the abstraction, ... However, UML is just one of many OOA/D notations proposed, so it is an implementation of an OOA/D notation. ... Note that I was careful to say that SQL is a solution to persistence /access/ when the data is represented in RDB form. ... Sounds a little bit like Java and the JVM.... ...
    (comp.object)
  • Need to Learn about the Java ODBC
    ... have a Java compiler, and think Java is the better route to maintain- ... can use the Java ODBC to generate SQL queries to get the information ...
    (comp.lang.java.databases)
  • Need to Learn about the Java ODBC
    ... have a Java compiler, and think Java is the better route to maintain- ... can use the Java ODBC to generate SQL queries to get the information ...
    (comp.lang.java.programmer)