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.


>> REGISTER NOW TO START POSTING


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
    Posts
    3
    Thanks
    2
    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
    Super Moderator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,101
    Thanks
    169
    Thanked 779 Times in 725 Posts
    Blog Entries
    5

    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. Replies: 1
    Last Post: December 21st, 2012, 09:35 AM
  3. Unable to create a new connection!
    By fh84 in forum JDBC & Databases
    Replies: 1
    Last Post: November 20th, 2009, 04:58 PM
  4. Database connection using NetBeans
    By jcc285 in forum Java IDEs
    Replies: 6
    Last Post: June 9th, 2009, 03:23 AM