ODBC Vs JDBC

What is the difference between ODBC and JDBC

For ODBC, there's actually a couple of extra layers
- The application making ODBC calls calls the ODBC Driver Manager
- The ODBC Driver Manager calls the Oracle ODBC driver
- The Oracle ODBC driver calls the OCI API
- The Oracle Call Interface (OCI) makes SQL*Net calls
- In general, SQL*Net will then make TCP/IP calls (you can configure a few options here, though I've never done anything other than TCP/IP).
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC

Similar Messages

  • Which is better ODBC or JDBC

    dear all,
    after upgrading most of our servers from cf5 to CFMX7.1, it
    is now time to start working on some performance strategies for the
    upgrades. currently we went with the ODBC connector in CFMX for
    testing purposes. one of our server will occasionally lose the odbc
    and we have to reboot the server to get it rolling again.
    this leads up to the question of which is better for
    performace (speed, less process inducive) and realiability. ODBC or
    JDBC with CFMX7.1
    thanx
    sean

    I would concur ... as CF is java based, it will run better
    with JDBC rather than having to interpret a bridge between the 2.
    There are a couple of very remote instances where ODBC may be
    required, but you will have much better results with JDBC.

  • ODBC or JDBC on Linux/Oracle

    http://www.openlinksw.com/
    Is where you will find connectivity for LINUX and Oracle.
    I did some research on the connectivity of LINUX and Oracle
    after having switched from a Server Farm hosting IIS and then
    going to linux.
    The basic info I found was in about 20 links.
    Some areas of interest might be:
    http://www.linuxworld.com/ this is by INFOWORLD MAG but has the
    best source and links for commercial Linux.
    In addition:
    http://users.ids.net/~bjepson/freeODBC/
    The free ODBC might be a place to gain the functionality to get
    the job done if you have the ability to code at that layer.
    The reason WHY odbc is not the preferd method of accessing
    Oracle is that OLE DB is thunked through the JET DATABASE ENGINE
    or subsystem in WIN9.x and WINNT at the client side.
    http://support.microsoft.com/support/kb/articles/q139/7/25.asp
    This article goes into some detail how OLE DB, ODBC, ADO, RDO,
    and the rest of the MSFT data is handled and by what files.
    ORACLE uses "OLE OBJECTS" to get the data and passes the JET
    DBENGINE/Sub-system.
    So for a Server on Linux and a host on Wintel you might look at
    the JDBC or universal Model of data connectivity.
    Oddly this was just something I looked into prior to deciding to
    get into Oracle8i....
    If you get any additional info.. or other "workable" approaches..
    Please follow up I would be interested...
    null

    Have you ever heard of [url http://www.google.com]google?
    By searching for [url http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=linux+mysql+jdbc+driver]linux mysql jdbc driver, and following the first link, it took me about two minuts to find the [url http://www.mysql.com/downloads/api-jdbc-stable.html]MySql JDBC driver download page.

  • Odbc or jdbc?

    Is it better to use one over the other? Will ODBC allow me to pull data more quickly over the network? Right now I'm using JDBC and the fetch size is set to 10,000 and batch is 100 but the network utilization is about 4% of total bandwidth. It looks like this is because of the fetch size? If I switch to ODBC will I utilize more of the bandwidth available then?
    I have a front end application (Tibco Spotfire) which connects to Oracle Exadata via JDBC right now. The network utilization on the Exadata and application size is very low right now but I do pull a lot of data to the application and it takes quite sometime (20-30min) to grab all the rows AFTER the query is done processing. Trying to see if I can speed up the data transfer from Exadata to the application.

    sybrand_b wrote:
    sqlnet (which is used both by JDBC and ODBC) transmits data in packets.
    When your array is bigger than a packet, sqlnet will fragment your array automatically.
    For sure an array of 10000 is WAY too big.
    The number of elements times the number of bytes in a record should not exceed 2048 (default SDU)
    or 32767 (max SDU).
    Also SDU should be a multiple of the NIC's MTU.
    Sybrand Bakker
    Senior Oracle DBA
    The array size can have a huge effect on performance, you probably need to set it as high as you can for this sort of situation. Here is an example:
    orcla>
    orcla> set autot trace stat
    orcla> set timing on
    orcla> set arraysize 5000
    orcla> select * from all_objects;
    73050 rows selected.
    Elapsed: 00:00:00.65
    Statistics
            107  recursive calls
              0  db block gets
          17668  consistent gets
              0  physical reads
              0  redo size
        2910414  bytes sent via SQL*Net to client
            677  bytes received via SQL*Net from client
             16  SQL*Net roundtrips to/from client
            779  sorts (memory)
              0  sorts (disk)
          73050  rows processed
    orcla> set arraysize 1
    orcla> select * from all_objects;
    73050 rows selected.
    Elapsed: 00:00:02.51
    Statistics
            107  recursive calls
              0  db block gets
          59624  consistent gets
              0  physical reads
              0  redo size
        9591744  bytes sent via SQL*Net to client
         402287  bytes received via SQL*Net from client
          36526  SQL*Net roundtrips to/from client
            779  sorts (memory)
              0  sorts (disk)
          73050  rows processed
    orcla>

  • CF8. ODBC Vs JDBC Oracle Date. Time portion not returned

    Hi.
    Just upgraded one of our servers to CF8. We are connecting to
    a Oracle 10g R2 database and we have also started using Oracles
    JDBC drivers.
    If I do the following query under ODBC and dump the result.
    Query :
    Select CALL_DATE
    From CALLS
    WHERE CALL_ID=1234
    CALL_DATE
    2007-10-09 19:03:32.0
    Same query under JDBC :
    I get
    CALL_DATE
    2007-10-09 00:00:00.0
    Where's my time part gone???
    I know I can mess about with the SQL to return what I want,
    but we've got loads of old apps that use CF to format the date and
    time so it would be a bit unrealistic to do that! Plus we wouldn't
    be able to work out the time between two dates.
    HELP!
    Ta
    Nick

    I am facing a similiar issue in a different context. When I
    use select xyz_Date from abc table in coldfusion cfquery tag, the
    out put comes as follows:
    CF5 - '05-MON-2007'
    CF8 - '2008-01-27 00:00:00.0'
    Note: The xyz_Date is stored without time stamp in the
    database.
    both running on 10.2.0.3 Oracle version. This is creating
    problem when inserting dates when we only use xyz_date as a value
    to be inserted. It worked fine on CF5 but not on CF8 due to format
    change. Is there a way to set it to behave like CF5.

  • ODBC vs JDBC differences??

    Not sure if this is the right place . . .
    I'm not a DBA, but in general here is my question:
    If I'm calling the same stored procedure with the same data through JDBC and ODBC could there be a difference in results?
    I'm wondering about record level lock detection?? Could it react different between JDBC and ODBC?
    Thanks,
    Mark

    Hi,
    The query sent to Oracle database using JDBC or ODBC will result in same output if they are sent at same time. Query sent at different time will result in different result due to database changes and Oracle read consistency model.
    JDBC or ODBC will not matter.
    Regards

  • Installing ODBC and JDBC drivers

    I have recently downloaded JDBC drivers from the Oracle driver download page.
    How do I install them?

    JDBC drivers aren't generally "installed" in the standard sense. They're just JAR files-- you put them in your CLASSPATH and you're done.
    For ODBC drivers, you need to install the Oracle client, then you can use the Oracle Universal Installer that's part of the client install to install the latest ODBC driver patchset.
    Justin

  • J2ME with ODBC/mySQL/JDBC

    hi all,
    is there anyway to make a connection to a MSAccess file?
    then from there, getting info from it and returning the inputs to the file?
    above queries are for usage on J2ME.
    T.N. J2ME has a language limited to javax.microedition.*
    regards and thanks in advance,
    Nicky

    Have you tried using a JDBC-ODBC bridge driver??i'm a newbie to J2ME,.. and everything else except basic java.
    can u kindly explain and guide me thru it?
    one more thing is, can it work with J2ME??
    Nicky.

  • Jdbc-odbc java error using SQL adapter in o9iASWireless

    I've used the SQL adapter in the previous releases of wireless without any problem. Most of the time I would use it for all the wireless PLSQL applications in the Oracle database and it works very OK.
    I have also used it to connect with a SQLserver database to try out some queries. In this case I would use the standard JDBC/ODBC bridge driver from SUN.
    In release 2.0 I can't connect with this SQL Server database anymore.
    I've added a system DSN to the ODBC configuration of the Windows 2000 server. This will give access to a internal SQL server database via TCP. A password username is required.
    When I try to add a SQLservice in the service designer using the SQL adapter I will use the following parameters:
    JDBC connect string: JDBC:ODBC:<DSNNAME>
    JDBC driver: sun.jdbc.odbc.JdbcOdbcDriver
    un: <username>
    pw: password>
    Query (without ';'): select count(*) from <tablename>
    Minimum number of Database connections in the pool 5
    Maximum number of Database connections in the pool 100
    Increment size for the connection pool 1
    Idle Timeout (in minutes) 30
    Now I get the following error:
    2/8/03 2:27:59 PM ERROR : [ApplicationServerThread] webtool.common.PtgErrorLog.outputError(PtgErrorLog.java:28)
    oracle.cabo.servlet.event.PageEventException: java.lang.ClassCastException: sun.jdbc.odbc.JdbcOdbcConnection,page=Page[name=designer/MasterServiceInitCreate],event=PageEvent[name=goto,source=wizardNav,fromPage=designer/MasterServiceInitCreate,JDBC_DRIVER=sun.jdbc.odbc.JdbcOdbcDriver,JDBC_CONNECT_STRING=jdbc:odbc:<DSNNAME>,CONNPOOL_INC=1,CONNPOOL_MIN=5,CONNPOOL_IDLETIMEOUT=30,USERNAME=<USERNAME>,value=4,SQLTYPE=QUERY,CONNPOOL_MAX=100,STATEMENT=select count(*) from bedrijven,PASSWORD=<PASSWORD>],rootCause=oracle.panama.adapter.AdapterException: java.lang.ClassCastException: sun.jdbc.odbc.JdbcOdbcConnection
    at oracle.cabo.servlet.event.BasePageFlowEngine.handleRequest(Unknown Source)
    at oracle.cabo.servlet.AbstractPageBroker.handleRequest(Unknown Source)
    at oracle.panama.webtool.common.PtgPageBroker.handleRequest(PtgPageBroker.java:152)
    at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source)
    at oracle.cabo.servlet.BajaServlet.doGet(Unknown Source)
    at oracle.cabo.servlet.BajaServlet.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:211)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:633)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:235)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:695)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:248)
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:62)
    I got the error 'java.lang.ClassCastException: sun.jdbc.odbc.JdbcOdbcConnection' in my log and tried to find out the meaning of this error at java.sun.com. It's stil not clear what exactly causes the error but it looks like a data formatting error.
    java.lang.ClassCastException
    (Thrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance. For example, the following code generates a ClassCastException:
    Object x = new Integer(0);
    System.out.println((String)x); )
    Is it just a data formatting problem or has it something to do with the JDBC/ODBC driver version of the JDK from the appliction server release 2.0.
    I remember that I was always able to connect to the SQL server database with previous releases also with a count query. I've also used JDK 1.3.1 with o9iAS release 1.0.2.1.
    Any suggestions for a solution?
    Thanks in advance for your help.

    try this link:
    http://community.eapps.com/showthread.php?p=8

  • 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

  • IBM U2 Universe JDBC or ODBC, Can't connect

    Hi, I can't find a definite answer on the forums, so I will
    post this here. I'm trying to set up a JDBC or ODBC connection to a
    Universe 10.0 database.
    I've been able to setup both the ODBC and JDBC drivers in
    other programs, but coldfusion still isn't working properly.
    The ODBC connection will verify, but when you try to do
    anything, you get the error "invalid argument value" everytime,
    making it useless.
    The JDBC connection has offered more success, but is still
    useless. SELECT statements work 100% and don't give a problem.
    UPDATE, INSERT, or DELETE statements will work and update the
    database, but the .cfm page loads constantly until it hits the
    timeout period and throws an error. It's like the server is not
    responding back from anything but SELECT statements.
    If there is any updates on the status of these problems,
    please let me know, because I can't find any solid solutions on the
    net.

    No, the JdbcOdbc bridge appears to be calling it.
    I'll look for an option; where on earth do I find
    documentation on it?Notice the part where I said noted that it might be obscure or not documented at all?
    The most likely place is to find the source code for the ODBC driver and hope it has documentation. It might also be documented in the source code itself.
    >
    Is it allowed to hack the JdbcOdbc code? I was under
    the impression that accepting the Sun licence limited
    that option. The driver comes with Jdk 1.4. :-$
    Yes, as long as you do not distribute it.

  • JDBC/ODBC Connections using 9iDS?

    I've just installed 9iDS and I noticed that there is no OCA installed. Has anyone with 9iDS tried using JDBC/ODBC to connect to a non-Oracle database?

    Correct we are no longer shipping the OCA - You should be looking at the Oracle gateways as a way of providing non-oracle access for Forms and Reports.
    http://technet.oracle.com/products/gateways/content.html
    You can't plug ODBC or JDBC into Forms as an alternative to SQL*Net (unless you want to do a lot of 3gl coding and Transactional triggers)

  • Access replicated DB environment via SQL/sqlite/ODBC/JDBC interfaces

    I'm wondering whether replicated DB environments can be also accessd via the SQL (sqlite, ODBC and JDBC) interfaces?
    How to deal with the DB_ENV->rep...() methods in this case?
    Is it actually necessary to share my DB_ENV poiner (which I setup for replication using the rep...() APIs as needed) somehow with the sqlite lib in order that DB operations issued via the sqlite interfaces are replicated too?
    Or can the sqlite lib still partitipate in replication even if it uses its own private DB_ENV instance (which is not initialized in a special way for replication with the rep...() APIs)?

    In the recently released Berkeley DB 11.2.5.1, we offer a new command line utility called db_replicate. It is run in its own process and adds replication capabilities to an existing Transactional Data Store (TDS) application. The existing TDS application can be an application implemented with the BDB SQL API.
    The db_replicate utility's process performs all replication functions. Therefore, you don't need to make the DB_ENV->rep* calls elsewhere in your application or worry about sharing an environment handle. db_replicate will replicate the results of the BDB SQL API operations that your application performs in its own processes. If you are interested in learning more about db_replicate, you can read the new section "Running Replication using the db_replicate Utility" in the Replication chapter of the Reference Guide.
    In our prior release 11.2.5.0, we did not yet offer any support for the use of replication with an application using the BDB SQL API.
    Paula Bingham
    Oracle

  • Program to list JDBC drivers

    Hi everyone,
    I use the following code to list JDBC drivers on my system.
    private static void listDrivers() {
    //Get all the JDBC drivers
    Enumeration<Driver> driverList = DriverManager.getDrivers();
    //print out all the drivers using a loop
    while (driverList.hasMoreElements()) {
    Driver jdbcDriver = (Driver)driverList.nextElement();
    System.out.println("JDBC Driver: " + jdbcDriver);
    It lists JDBC-ODBC bridge:
    JDBC Driver: sun.jdbc.odbc.JdbcOdbcDriver@19efb05
    After I installed Microsoft SQL Server JDBC driver. I ran the above program again. Expecting it would return this new driver as well. But, the output is still the same.
    Why??? What did I do wrong? How do I get the program to list all the JDBC drivers on my system?
    Thanks in advance for your help!
    Eric

    jwenting wrote:
    Where you went wrong was in assuming that just having a jar somewhere on your computer will automatically put it on the classpath of your little application.
    Or maybe you went wrong in assuming that jdbc magically detects any jar anywhere on your computer that has a driver in it without being told where to look for that jar.Well, there's that. But, there is also the fact,OP, that the API docs says that the method getDrivers returns all currently loaded Drivers. In other words, OP, even if the jar is on your Classpath, getDrivers won't list it until you've done Class.forName("DriverClass") or DriverManager.registerDriver("DriverClass").
    IOW, OP, read the API docs.
    Edit: And, no, there is no Class/method (AFAIK) that will search your classpath for any/all possible Driver classes.

  • Accessing ODBC Database through CF and Dreamweaver

    Ok, so I have a db connection set up under the ODBC administrator.  It is using Oracle 8 or 9 (can't remember) but it is what I use so that I can connect to it through my company's Accounting Software.  I want to query it using Dreamweaver and make a CF page of the query.
    Here's what I've done:
    In CF Admin, I created the datasource, chose ODBC, chose the Server name and username and pw and it connected successfully.
    Went into Dreamweaver, added the datasource and Tested Connection--it connected successfully.  I can even expand the Tables tree and see the tables.
    Now, when I create a query in a new CF document, I get an error when the query runs (like if I'm editing the Record Set and I click Test, it gives me an error).
    Here is the error:
    MM_ERROR:-1:[Macromedia][SequeLink JDBC Driver][ODBC Socket][Oracle][ODBC][Ora]ORA-00942: table or view does not exist
          java.sql.SQLException: [Macromedia][SequeLink JDBC Driver][ODBC Socket][Oracle][ODBC][Ora]ORA-00942: table or view does not exist
          at macromedia.sequelink.ssp.Diagnostic.toSQLException(Unknown Source)
          at macromedia.sequelink.ssp.Chain.cnvDiagnostics(Unknown Source)
          at macromedia.sequelink.ssp.Chain.decodeDiagnostic(Unknown Source)
          at macromedia.sequelink.ssp.Chain.decodeBody(Unknown Source)
          at macromedia.sequelink.ssp.Chain.decode(Unknown Source)
          at macromedia.sequelink.ssp.Chain.send(Unknown Source)
          at macromedia.sequelink.ctxt.stmt.StatementContext.execDirect(Unknown Source)
          at macromedia.jdbc.sequelink.SequeLinkImplStatement.execute(Unknown Source)
          at macromedia.jdbc.slbase.BaseStatement.commonExecute(Unknown Source)
          at macromedia.jdbc.slbase.BaseStatement.executeQueryInternal(Unknown Source)
          at macromedia.jdbc.slbase.BaseStatement.executeQuery(Unknown Source)
          at coldfusion.server.j2ee.sql.JRunStatement.executeQuery(JRunStatement.java:132)
          at coldfusion.rds.DbFuncsServlet$DbSqlStatementOperator.processCmd(DbFuncsServlet.java:453)
          at coldfusion.rds.DbFuncsServlet.processCmd(DbFuncsServlet.java:77)
          at coldfusion.rds.RdsServlet.doPost(RdsServlet.java:80)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
          at coldfusion.rds.RdsFrontEndServlet.doPost(RdsFrontEndServlet.java:104)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
          at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
          at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
          at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
          at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
          at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
          at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
          at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
          at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
          at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
          at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    Here is the CFM page code:
    <cfquery name="qGetTB" datasource="khamp">
    SELECT ALL
    KHAMELEON.GL_DETAIL.BATCH_NO,
    KHAMELEON.GL_DETAIL.ACCOUNT,
    KHAMELEON.GL_DETAIL.TRX_DES1,
    KHAMELEON.GL_DETAIL.AMOUNT,
    KHAMELEON.GL_DETAIL.BK2_AMT,
    KHAMELEON.GL_ENTITY_MASTER.ENTITY,
    KHAMELEON.GL_DETAIL.SOURCE,
    KHAMELEON.GL_DETAIL.FYEAR,
    KHAMELEON.GL_DETAIL.PERIOD,
    KHAMELEON.GL_DETAIL.TRX_DES2,
    KHAMELEON.GL_DETAIL.ACCTG_DATE,
    KHAMELEON.GL_ACCOUNT.DES1
    FROM KHAMELEON.GL_DETAIL,
    KHAMELEON.GL_ACCOUNT,
    KHAMELEON.GL_ENTITY_MASTER
    WHERE (KHAMELEON.GL_DETAIL.FYEAR='2009' AND KHAMELEON.GL_DETAIL.PERIOD BETWEEN '01' AND '06')
    AND KHAMELEON.GL_DETAIL.ACCOUNT='60700'
    AND ((KHAMELEON.GL_ACCOUNT.ACCOUNT=KHAMELEON.GL_DETAIL.ACCOUNT)
    AND (KHAMELEON.GL_ENTITY_MASTER.ENTITY=KHAMELEON.GL_DETAIL.SUB_ENTITY))
    ORDER BY KHAMELEON.GL_DETAIL.ACCOUNT ASC,
    KHAMELEON.GL_DETAIL.TRX_DES1 ASC
    </cfquery>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Ventyx Financial Reports</title>
    </head>
    <body>
    <table border="1">
      <tr>
        <td>ACCOUNT</td>
        <td>DES1</td>
        <td>ENTITY</td>
        <td>AMOUNT</td>
      </tr>
      <cfoutput query="qGetTB">
        <tr>
          <td>#qGetTB.KHAMELEON.GL_DETAIL.BATCH_NO#</td>
          <td>#qGetTB.KHAMELEON.GL_DETAIL.ACCOUNT#</td>
          <td>#qGetTB.KHAMELEON.GL_DETAIL.TRX_DES1#</td>
          <td>#qGetTB.KHAMELEON.GL_DETAIL.AMOUNT#</td>
        </tr>
      </cfoutput>
    </table>
    </body>
    </html>
    Do you know what is going wrong?  Also, when I edit the recordset, there is a place for username and pw but if I entere it there, it shows up plaintext in the cfm code which doesn't sound like a good idea.  Do I have to enter it there?  Even if I do, I still get the error.

    Yes, if you use the Oracle driver, you can create the Oracle dataconnection directly in ColdFusion by providing it the SID, Server, Port, Username and Password for the oracle database to which you are trying to connect.
    Using this dirver means you don't need to set up any ODBC or Oracle Listner clients on the maching for ColdFusion.  Other software that maybe using those connections is a different matter of course.
    ODBC is a ODBC to JDBC bridge that allows ColdFusion to connect to any ODBC connectors you have set up on the Microsoft ODBC pannel.
    But you do need a function Data Source configured in the ColdFusion administrator, whether it be an Oracle, ODBC, or "Other" JDBC driver.

Maybe you are looking for