[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 148
  • Last Modified:

JDBC database

I coded a swing app and want to write/read some data
from a database using JDBC, how do i do it?

What is JDBC, how is like SQL server etc?

What do i need?

I'm using eclipse.
0
jedistar
Asked:
jedistar
4 Solutions
 
CEHJCommented:
JDBC is a means of connecting to databases

http://javaalmanac.com/egs/java.sql/pkg.html
0
 
Mayank SAssociate Director - Product EngineeringCommented:
This is Sun's online JDBC tutorial: http://java.sun.com/docs/books/tutorial/jdbc/

For SQL Server, you need to download the M$ SQL Server driver:

http://www.microsoft.com/downloads/details.aspx?familyid=9F1874B6-F8E1-4BD6-947C-0FC5BF05BF71&displaylang=en 

You can also try the JTDS driver: http://jtds.sourceforge.net/ 
0
 
Mayank SAssociate Director - Product EngineeringCommented:
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
hoomanvCommented:
> This looks like a higher version:
SQL server 2005 is more higher :)
http://www.microsoft.com/downloads/details.aspx?familyid=e22bc83b-32ff-4474-a44a-22b6ae2c4e17&displaylang=en
0
 
Mayank SAssociate Director - Product EngineeringCommented:
I meant for SQL Server 2000.
0
 
Siva Prasanna KumarPrincipal Solutions ArchitectCommented:
http://www.java2s.com/Code/Java/Database-SQL-JDBC/CatalogDatabase-SQL-JDBC.htm

http://www.java2s.com/Code/Java/Database-SQL-JDBC/Connection.htm

here you get many examples to do various JDBC actions on various databases check out.

Thank you.
0
 
CEHJCommented:
:-)
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now