How to find out which type of the driver is used in our application?

Hi all,
can anyone tell me how to find out which type of the driver is used in our application?
Thanks in advance,
Phoeniox

Hi,
Check out this...
Class.forName("com.mysql.jdbc.Driver"); //if u r using MySql
List drivers = Collections.list(DriverManager.getDrivers());
               for(int i=0;i<drivers.size();i++)
                    Driver driver = (Driver)drivers.get(i);
                    String driverName = driver.getClass().getName();
                    System.out.println("Driver "+i+":::"+driverName);
you need to load the driver and display in the same program.
Then only you'l get the required result.
prakhyath

Similar Messages

  • How to find out which user has the permission to execute startsap ?

    Hi All
    How do I find out which user has the permission to execute the startsap and stopsap? Do I control the permission on those script using windows standard authorization? For example: only allow certain user have the read and write permission?
    Thank you.!
    Vincent Lo

    Well to me this is really weird question..
    <b>noone un-authorized should have access to OS on your system</b>
    If this is valid you do not need to solve problems who can and who cannot start/stop SAP, because if you want to prevent some users from shutting down the SAP you have really hard job to do - there are many ways how to kill the SAP (for example killing relevant process from task manager, killing of database, messing with services etc.) - yes, this is harmful way of stopping SAP, but we are talking about attack, right? I would contact some Windows specialist to help you disable all the ways how to harm the running SAP. But still after that - there are many files that can be modified/deleted so SAP will crash after restart - you need to protect them too, etc.
    In case you take the first assumption as granted (and you really limit access to this server) you do not need to worry who can stop or start SAP - at the other hand it may be handy to be able to start/stop SAP from other users - for this you can run the stop/start script "under different user".
    But to answer the question - to me this is question just of access control (but really never tried that myself):
    <a href="http://technet2.microsoft.com/WindowsServer/en/library/c6413717-511e-42bd-bd81-82431afe4b2a1033.mspx">Permit or restrict access to a snap-in for a domain</a> (or see other related links down there on this page)
    Please award points for useful answers.
    Thanks

  • How to find out which usb is the fastest

    How can you find out which usa port is the fastest, using a mypassport for my  backup photos??

    It's called a USB (Universal Serial Bus).
    All the USB ports operate within a given speed range. You have USB2.0 on your iMac. All your USB2 ports operate at the same speed up to 480MB/sec. Realistically you'll only see ~300MB/Sec.
    Pick a port and use your backup drive.

  • How to find out which one of the few devices connected to the account made a purchase through ITunes?

    How can I find out which of the devices assosiated to my account made a purchase?

    the only reliable way to do this is by scanning table TBTCP using the person's userID in field AUTHCKNAM and filtering by job statuses: scheduled, released, ready and active (sorry I can't remember the code#'s off top of my head, something like P=scheduled, S=scheduled...you have to look it up).   When you search SM37 it only permits you to scan by the userID who created the job, but it won't tell you if a different userID is defined in a job step.  That's why you need to scan TBTCP.  Don't forget that you should also check for a user's open Workflow items before deletion.
    I noticed some posts in this forum that suggest a userID should never be deleted, only locked, added to a special user group, and all role assignments removed.  However I've never worked somewhere that does this.

  • WebADI: How to find out which integrator executed the upload PL/SQL program

    Hi,
    I understand that we can create a integrator to upload data to EBS and execute a PL/SQL program.
    Is there any way to find out which INTEGRATOR executed this PL/SQL program?
    Thanks.
    Regards

    Alternatively:
    select name, plsql_debug from sys.all_plsql_object_settings

  • How to find out which control triggered the event?

    In my program, there are six buttons that does similar things, like changing the value of an array depending on which button is clicked. I used an event structure to do this. However, instead of repeating my codes six times in six events (one for each button click), I'd like to program one event case that responds to any of the six buttons. The question is, how do I know which button is clicked inside the case (any of the button can be either false or true, so reading the button value won't help)?
    Solved!
    Go to Solution.

    Steve Chandler wrote:
    Jeff Bohrer wrote:
    Oh when will the snipet tool get fixed?
    Jeff, are you using Ton Plomp's Code Capture tool? It is awesome for a lot of reasons. The nicest part is that when you do a capture it saves the snippet to a temporary file and places the path to the temp file in the clipboard. You can create a VI, capture a selection, then in the browse for image control on the forum you just paste the file name from the clipboard. No need to go through the hassle of saving the snippet first then browsing for it.
    Unfortunatly I'm behind a curtain here that discourages third party tools. I know of the third party stuff but it might as well not exist unless it comes on the installation DVD.  Thanks for the response though some other member may find the link useful
    I can't even load Firefox on this machine and am stuck with IE
    Jeff

  • RegEx: How to find out which part of the pattern failed?

    Hi there,
    I was wondering: is there any way to find out where the pattern matching failed?
    Say I got the string "John Paul Yoko Ringo", and I want to match it against the pattern /John Paul George Ringo/.
    I would like to know something like "pattern failed at index 11", or if I had groups something like "matching group 3 failed".
    Is there any way to do this? Thanks in advance!
    Best regards,
    - Torben

    jschell wrote:
    I would like to know something like "pattern failed at index 11", or if I had groups something like "matching group 3 failed".
    Is there any way to do this? Thanks in advance!
    I wonder if that is reasonable. It means that the parse tree for the regex would need to keep mapping information.
    At a minimum it is going to require an array, not a single result, because a regex can 'fail' in many ways.
    Consider the following regex with the following input
    /(a|b)d/
    abababababx
    Where does it 'fail'?Right. If you just want the character position at which it failed, those tools might tell you that as part of a bigger picture. But by itself, without any context, that number's not necessarily meaingful. A given character can be examined many times due to backtracking. Part of the expression could succeed for part of the input, then the expression might fail for the rest, so we backtrack, and may get several more failures, then more partial successes, all at different points, then ultimately it may fail anywhere within the input.
    So just knowing where isn't enough. You need to know what steps were taken to get there. I do think these tools provide that, though I haven't looked closely.

  • How to find out which RAC service a user is using.

    Hi,
    Our RAC database uses clustering services.
    How do I find out to which RAC service a database user is setup for?
    I know how to check what it is currently using by looking at GV$SESSION. But i want to check what service a user was originally setup?
    I cant seem to find the info i need on the following views:
    GV$ACTIVE_SERVICES
    DBA_SERVICES
    GV$SESSION
    am i missing out something?
    thanks,

    There is a service_name column in gv$session that should show what service is being used by a connection.
    Sorry...reread and see that you know about gv$session...I'm not really sure what you mean by originally setup or how long ago you are trying to look for but in v$active_session_history there is a column that is service_hash that will join to dba_services column name_hash..so if you can find some old session from that user and get the service_hash you can get the service name from dba_services.
    Edited by: DBA_Mike on Mar 24, 2009 6:48 AM

  • How to find out which layoutset in an iview is used.

    Hi Experts,
    We have different iviews with different layoutsets.
    Now I would like to know what set is used in the iview without open the iviews manually.
    Is this possible? If so how?
    thanks in advance,
    Joeri

    Raghu,
    the reason why I want to know this is, we want to change the layout in some iviews but not all.
    example:
    A lot of iviews have layout X. Now we want to change the layout X but we don't know in which iviews the layout is used and we will not change the layout for all the iviews. So we cannot change layout X because all the iviews will be changed. We must create a new layout but we also want to know, what iview has to change.
    greetings
    Joeri

  • How to find out which class invoked the constructor

    i wrote a class named DAOBase and i am creating object of the same in several other classes. So is there any way to know which class has invoked the constructor of DAOBase.
    i want to print out the name of the class that invoked the constructor of DAOBase at the time of constructor invocation...
    Is there any way?
    Please Help...

    Alternatively, use SecurityManager.getClassContext() as inclass CallerAndMain {
         public static void main(java.lang.String[] args) {
              System.out.println("I'm in " + new SecurityManager() { public String getClassName() { return getClassContext()[1].getName(); } }.getClassName() + " class");
              new Try();
    class Try {
         public Try() {
              System.out.println("I'm in " + new SecurityManager() { public String getClassName() { return getClassContext()[1].getName(); } }.getClassName() + " class");
              System.out.println("I was called from " + new SecurityManager() { public String getClassName() { return getClassContext()[2].getName(); } }.getClassName() + " class");
    }

  • TS1277 how do i find out which 5 computers i have authorised ofr itunes. i think i only have 4 but cant find out which one is the fifth

    I am told from itunes that i cannot authorise my macbook air as i already have 5 computers authorised on this account. I only have 4 but dont know how to find out which is the fifth authorised computer

    You cannot.
    There is no list
    Deauthorize all, then authorize the active computers.

  • How to find out which objects are at the end of the datafiles

    My Scenario is having a tablespace of 65G but the data is 5G and that is at the end of datafile for that we are not able to resize the datafile our though is to find out what are the objects at that end of datafiles and will either alter move <owner.tablename> move or alter index <owner.index> rebuld online.
    For that how to find out which objects are at the end of the datafiles.

    >
    My Scenario is having a tablespace of 65G but the data is 5G and that is at the end of datafile for that we are not able to resize the datafile our though is to find out what are the objects at that end of datafiles and will either alter move <owner.tablename> move or alter index <owner.index> rebuld online.
    For that how to find out which objects are at the end of the datafiles.
    >
    You may want to copy this and add it to your toolkit
    See 'What's at the End of the File?' in this Tom Kyte article from the Sept 2004 Oracle Magazine
    http://www.oracle.com/technetwork/issue-archive/o54asktom-086284.html
    And this AskTom blog shows you how to generate a script containing ALTER statements toresize your datafiles to the smallest possible. You can 'pick and choose' from the ALTER statements to do what you want.
    Then of course, you can use techniques from this article by Oracle ACE, and noted author, Jonathan Lewis
    http://jonathanlewis.wordpress.com/2010/02/06/shrink-tablespace/

  • How to find out which data control do the page layout components come from?

    hi,
    work in Jdev 11.1.2.3
    After have drag and drop data control into pages designer, how to find out which data control do the page layout component (such as a field in form layout) come from?
    --i cannot find data control related information in the property pallete for the page layout component.
    Regards.

    This information can be found in the page definition file.
    Select the field in the page and then click the binding tab.

  • How to find out which version of AIR is installed on Linux

    Hi,
    How do I find out which version of the Adobe AIR runtime I have installed on my Ubuntu system?
    Please don't tell me to look at this article in the Knowledge Base, since the method reported there does not work. The file /opt/Adobe AIR/Versions/1.0/Resources/ApolloVersion does not exist.
    thanks
    m.

    You could find the version of Adobe AIR installed on your system using the commandline as well:
    dpkg -s adobeair (on Debian systems like Ubuntu)
    rpm -q adobeair (on RPM based systems like Fedora and Opensuse)
    -Neha

  • How to find out which server is running on which port

    hi all,
    how to find out which server is running on which port, i want to know both
    from front end and backend?
    thanks and regards
    srikanth

    The best source to get all the ports you have is the Context Files.
    All ports are defined in the Context Files through "AutoConfig Variable". You can get the list of those variables by referring to the following note under "What is the port pool? What if I want to give a specific value to a Server Port?"
    Note: 216664.1 - FAQ: Cloning Oracle Applications Release 11i
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=216664.1
    You can also get that list via OAM.
    Referring to the installation log file should also be helpful (Unless you have changed any of the ports after the installation).

Maybe you are looking for

  • Report for Material at subcontract AND PO number

    We are preparing for Inventory verification at subcontractors. My boss believes it would be easier for the SC vendor if we could supply the PO number for which the material was shipped. I haven't found such a report.  Is there one? If you know the ta

  • First photo order from apple cuts off subjects head

    Who is the genius at the Apple developing room who needs to crop a photo so that the subjects head is cut off? Usually when you send a picture into a photo store, they get it right the first time without exercising their creative PHOTOGRAPHER abiliti

  • How can I get content of  xml elements?

    Hello everybody, here is my xml document and my code which parses xml. I want to print content of all elements from xml to console but result is only null. But names of all elements shows correctly. Where is problem? Thank you in advance XMLSample.ja

  • WAAS - Disk Space Error

    Hi all, Is this Syslog Error Message affecting statistics in % Compression? What is the cause of this ? It is tunned, or should be automaticaly resolved? Best Regards, Bruno Petrónio *** Output *** 2009 Jul 30 11:33:13 wae so_dre: %WAAS-RE-3-690464:

  • WLC4404 failover doesn't return properly

    I have the following scenario: WLC01 on 172.16.72.200 AP on 172.16.72.4 (DHCP) WLC02 on 172.16.32.200 (different subnet) I have DHCP servers on each subnet, and routing between them is operational. The two WLCs are on the same mobility group and they