How to run jdbc:odbc driver for MS Access in Beam Managed Persisten Entity

Hi friends,
I like to know how to access an MS Access Database using a BMP Entity Bean. I like to know how the connection is established. Can we use the Class.forName(). I'd like to recieve the 3 to 4 line code. :)
Please Help
Thank YOu!!

rampalli_aravind wrote:
Hi friends,
I like to know how to access an MS Access Database Google "Sun JDBC tutorial".
using a BMP Entity Bean. Really? How quaint!
I like to know how the connection is established.
Connection c = DriverManager.createConnection(url, user, pass);
Can we use the Class.forName(). Yes.
I'd like to recieve the 3 to 4 line code. :)I've got you halfway there. The rest is left for you.
Please HelpI think I did.
Thank YOu!!No, thank YOU! Where would this forum be without stoopid questions like yours?
%

Similar Messages

  • How to create db conn for JDBC-ODBC Bridge for MS Access in ADF APP?

    Sir,
    How to create db conn for JDBC-ODBC Bridge for MS Access in ADF APP?
    Regards

    Hello Every Body!
    I succeeded in getting connect to the ms access database in adf application in jdeveloper as below:
    First in control panel to to admin tools and  go to data source(odbc) and create system dsn as bellow pic
    Then go to jdeveloper resources ide conn and then database and new database conn and then select jdbc-odbc briddge and then give custom jdbc url as bellow pic
    Cheers
    tanvir

  • Where I can find an ODBC driver for MS Access

    I need to use JSP access a .mdb file. I can do it for the test program in a window platform computer. However when i move the program to a linux server, it doesn't work. Then I am told to have an ODBC driver for MS Access installed on the Linux server.
    I've tried to search it on google but I cannot find one to download, or I'm not sure which one I should download...
    Could anyone give me a link to download such driver? Many many thanks!!

    Thx for your reply!!
    This is my old post after accessing .mdb file with JSP
    http://forum.java.sun.com/thread.jspa?threadID=583788
    just somehow the program doesn't work on Linux server and I can't figure it out, and I am advised to install an ODBC driver.

  • JDBC (ODBC) Driver for linux

    Hello
    I am currently using JdbcOdbcBridge on Windows NT/2000 for accessing MS SQLServer.
    But I want to transfer my application servers to Linux
    RedHat 7.1. My database should remain MS SQLServer.
    Can you suggest me a way to connect to MSSQL Server
    from Linux? An ODBC driver would also be
    enough for me, i.e. I can use a JdbcOdbcBridge regardless of performance problems.
    Where can I find MS SQL Server drivers for Linux?
    Thank you

    You might try the http://www.freetds.org/.
    Or RmiJdbc at http://www.objectweb.org/

  • Oracle ODBC-Driver for MS Access 2.0

    Hi,
    we're looking for a MS-Access 2.0-Oracle-ODBC-Driver. It's not a "normal" ODBC-Driver but a Driver provided in the past by Microsoft. Its a special DLL for MS-Access 2.0, not for the Operating System.
    any ideas or maybe a link?
    Thanks a lot!
    heiko

    Since XE is 10gR2 these drivers should work, did you try? -> http://www.oracle.com/technology/software/tech/windows/odbc/index.html
    Kind regards,
    Tonguç

  • JDBC ODBC bridge for MS Access - language/locale problems

    Hi,
    I have an application that uses a MS Access database.
    I have a user in Turkey that is experiencing the following problem:
    My Java app requests for example the following query:
    select name from activitiesThen I get the following error:
    java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver]
    The Microsoft Jet database engine cannot find
    the input table or query 'ACT�V�T�ES'. 
    Make sure it exists and that its name is spelled correctly.Apparantly the character 'i' is replaced by '�', how can I avoid this?

    Hi,
    I was looking for something in that direction.
    When I start the db connection using charset="Turkish" i get the following error:
    # An unexpected error has been detected by HotSpot Virtual Machine:
    #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d6cb0b2, pid=4480, tid=5000
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_04-b05 mixed mode)
    # Problematic frame:
    # V  [jvm.dll+0x8b0b2]
    # An error report file with more information is saved as hs_err_pid4480.log
    # If you would like to submit a bug report, please visit:
    #   http://java.sun.com/webapps/bugreport/crash.jsp
    #Is this because my MS Access does not recognize the charset?
    What should I use if I don't pas the 'Turkey' argument, just 'utf-8'?
    Message was edited by:
    fredje_2000

  • How to setup JDBC/ODBC in J2EE 1.3?

    hi all,
    How to setup JDBC/ODBC in J2EE 1.3? I managed to run Db2, cloudscape but not MSSQL7.
    Is there anyone know how to set up this JDBC/ODBC driver for MSSQL7/
    regards,
    elvis
    scjp

    Hi
    I have same problem at beforetime.
    You can do follow:
    Step 1:
    copy rt.jar form JDK 1.2.1\jre\lib\jar
    to J2EE1.2.1\lib\system\
    Step 2:
    Set J2ee_classpath = c:\j2ee1.2.1\lib\system\rt.jar
    Step 3:
    Restart computer and J2ee
    You can try it
    Help can help you
    David

  • How to install the Oracle ODBC driver for all NT users

    I need to schedule a task on a SQL server running on NT to access an Oracle DB.
    I have installed the Oracle ODBC driver on it and it is working well under my NT account.
    But the SQL scheduler runs on another NT account and the task failed.
    How is it possible to install the Oracle ODBC Driver for all NT users ???
    Thanks for your inputs...

    http://forum.java.sun.com/thread.jsp?forum=48&thread=187964&start=0&range=15#608968
    The above link is a comprehensive "How to get set up and on my way" that I made for someone else learning Oracle/jdbc. Kind of a self-help resource page. I would start from the beginning and download the newest drivers, then set up your environment,...etc.
    hope this helped,
    Jamie

  • How to connect Sql Server 2000 using JDBC ODBC Driver

    How to connect Sql Server 2000 using JDBC ODBC Driver ?
    plz Send Syntax.
    thanks

    In SQL Server 2000 the driver class is com.microsoft.jdbc.sqlserver.SQLServerDriver
    The connection URL for the default SQL Server 2000 database is jdbc:sqlserver://localhost:1433
    Class.forName(
      "com.microsoft.sqlserver.jdbc.
      SQLServerDriver");
    String url =
      "jdbc:sqlserver://localhost:1433";
    Connection conn = DriverManager.
      getConnection(
      url, "sa", "sqlserver");

  • How do I get the ODBC driver for 8.05 Solaris?

    Hi,
    Where can I get the Oracle ODBC driver
    for 8.05 on Solaris? I'm trying to use the
    JDBC bridge, but can't find the drivers.
    Do you have a small example using the bridge?
    null

    I assume you want an ODBC driver to actually use on the Solaris
    box, not one that runs say on Windows and connects To Solaris...
    Intersolv (www.intersolv.com) has a data-direct set of drivers,
    and I believe they have one for Solaris.
    null

  • How to install Oracle 10g ODBC driver  for win 64 bit?

    I need to install Oracle 10g ODBC driver for win 64 bit, I donot know how to do that,
    where to find the driver....
    The driver 10.1.0.5.0 25-Apr-2006 2.1 MB isnot for 64 bits Win server 2003.

    Dear Sir,
    Yes, you can find the Driver here
    http://www.oracle.com/technology/software/tech/windows/odbc/index.html

  • HT1338 How do I get a driver for my Epson Stylus Photo 1400 so that it will run with Mountain LIon?  I tried "Software Update" and says "no update available"

    How do I get a driver for my Epson Stylus Photo 1400 so that it will run with Mountain LIon?  I tried "Software Update" and says "no update available".  I contacted Epson and was told all driver updates had to be obtained using "Software Update"?

    You will find the latest Epson drivers herehttp://support.apple.com/kb/DL1398.
    If you don't find a driver for your printer in the above, then install the Gutenprint drivers. It supports your model.

  • JDBC-ODBC bridge for MSSQL database

    Hi,
    I have SAP 2 MSSQL synchronous scenario and I need to select data from MS SQL 2005 database located on the remote system via XI 3.0. The database provides only ODBC access. I am using JDBC receiver and I would like to use sun.jdbc.odbc.JdbcOdbcDriver as a driver. I searched this forum, but the most of threads describe, how to connect to MS Access database, which is not my case. I used XI JDBC/FTP connection Test and XML Validation Application described in SAP Note 1085539 to test it. I used the following settings:
    Driver Class (fully qualified)   sun.jdbc.odbc.JdbcOdbcDriver
    JDBC URL                          jdbc:odbc:Driver://<host IP>;databaseName=<name>
    User Name                         my username
    Password                           my password
    I got the following error:
    Exception Occurred : [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
    Exception Stack Trace : java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
         at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6958)
         at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7115)
    My questions are: Is it possible to use sun.jdbc.odbc.JdbcOdbcDriver in this scenario? If so, what should I put as JDBC URL? Do I need to create DSN on the XI system? (it is a Windows NT based machine).
    Thanks a lot for your answers.

    Have you already deployed the drivers (msbase.jar, mssqlserver.jar, msutil.jar) ??
    If so,
    The JDBC drivers should be:
    com.microsoft.jdbc.sqlserver.SQLServerDriver
    And the connection should be:
    jdbc:microsoft:sqlserver://hostname:1433;DatabaseName=name
    else
    For the drivers:
    http://developers.sun.com/product/jdbc/drivers

  • Oracle ODBC Driver for Rdb 2.10.11.00 on  Windows 2008 64-bit

    Hello,
    Our application runs on Windows 2000 Professional SP4 and connects to RDB databases on Alpha Open/VMS via Oracle ODBC Driver fro Rdb release 2.10.11.00.
    We are migrating to Windows Server 2008 64-bit environment.
    We tested both recent Rdb ODBC driver releases (3.3.0.0 and 3.3.1.0) but we are getting errors intermittently when the application loads data from certain tables. Trace logs show no errors which could indicate the origin of the issue.
    We want to use the old (2.10.11.00) release but it cannot be installed only on the Win 2008 32-bit version.
    Can anyone suggest how to install the Oracle ODBC Driver for Rdb release 2.10.11.00 on a Windows 2008 64-bit Server?
    Thanks in advance,
    Momir

    Hello,
    Take a loot at http://www.connx-net.com/rdb.htm they have a 64 bit ODBC OLE DB JBC and .NET solution.
    Regards,
    Ant

  • SQLServer ODBC driver for solaris

    Hi,
    do anyone know where I can find the SQLServer ODBC driver for solaris in order to use Oracle Heterogeneus
    Service?

    Easysoft has two ways to do this:
    An ODBC-JDBC gateway driver that runs any JDBC accessible database including SQL Server under one license. Apparently, the ODBC C library has a JAVA engine in there to read the vendor JAR files. I tried it on Interbase with windows, and it worked fine.
    They also have an ODBC-ODBC bridge, but that implies a Windows Server to provide the real SQL Server ODBC for free with another network hop.

Maybe you are looking for

  • DVD drive does not burn the DVD but prompts the mysterious 0x8002006D error

    I read the earlier threads about the mysterious 0x8002006D error. Then went to look at the console and the DiskRecording log reads: Finder: Burn sense: 3/73/03 Medium Error, Power calibration area error Finder: Burn error: 0x8002006D The device faile

  • Digital minijack to coax on z5500s getting no d

    Im connecting my audigy 2 zs to my z5500 using a stereo minijack to mono phono plug converter to connect coax to my z5500. All i get is no digital data no matter what settings i've tried. Is there a specific way to set up to use the digital out or am

  • I books to PDF convert

    I purchased book from I tunes and I want to conver PDF and print some pages. Does anyone know about anything?

  • Canceling pending payment?

    So I am very new to skype and I'm not learning it that quickly. I thought you had to buy an online number- I got a 1 month subscription via a one-off bank transfer a few days ago for £4.03- and I have since found out this is not compulsory. How can I

  • How does the 1st gen appletv with the hard drive work?

    I want to know what the hard drive records and stores. Poscasts? Purchased media? Rented media? Your itunes media? Ripped DVD's? What does the hard drive hold media wise? Does the 1st gen have the same features as the 2nd, netflix, poscasts, PC media