Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: How to create a Database Connection?

  1. #1
    Junior Member
    Join Date
    Oct 2013
    Thanked 0 Times in 0 Posts

    Default How to create a Database Connection?

    I have a simple question on databases. How do you create a database connection in Java?

    Can some one give me a couple of examples.

  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Thanked 844 Times in 786 Posts
    Blog Entries

    Default Re: How to create a Database Connection?

    See Trail: JDBC(TM) Database Access (The Java™ Tutorials)

Similar Threads

  1. connection to Database is not happening......Please help
    By davidrobin in forum JDBC & Databases
    Replies: 0
    Last Post: June 15th, 2013, 03:54 PM
  2. database connection
    By Ravi Raj in forum What's Wrong With My Code?
    Replies: 0
    Last Post: April 19th, 2013, 01:57 AM
  3. Replies: 1
    Last Post: December 21st, 2012, 09:35 AM
  4. Unable to create a new connection!
    By fh84 in forum JDBC & Databases
    Replies: 1
    Last Post: November 20th, 2009, 04:58 PM
  5. Database connection using NetBeans
    By jcc285 in forum Java IDEs
    Replies: 6
    Last Post: June 9th, 2009, 03:23 AM