Thursday, April 22, 2010

Re: [Java] guide me

 

1. Create ODBC datasource, for example name, MyAccessOdbc
2. Create JDBC connection

Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();
Connection conn = DriverManager.getConnection("jdbc:odbc:MyAccessOdbc", "", "");
Statement st = conn.createStatement()
-------
-------
some code
----
----

----- Original Message -----
From: kulli73mass <no_reply@yahoogroups.com>
To: Java Official <Java_Official@yahoogroups.com>
Sent: Sun, 04 Apr 2010 11:27:36 +0700 (WIT)
Subject: [Java] guide me

 hello friends,

can you give me simple codings and step by step explanations  how to connect  with  ms acess  using  java codings  in tomcat  server.

thanking you

have a nice day

[Non-text portions of this message have been removed]

__._,_.___
Recent Activity:
Visit http://aiaiai.com or http://jgame.org for more groups to join.
Java Official Group is created for the following topics: Java 2 Enterprise Edition - J2EE, Java 2 Standard Edition - J2SE, Java 2 Micro Edition - J2ME, XML, XSL, XSD, XPATH, Web Services, Jini, JXTA for all type of Java Geeks.
Whoever posts spam / ads / job related message will be BANNED IMMEDIATELY
.

__,_._,___

No comments:

Post a Comment