Can we design our own JDBC driver?

I am thinking of desigining a JDBC driver which will be working bit like a bridge between the original drivers and users programs. My driver will give user an independence from syntax binding with the Database SQL and PL/SQL language. That is it will support (and convert) any SQL/PLSQL syntax and convert it according to the database user is using. I don't know whether it is possible or not. Please help me to check the feasibility of this.

I don't know if there are drivers that do what you want to do. However, there are a lot of open source drivers out there. If they don't do exactly what you want, by looking at their code you may get a better understanding of what it takes to code a jdbc driver.
Here are some links of other jdbc drivers (googled: open source jdbc)
the db engines provide jdbc drivers, so most all in the first link should have implementations.
http://java-source.net/open-source/database-engines
http://www.manageability.org/blog/stuff/jdbc-proxy-drivers/view
http://java-source.net/open-source/jdbc
I have my own performance tuning/monitoring api called JAMon. Currently it has the ability to track SQL performance, Exceptions and more by adding the following simple line of code to your program. The code below is db independent.
My next release will provide a jdbc proxy driver, so even the following code won't be needed.
import com.jamonapi.proxy.*;
Connection conn=...
Connection monConn=MonProxyFactory.monitor(conn);

Similar Messages

  • Can we create our own loops? Basic question.

    Hi,
    Can we create our own loops in Logic Pro. I see in all the tutorials. They are either taking input from external instruments OR use existing apple loops.
    I have tried FL studio demo to create our own loops. But there is no trial version for Logic Pro. Need your inputs before I purchase it.
    Thank you.
    Anji

    Yes you can!
    It is as simple as selecting a Region (optional trimming recommended) and choose the Export command.
    A Dialog window opens up that lets you enter the metadata
    Apple had its separate "Apple Loop Utility" app (now only available in the developer package) that allowed you to create loops in a standalone app. The built-in loop capability in Logic uses part of that engine.
    Hope that helps
    Edgar Rothermich
    http://DingDingMusic.com/Manuals/
    'I may receive some form of compensation, financial or otherwise, from my recommendation or link.'

  • Can we add our own menu in sap easy access screen

    can we add our own menu in sap easy access screen
    along with the existing menu items...
    ex : can i add the new menu item as help1 on that screen
    regards
       raghu

    go  to transection se43 ...ther e  u can create   ur  own menu list.. and  ur  cusomize transection to that perticular menu list.....
    You can enter the area menu in the command field like any other transaction code, also in menu exits can be filled with a area menu.
    You might play a little with S000 and S001 - when you enter them, the menu tree of easy access changes.
    Do you search for the menu exits to append your area menu into the standard menu tree?
    Message was edited by: kishan negi

  • URGENT!Can I user a THIN jdbc driver to access a CLOB field from oracle 8.0.5 DB?

    URGENT!Can I user a THIN jdbc driver to access a CLOB field from oracle 8.0.5 DB?

    I think you'd need to contact Oracle support to get access to older versions of the driver.
    Since 8.0.5 isn't supported any longer, however, is it possible for you to update your Oracle client to one of the supported releases-- 8.1.7 or 9i?
    Justin

  • How can i call our own programmes injsp

    now
    i am learning j2ee
    so plz help me
    how can i call our own programmes injsp

    Welcome to Apple Support Communities.
    You need an additional unique Apple ID for the second device.  They're free, so create a new Apple ID for the second device, and use it when you want to FaceTime. You don't have to use it for iTunes, App Store purchases, backups, or syncing, just FaceTime.
    More details on Apple ID are found here: https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/
    Message was edited by: kostby

  • How can i use the weblogic jdbc driver for sqlserver?

    hello
    i have downloaded and installed the weblogic on my windows2000 server,then i want to use the weblogic jdbc driver for sqlserver2000 outside of the weblogic,as follow:
    1 add following string to my classpath environment of the wndows2000: E:\bea\wlserver6.1\lib\mssqlserver4v65.jar
    2 then i write a test program as:
    import weblogic.jdbc.mssqlserver4.Driver;
    import java.sql.*;
    public class test{
    public static void main(String argv[]){
    try{ Class.forName("weblogic.jdbc.mssqlserver4.Driver");
    Connection
    conn=DriverManager.getConnection"jdbc:weblogic:mssqlserver4:localhost:1433","sa",""); }catch(Exception e){ System.out.println(e.getMessage()); }
    4 when i execute it,it throw a exception:
    Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/version at weblogic.jdbc.mssqlserver4.TdsStatement.getLicenseStr(TdsStatement.java:2665) at weblogic.jdbc.mssqlserver4.TdsStatement.microsoftLogin(TdsStatement.java:2474) at weblogic.jdbc.mssqlserver4.MicrosoftConnection.beginLogin(MicrosoftConnection.java:42) at weblogic.jdbc.mssqlserver4.TdsConnection.login(TdsConnection.java:57) at weblogic.jdbc.mssqlserver4.MicrosoftConnection.login(MicrosoftConnection.java:53) at weblogic.jdbc.mssqlserver4.BaseConnection.prepareConnection(BaseConnection.java:187) at weblogic.jdbc.mssqlserver4.Driver.newConnection(Driver.java:34) at weblogic.jdbc.mssqlserver4.ConnectDriver.connect(ConnectDriver.java:151) at java.sql.DriverManager.getConnection(DriverManager.java:517) at java.sql.DriverManager.getConnection(DriverManager.java:177) at test.main(test.java:7)
    who can help me?thank you!

    Hi,
    Mail me the jar file as I am using Weblogic 6.1 to my email id [email protected]
    Else tell me the site from where u have downloaded and i will do the same.
    I will test the same and let you know.
    Thanks,
    Seetesh

  • Can we have our own map component in Xcelsius 2008 ?

    Can anyone help me how to use our own MAP in Xcelsius 2008.  
    For an example, i would like to use the map of India duly marked for its states also.
    Thanks in advance.
    BaaRaa.

    Hi,
    You can download the Add-On from this link and use it.
    http://www.reportex.co.uk/xc_maps.html
    Regards,
    Senthil k

  • How can i find the available JDBC driver name?

    hi,
    can anyone tell me how can i find the JDBC driver name in XI

    Hi
    The available JDBC drivers can be viewed in the file found in the following path in ur XI  server
    :\usr\sap\XR3\DVEBMGS00\j2ee\cluster\server0\bin\ext\
    regards
    krishna

  • Can i design my own social media widgets  for Facebook, etc

    I would like to design my own social media icon for my widgets (Facebook, pinterest, etc) Is that possible?

    Hi,
    not exactly in Adobe Muse, but you can create an icon using Photoshop easily, I found a tutorial for you,
    http://tutvid.com/photoshop/create-facebook-twitter-buttons-photoshop-tutorial/
    If you meant something else or I f I missed anything, please let me know.

  • Can oracle 8.1.6SDK JDBC driver talk to Oracle8.0.5 db?

    Hi,
    Can Oracle 8.1.6SDK JDBC drivers (both thin and OCI) talk to
    Oracle database 8.0.5? My web server and database server sit on
    same machine. Can I have oracle 8.1.6 JDBC driver installed in
    same oracle home directory as oracle8.0.5?
    thanks and regards
    null

    Giorgio Malvestiti (guest) wrote:
    : Lai (guest) wrote:
    : : Hi,
    : : Can Oracle 8.1.6SDK JDBC drivers (both thin and OCI) talk to
    : : Oracle database 8.0.5? My web server and database server
    sit
    : on
    : : same machine. Can I have oracle 8.1.6 JDBC driver installed
    : in
    : : same oracle home directory as oracle8.0.5?
    : : thanks and regards
    : From the FAQ page :
    : Which JDBC drivers support which versions of Oracle database?
    : JDBC 8.0.4 drivers can talk to RDBMS 8.0.4 and 7.3.4.
    : JDBC 8.0.5 drivers can talk to RDBMS 8.0.5, 804 and 7.3.4.
    : JDBC 8.0.6 drivers can talk to RDBMS 8.0.6, 8.0.5, 8.0.4 and
    : 7.3.4.
    : JDBC 8.1.5 drivers can talk to RDBMS 8.1.5, 8.0.6, 8.0.5,
    8.0.4
    : and 7.3.4.
    : JDBC 8.1.6 drivers can talk to RDBMS 8.1.6, 8.1.5, 8.0.6,
    8.0.5,
    : 8.0.4 and 7.3.4.
    : regards
    : giorgio
    Bonjourno,
    What is the URL of this FAQ ? I could not find it.
    Does the above assertions also apply to the JDK 1.2 (thin)
    driver of Oracle 8.1.6 ?
    Otherwise, there is no way to use JDK 1.2 with Oracle 7.3.4.
    Thank you,
    Jean-Pierre
    null

  • Can't connect using OCI JDBC driver in OC4J 10.1.3.3 standalone

    Hi all,
    I've recently upgraded my JDev from 10.1.3.2 to 10.1.3.3 and now I'm unable to establish any OCI connections with my local Oracle 10.1.0.4 database. Not even through a connection pool. The strangest thing is that when I test an OCI connection running from JDeveloper it works fine and the JDBC jars and the oci client are exactly the same.
    The error is always the same when I execute a test on a connection pool using the OCI driver:
    WARNING J2EE DS-00001 Exception occurred testing connection. Exception: java.sql.SQLException: Closed Connection.
    If I just change the driver to the THIN one, the same test works. If I take the same URL from the OCI test and use it in a test class and run it inside JDeveloper, it works also.
    I've even downloaded the instant client 10.1.0.5 (which happens to be exactly the same version of the JDBC driver that comes with JDev 10.1.3.3) and tried to use it with no success.
    THIN connections are working just fine. The problem happens only when I try to connect via OCI and this problem was not happening in version 10.1.3.2.
    Any help?

    I found the cause of this problem. It turns out that you must be very careful with the environment variable ORACLE_HOME. On Windows, normally, we don't even set this variable because most applications are able to get it from the system's registry.
    Well, it happened that I've edited the script start_oc4j.bat and, for organization reasons, I set the ORACLE_HOME variable with my JDeveloper's home directory (which is the same as my OC4J standalone's). By doing that, I kind of confused the OCI client. Once I removed the "set ORACLE_HOME=C:\JDev" line from the script, everything worked just fine again.
    So, always remember: avoid setting environment variable ORACLE_HOME when using Windows and, if you must set it, be sure to do it right.
    Regards,
    Eduardo.

  • Where can I get a db2 jdbc driver with connection pool

    hi,all
    I want to look for a free jdbc driver to connect to db2 using with connection pool.
    it isn't present in db2java.zip
    thanks and regards
    [email protected]

    To find JDBC drivers take a look at SUN's overview at http://industry.java.sun.com/products/jdbc/drivers

  • [ExtermlyUrgent]How can we implement our own caching scheme in servlets???

    Hi all,
    anyone, give me any idea about implementing our own cahing sechme in servelts. Please guide me with your knowledge i also need a running sample source code to understand this concept. It is extrememly urgent please help me .
    Regards.

    try to use
    http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/cache/
    or
    http://jakarta.apache.org/turbine/jcs/
    if u are looking for a simple caching.. do it programatically.
    regards,
    Arun
    http://www.javageekz.com/

  • Can we get our own defined Goods Receipt doc type in the [OMBT] tranx?

    Hi Friends,
    We copied and defined new goods receipt document types for our internal purpose to define new number ranges for each document type?
    Actually we have two types of Goods receipts which are identified by different number ranges.
    So we defined two Goods receipts document types which are not appearing in the OMBT transaction code to assign new number ranges.Is there any settings to do this to appear in this transaction.
    Can we have different number ranges for these two different goods receipts?
    Thanks in advance...
    Regards.....KB

    Hi
    In whcih transaction were you able to create a new GR document type.
    I am not sure what doucment type you have created.
    Document types similar to WE , WA, WI cannot be created.( Not accounting document types)
    These document types are attached to the Transaction such as MIGO, MB1A, MB1B, MB1C.
    You cannot have two different number ranges based on document types in Goods receipt transactions.
    Thanks & Regards
    Kishore

  • Where can i download oracle oci jdbc driver 1.2?

    http://otn.oracle.com/software/tech/java/sqlj_jdbc/content.html
    some error in this page. several days.

    Please be more specific about the file(s) you are having trouble with.
    Regards,
    OTN

Maybe you are looking for

  • Aggregates on GL Line Item Cube

    Hi Gurus, I am creating a couple of queries on a GL line Item custom cube that I created and feeding it from the GL line item ODS and it is taking a while for 2 of the queries to run, probably because almost all the columns are calculated. One of the

  • How to embed fonts properly - Miroslav.ttf still not displayed...

    Hello, although the font is embedded, Miroslav.ttf is not showing medieval (woodcarving) cyrillic characters on other pc's then my own. What am I doing wrong?

  • DVD to WMV

    How do I convert my DVD to WMV?

  • Will there be an iPod Touch 5G?

    I want an ipod touch 4g as soon as possible but im afraid once i get it the ipod touch 5g will be out and i just felt like i wasted my money. So i'm wondering if when the ipod touch 5g will be out if it will be in sep 2011 or 2012

  • Optimisation with placeholders?

    I have high res images in image frames with drop shadow and wish to optimise with 1024 images. I selected the high res image and then made it a placeholder. I can now drag across a low res image to replace it. I am however wondering if this deletes t