Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #19778

Re: Simple & easy BUT urgent

From Jeff Higgins <jeff@invalid.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Simple & easy BUT urgent
Date 2012-11-17 21:48 -0500
Organization A noiseless patient Spider
Message-ID <k89hqq$cu9$1@dont-email.me> (permalink)
References <50f0e525-5faa-4c6f-97e9-e8449917aaf6@googlegroups.com>

Show all headers | View raw


On 11/17/2012 06:02 PM, Oussama Romdhane wrote:
> hi everyone, I'm new here so hey there all !
> I just want you guys to give me the necessary line codes to connect an access data base (.mdb) to a java program (I'm working on web services using the soap exchange  method)
> Thanks a lot
> OR
import java.sql.*;
class Scratch
{
   public static void main(String[] args) {
     try {
       Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
       Connection c = DriverManager.getConnection("yourdatabaseurl");
     } catch (Exception e) {}
   }
}

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Simple & easy BUT urgent Oussama Romdhane <oussama.romdhane.official@gmail.com> - 2012-11-17 15:02 -0800
  Re: Simple & easy BUT urgent Jeff Higgins <jeff@invalid.invalid> - 2012-11-17 21:48 -0500
  Re: Simple & easy BUT urgent Arne Vajhøj <arne@vajhoej.dk> - 2012-11-17 22:11 -0500

csiph-web