Database drivers

In which situation is the JDBC ODBC bridge or Type-1 driver most suitable?

U may want to check this out for the answer ,
http://technet.oracle.com/doc/java.815/a64685/getsta1.htm#1002386

Similar Messages

  • IDT: Relational Database Drivers

    Hello,
    When I try to create a new relational database connection in information-design-tool, the list of available drivers is completely empty. This is the case for local projects and for connections in the repository as well.
    I made sure that all relational database drivers were installed by opening the client and server-installation in the control panel in windows. After chosing "change installation", etc. all availabe database drivers are checked.
    Any ideas?
    thanks!

    Hi
    If you are not able to find the drivers, try to configuring JDBC driver and creating connection using the below links and check.
    http://scn.sap.com/community/sqlserver/blog/2013/01/19/how-to-access-an-external-microsoft-sql-server-database
    http://scn.sap.com/docs/DOC-49847

  • New proprietary Database drivers for Crystal Reports

    I have been working recently with a software group that is developing a new, proprietary DBMS.  They would like the DBMS to be accessible by Crystal Reports for simple, end-user report creation.
    Can you advise where/how we can get started to create adequate ODBC / JDBC / ADO.NET drivers to interface with Crystal Reports?

    Hi Athmaram
    As the error message clearly mentioned that there is issue with the syntax or access violation, can you paste the stored procedure in the post so that we could check with the syntax?
    Please let us know the following information:
    1) Exact version of Oracle and the connectivity type(ODBC,OLEDB or Native).
    2) Does the user who is creating the report has appropriate rights at the database level?
    3) Is the Stored Procedure working fine at the database level?
    Thanks
    Poonam Thorat

  • Installing new database drivers

    HI
    I need to build connection between two databases through ESB but the target database will be MS SQLServer or MySQL. My question is how to add new database driver to OAS to configure the connection with non Oracle database?

    you can drivers in applib; or any other directory and add the path in global libraries in server.xml
    Here is sample: http://radio.weblogs.com/0137094/2004/05/04.html
    After that, you can use EM to define the connection pool and data-sources.

  • How to use two different database Drivers in one application ????

    I want to select datas in a result set of a query on a ms access database table and insert these into a mysql table of a mysql database in one application.
    Now my problem is that only on database driver is acceptet in the same application even it`s instanciatet in a completely different class !!!
    Here's the structure of my program:
    class one:
    String database = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=";
    database += filename.trim() + ";DriverID=22;READONLY=false}";
    java.sql.Driver driver0=new sun.jdbc.odbc.JdbcOdbcDriver();
    DriverManager.registerDriver(driver0);
    DriverManager.getDriver(database);
    con2=DriverManager.getConnection(database,"","");
    DatabaseMetaData dmd2;
    dmd2=con2.getMetaData();
    stmt2=con2.createStatement();
    rs2=("SELECT (.........
    until here all values can be selected correctly from ms access
    class2.get_gas_id(fla_gas);
    Now I want to insert these values into mysql.
    By despair i created a second class with another jdbc-method:
    class2:
    public class gas_select{
    public static int fla_gas_id;
    public static void get_gas_id(String fla_gas)
    java.sql.Statement stmt3;
    java.sql.Connection con3;
    java.sql.ResultSet rs3;
    FileWriter fout1;
    try
    java.sql.Driver driver1=new org.gjt.mm.mysql.Driver();
    DriverManager.registerDriver(driver1);
    DriverManager.getDriver(config.db_rge_stoffe); ==>
    config.rge_stoffe="jdbc:mysql://192.168.10.101:3306/rge_stoffe?user=<user>";
    con3=DriverManager.getConnection(config.db_rge_stoffe);
    java.sql.DatabaseMetaData dmd3;
    dmd3=con3.getMetaData();
    stmt3=con3.createStatement();
    rs3=stmt3.executeQuery("SELECT (Nr) from tblgaseliste where Gasart like "+"\'"+fla_gas+"\'");
    while(rs3.next())
    fla_gas_id=rs3.getInt("Nr");
    fout1.write(fla_gas_id);
    stmt3.close();
    con3.close();
    fout1.close();
    There's no result and no error message. Idon't know what to do !
    Has anyone an idea ???
    Edited by: goberger on Mar 27, 2008 3:35 PM

    Hi!
    If I understand your problem correctly, you can create connections to as many databases as you want in one class. In one of my programs I have connection to 3 separate databases, but here is an example:
    Connection mysql_con = DriverManager.getConnection("jdbc:mysql://localhost:3306/dbmysql", "root", "12345");
    Connection pg_con    = DriverManager.getConnection("jdbc:postgresql://127.0.0.1:5433/dbpgsql", "postgres", "12345");Then from mysql_con and pg_con create PreparedStatement or Statement then load selections into ResultSet and then use getString() to get a basic String type result that you want and so update table from each database.
    HTH
    Victor.
    BTW Here I use port 5433 for PostgreSQL connection because I SSH tunnel it from 5432 to 5433
    Edited by: vic_sk on Mar 27, 2008 4:23 PM

  • What are the openoffice database drivers to establish JDBC? how to code?

    I want to use open office database .Please help me how to code inorder to link that open office database with java using jsps.Please tell me.
    Edited by: tamminenih on Mar 31, 2009 6:36 AM

    You can find information on how to connect here http://dba.openoffice.org/FAQ/specific.html.
    Apparently, it is simply mySQL. There is a lot of documentation on the web on how to establish a mySQL JDBC connection. You will need the mySQL connector JAR for the JDBC classes, which can be downloaded from mySQL.
    To stitch together a JSP all the way to the back end, you will likely have to do this yourself. There are dozens of tutorials and examples, even cookbooks for how to do so.
    - Saish

  • Missing Database Drivers

    I just jumped through the myriad of hoops required to install
    ColdFusion MX7 on a Intel Mac OS 10.4. I am running CFMX 7 on a
    multiserver J2EE configuration with JRun4 on Apache 1.3.33.
    Cold Fusion is otherwise running correctly, but when I
    attempt to add a Datasource, I find that the Microsoft Access and
    Microsoft Access with Unicode drivers are missing. I believe that
    in my configuration, these drivers should be loaded from:
    JRun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/macromedia_drivers.jar
    This problem has been duplicated on another Mac with similar
    configuration. Any idea how I can get the MS Access drivers to
    load?

    Hi Henry,
    Thank you for your response.
    I have attached screenshots below illustrating my issue. As you can see, the only drivers it shows available is JDBC. This is the case when either 'Local Middleware' or 'Server Middleware' is selected.
    Kind regards
    Gary

  • Unable to load database information

    Hello All,
    I am facing an issue while scheduling a crystal report from CMC or Infoview. When I schedule the report It throws an error saying "Unable to Load Database information". The report's data source connection is oracle database. 
    I have provided the database credentials,format and destination in CMC/Infoview. The BOE environment is as follows:
    OS: Windows 2008 server 64 bit
    BOE: Business Objects 3.1sp3, Crystal reports 2008 sp3
    Oracle Client: oracle 11g 32 bit client
    When I change the connection from oracle server to ODBC connection the report works fine. Is there any steps I am missing or is there database drivers connectivity issue because BOE and oracle are 32 bit client and OS is 64 bit client.
    All the suggestion/answers are appreciated.
    Thanks in advance...

    First thought is that the application cannot access the DSN or database driver that the report was designed on, this could be permissions.
    I tried to ping my database and was unable to find the host.  I was under the assumption it was using TNSNames which is able to resolve. 
    How can I validate the permissions?
    As I said I'm a little lost here.  Apologies if I ask stupid questions.

  • How to determine the database driver a report uses?

    Hello experts.  I'm using Crystal Report XI R2 and C# (.net 4.0 runtime).
    For a given report, I'd like programmatically determine what database driver(s) a report and it's sub-reports use.  The nice thing is that I don't want to change it.
    When I refer to database drivers I'm talking about the choices one gets when starting a new report in the Crystal UI.  Something like the following:
    Access/Excel (DAO)
    ADO.NET (XML)
    Database Files
    ODBC (RDO)
    OLE DB (ADO)
    I've looked into the developers help file that came with Crystal XI R2, crsdk_net_doc.chm, and can't find any references that would help.  Maybe it's what I'm searching on.
    My goal is for a given directory produce a list of rpt files that use OLE DB and a MS-SQL Server provider.
    Thanks for looking at my question, any assistance is appreciated.
    Mike

    Also note since you are using 4.0 framework you must also be using VS 2010.
    CR for VS 2010 is the only version supported with 4.0 framework.
    See this page to download it: http://www.sdn.sap.com/irj/boc/crystalreports-dotnet
    Or go back to VS 2008.
    Code would look something like this:
         public class frmMain : System.Windows.Forms.Form
            CrystalDecisions.CrystalReports.Engine.ReportDocument rpt = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
            CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument rptClientDoc;
    New subrepoutine...
                ISCDReportClientDocument rcd;
                rcd = rptClientDoc;
                CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo oldConninfo;
                CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo newConnInfo = new CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo();
                CrystalDecisions.ReportAppServer.DataDefModel.Table oldTbl;
                CrystalDecisions.ReportAppServer.DataDefModel.CommandTable newTbl = new CommandTable();
                oldTbl = (CrystalDecisions.ReportAppServer.DataDefModel.Table)rcd.Database.Tables[0];
                oldConninfo = oldTbl.ConnectionInfo.Clone(true);
    Thank you
    Don

  • 64-bit ColdFusion 9 ODBC drivers confusion? (architecture mismatch)

    Hi all - I'm having problems setting up ColdFusion ODBC sources in a pure 64-bit environment. Server specs:
    Windows 2008 R2 (64-bit)
    ColdFusion 9.01 (251028) Enterprise, 64-bit
    I have 64-bit ODBC drivers for all of my database sources:
    64-bit SQL Server (bundled with Windows 2008 R2)
    64-bit MS Access 2010 (with 64-bit Access ODBC driver from Office 2010 64-bit install)
    64-bit ODBC drivers for Sybase SQL Anywhere 11 (from SyBase)
    Using the (64-bit) ODBC Administrator, I can create system DSNs and they test out perfectly. (From my test Access database, I can use these DSNs to pull data from SQL Server and from SQL Anywhere.) Since this is working, I'm pretty confident that my drivers are all 64-bit and that everything is happy.
    Now for ColdFusion...
    When I try to create a new data source in the ColdFusion Administrator and I use, the "ODBC Socket" option, I am presented with a drop-down list of my 64-bit ODBC system DSNs (good!), but whenever I select one and save, I invariably get an "architecture mismatch" error like below:
    Connection verification failed for data source: MSSQLtestDatabase
    java.sql.SQLException: [Macromedia][SequeLink JDBC Driver][ODBC  Socket]internal error: The specified DSN contains an architecture mismatch  between the Driver and Application
    The root cause was that:  java.sql.SQLException: [Macromedia][SequeLink JDBC Driver][ODBC Socket]internal  error: The specified DSN contains an architecture mismatch between the Driver  and Application
    I am well aware that "architecture mismatch" errors mean that you're trying to mix 32-bit drivers with a 64-bit application (or vice-versa), but I'm pretty sure that everything in my environment is 64-bit.
    As a further test, I created a few 32-bit ODBC system DSNs and the ColdFusion Administrator does not present them as options in the drop-down list of ODBC DSNs (good!). So, it seems like the Administrator is smart enough to show only the 64-bit DSNs, but whenever you try to connect to one, it gets confused and kicks up an "architecture mismatch" error.
    So is there any obvious configuration error here? Is there a 32-bit subcomponent to ColdFusion (JDBC, etc.) that's confusing things? (I ran the ColdFusion_9_WWE_win64.exe setup downloaded from Adobe's site.) Is 64-bit ColdFusion ready for prime time? Any suggestions would be greatly appreciated. Thanks, Joe

    OK, just did a little Googling for you about this, Josie (and others). There seem to be a few alternative solutions, each with pros and cons.
    The easiest, though, may be to simply use the 32-bit (instead of default 64bit) ODBC control panel, and then again use the MS Access driver in the CF Admin (not the ODBC socket one) to point to that. This is discussed here:
    http://www.cfexecute.com/post/access-dsns-in-64bit-coldfusion
    There's also a little more that may help at the bottom of this:
    http://www.zidsoft.com/x64.html
    MS also covers the topic here:
    http://msdn.microsoft.com/en-us/library/ms712362%28VS.85%29.aspx
    Other CF-specific solutions include:
    - run CF instead in 32-bit mode (even on the 64-bit machine). See discussion at http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:60467
    - if you have 2 boxes available, you could run CF in 32-bit mode on one box (just for providing access to the 32-bit Access driver), then "proxy" the DSN setup from the 64-bit CF machine to access the DSN on the 32-bit machine (See http://www.coldfusionmuse.com/index.cfm/2009/4/7/MS.Access.Proxy)
    - get an alternative jdbc driver for Access (HXTT), mentioned in the threads above
    - did you happen to try the "microsoft access with Unicode" driver option in the CFAdmin? That is quite different from the one that is not "with Unicode", so worth a try if nothing else works for you.
    Let us know if any of these suit you.
    Also, I appreciate the annoyance of those who would think this should "just work" without workarounds. I think I have clarification there.
    First, the CF9 System Requirements page is unclear on this. While its systems support matrix lists 32 and 64 but windows (among others), those don't list what DBs are supported on each. Instead, there's a database support matrix at the bottom, which does indicate that Access is supported, but it doesn't break it down per OS, let alone bit-level of each OS.
    But I just found a clarificaiton in a devnet article (by an Adobe engineer) that does seem to put the nail in the coffin:
    "Most of the functionality and features of ColdFusion run just fine on 64-bit platforms, however, certain features like ColdFusion COM interoperability, ColdFusion Delphi interoperability, and Microsoft Access database connectivity do not work on a ColdFusion 64-bit platform. A few other features, such as ColdFusion .NET integration services and database drivers currently run in 32-bit mode." (http://www.adobe.com/devnet/coldfusion/articles/64_bit_print.html)
    I think most haven't noticed this or made much of it simply because Access has been eschewed by so many for so long.
    /charlie
    Providing CF troubleshooting services at carehart.org/consulting
    [email protected]

  • Dynamic lookup of all DB drivers loaded in the system

    Hi everyone
    Actually I want to know that whether it is possible to include in my program, the functionality that allows the dynamic lookup of all the DB drivers in the system.
    I want to list the names of the Database drivers that have been loaded in the system.
    waiting 4 ur reply:)

    I am mailing u the code which I have written, it compiles without any error but does not give the desired output. it does not display even the name of the single driver although I have three loaded drivers in my system.
    By system I mean that in my PC I have previously loaded three drivers by going to the Administrative tools\ODBC Data Sources. I want my program to pick the names of those drivers that have been loaded some time back.
    So,instead of loading those drivers again in my program, I want the program to pick the names of those loaded drivers.
    the code is shown below:
    try
         Enumeration enumm=DriverManager.getDrivers();
         while(enumm.hasMoreElements())
         System.out.println(enumm.nextElement().toString());
    catch(Exception e)
         System.out.println("Error");
    }

  • URGENT!!!!!!!! Tomcat 5.0 does not connect to the database !!!!!!

    We had an already existing system on tomcat 4.1.18. Since migrating to Tomcat 5.0, we are facing lots of problem while trying to connect to the database. The database in SQL Server 2000.
    The first time i try to connect (after restarting tomcat service) the system is able to connect to the database but after sometime it again stops connecting.
    The beans on our system are able to connect to the database without any problem but when we try using the same via http, it doesnt connect. The classpath is set properly. Also the database drivers are also the latest ones and in the proper place. We have placed them in the common/lib folder. We have checked that normal jsp pages which are not connecting to the database are working fine.
    Please HELP!!!!!!!!!!!
    Thanks in advance

    well.....Tomcat is not a database connecting engines.....U would need to check your db connection codes to check if you have missed anything.....so the first question will be
    1. How do u connect to the DB
    2. Which type of JDBC drivers are u using.
    Finaly, tomcat is not at fault...its the fault of you configuration
    Cheers,
    Manjun ath

  • SBO Ent XI 3.1 SP3 repository database access error

    Dear Experts,
    We are installing XI SP3 and using oracle 10g for repository database, we've installed 10.2.0.4 oracle db on windows 2008,
    tnsping is working, but we are getting following error ;
    Database access error. Reason Loading shared object failed. First tried to load library oci and failed because of error: [%1 is not a valid Win32 application.
    ]. Second tried to load library oci.dll and failed because of error: [%1 is not a valid Win32 application.
    Problems installing Xi 3.1 sp3 with Oracle DB
    Same problem solve via using 32bit oracle client, how can i instalee 32 bit oracle client, because oracle path's using ths insttalion directory on same server,
    Could you please wirte the steps for how to install oracle client for boe on the same server via 64 bit oracle home
    Best Regards

    BusinessObjects is not a 64-bit application.  It is a 32-bit application that can be run on a 64-bit server.  My experience has been that because it is a 32-bit application, it will not work with 64-bit database drivers.  For example, we have to set up 32-bit ODBC connections in order to connect to MS SQL Server even though the server where BOE is installed is a 64-bit server.
    -Dell

  • Reading content to insert into a database for file content searches

    I have a new challenge that has been brought to me.
    There is and existing application that has files being inserted into the database and the customer is having great difficulty in being able to have a search capability against those files. I was thinking that I could do a secondary lookup before the file is actually uploaded and there would be use of the cffile to read the file then insert that data from the read and insert that data into a column of that database the equiled that record. The most important part of this is that the file's content is read from cffile and inserted into a column that actually get's that data into the RBDMS system that will allow for a full text search that would point to that system.
    Any other ideas of how to insert document content into a data record other than using the cffile tag would be most appreciated.
    Thanks in advance.
    Gene

    Most, if not all, database management systems have their own features to read text data from files.  You may prefer that functionality over piping the data through ColdFusion and the database drivers.
    <cffile...> can "read" .doc and .pdf file as in it can read the file from the file system as the binary data they are, but that does not extract the text from the content.  You can do some stuff with CFML to read the text in a pdf file with the <cfpdf...> and related tags and functions.  I'm not aware of similar CFML features that work with doc files, but I know of Java tools that do such as POI.  These are usually fairly straight forward to tap into with ColdFusion.

  • Any way to insert into a database clob other than streaming chars ?

    I have a jsp with a textarea object which I am inserting into an Oracle clob.
    I am using the thin driver.
    I have a problem in that if it is quite large (say over 2K) it falls over with "connection reset by peer" I think this may be because you aren't supposed to use this method with the thin driver, but I don't want to use OCI.
    So is there any other way to insert my text into the database without having to explicitly select the row first for update as this is essentially a new insert so doing it like this I would have to first of all insert the other columns then reselect the row for update of the clob.
    Thanks.

    Most, if not all, database management systems have their own features to read text data from files.  You may prefer that functionality over piping the data through ColdFusion and the database drivers.
    <cffile...> can "read" .doc and .pdf file as in it can read the file from the file system as the binary data they are, but that does not extract the text from the content.  You can do some stuff with CFML to read the text in a pdf file with the <cfpdf...> and related tags and functions.  I'm not aware of similar CFML features that work with doc files, but I know of Java tools that do such as POI.  These are usually fairly straight forward to tap into with ColdFusion.

Maybe you are looking for

  • Problem of uploading data in Data Warehouse

    I am using Oracle9i Warehouse Builder on Windows 2000 and i just started working in it. I am facing problem in uploading data from source schema to Target schema      I) Created Source Moulde -- Link to One schema from where i have get data      2) C

  • Add contacts to address group and they disappear

    I have a Macbook Pro with the old operating system.  I am attempting to put together email groups and am having trouble.  When I am in an open email and highlighting the name, I click on the down arrow and add sender to address book.  The name does n

  • Dbc file not generating

    Hi all, Oracle application log in screen is not displaying .i checked in backend . after that i did not change any thing. After that i have run autoconfig.after that i have seen again DBC file is not generating when i was running autoconfig?

  • How can we  change '#' to '0' in an ouput

    hi experts , how can we  change '#' to '0' in an ouput

  • Unable to map drive to 4100 from Windows

    Hi, I have a 4100 and I am unable to CIFS map a drive to my NAS from Windows. I can do it fine from a Mac, but my Windows & PC's and 2008 server are unable to map a drive to the Share using the same credentials. Am I missing something? Thanks in adva