1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to connect MS Access database in Net Beans?

Discussion in 'Java' started by SiLeNtEyEz, Jul 11, 2008.

  1. SiLeNtEyEz

    SiLeNtEyEz New Member

    Joined:
    Jun 30, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Student
    Location:
    Islamabad
    Assalamoalikum
    I need some help about how to connect MS Access database in NetBeans.I visited www.netbeans.org but didnt got much help related to MS Access.

    What I did is I start from Net Beans Desktop Application ....But when i select the option of database in it ....It asks Database URL....I have made connection from Control panel>>administrative tool>>Data Source >> and then added Microsft Access Driver(*.mdb) ....and added my database here.....But in net beans What Data Base URL should I write? Whats the method to write it ?
    Like in Net Beans Database URL is written as
    jdbc:eek:dbc:<DB>
    But as i write my data base name here jdbc:eek:dbc:Mydatabase.
    It gives the following error:
    Unable to obtain schema.There is unsufficent information to establish a connection to obtain list of schemas.
     

Share This Page