How the statement compiled

Hi,
1) I want to know ,where the statements(Normal statement,Prepared statement,Precompiled statement) get compiled.
2) Why prepared statement call as a precompiled statement.What is meaning of "precompiled" over here.
3) What is difference between normal statement,prepared statement and callable statement.
4) The driver load .dll/api in class.forname() for windows enviroment.
Regards
Himanshu

1) I want to know ,where the statements(Normal
statement,Prepared statement,Precompiled statement)
get compiled.In the database server.
(At least usually. It would be theoretically possible to "compile" or pre-compile or tokenize the SQL string in the driver and send the results to the server, but I'd guess that would be an unusual driver implementation. If you want to check your driver & db implementation, take an TCP/IP trace of the communication between your application and the db server -- most likely, you will see SQL text strings going from the driver to the server to be compiled. What people usually call "compilation" in databases includes query optimization, which needs information that usually exists in the db server only.)
2) The driver load what ?.dll or api in
class.forname() for windows enviroment.?Depends on your database and the driver.
The most common drivers ("type 4" drivers) don't have any dll's, the driver is a .jar or a .zip file containing Java class files. I.e. the driver is written in Java, no native C/C++/Fortran/whatever dll binary at all. You just need the jar or zip file in your CLASSPATH.
In some drivers ("type 2"), there is a .jar or a .zip, which in turn loads one or more .dll's or other native binary code.
Check your database driver documentation and installation manuals.
For the four driver types, see http://java.sun.com/products/jdbc/driverdesc.html

Similar Messages

  • [svn] 1608: This checkin makes public our modifications to Batik, which improve how the MXML compiler reports errors in CSS syntax.

    Revision: 1608
    Author: [email protected]
    Date: 2008-05-07 17:36:02 -0700 (Wed, 07 May 2008)
    Log Message:
    This checkin makes public our modifications to Batik, which improve how the MXML compiler reports errors in CSS syntax.
    Bugs: -
    QA: No
    Doc: No
    Reviewer: Jono
    Modified Paths:
    flex/sdk/trunk/modules/thirdparty/batik/resources/org/apache/batik/css/parser/resources/M essages.properties
    flex/sdk/trunk/modules/thirdparty/batik/sources/org/apache/batik/css/parser/AbstractDesce ndantSelector.java
    flex/sdk/trunk/modules/thirdparty/batik/sources/org/apache/batik/css/parser/AbstractEleme ntSelector.java
    flex/sdk/trunk/modules/thirdparty/batik/sources/org/apache/batik/css/parser/AbstractSibli ngSelector.java
    flex/sdk/trunk/modules/thirdparty/batik/sources/org/apache/batik/css/parser/CSSLexicalUni t.java
    flex/sdk/trunk/modules/thirdparty/batik/sources/org/apache/batik/css/parser/DefaultCondit ionalSelector.java
    flex/sdk/trunk/modules/thirdparty/batik/sources/org/apache/batik/css/parser/DefaultElemen tSelector.java
    flex/sdk/trunk/modules/thirdparty/batik/sources/org/apache/batik/css/parser/ParseExceptio n.java
    flex/sdk/trunk/modules/thirdparty/batik/sources/org/apache/batik/css/parser/Parser.java
    flex/sdk/trunk/modules/thirdparty/batik/sources/org/apache/batik/css/parser/Scanner.java
    Added Paths:
    flex/sdk/trunk/modules/thirdparty/batik/sources/org/apache/batik/css/parser/AbstractSelec tor.java

  • How to suppress compiler errors without excluding database objects from the "Schema Compare" tool (using VS2013/SSDT)

    Hi,
    In short: How to suppress compiler errors without excluding the object from the "Schema Compare" tool ??
    A bit longer:
    We have a SQL Server 2008 project in Visual Studio 2013 running SQL Server Data Tool.
    An old database, with a lot of history in, has been imported into SSDT and there are many syntax errors preventing the project from compiling/running. An typical error is: "SQL70001: This statement is not recognized in this context".
    Running the "faulty" scripts on the server, executes just fine. I understand that there are syntax errors and they should be rewritten, but it's not gonna happen just like that - it is a slow process over a long period of time.
    I know it is possible to change Build Action to None, but that also exclude the object from appearing in the Schema Compare function/window.
    So - how to ignore some compiler errors and still having the objects to appear when doing "Schema Compare" ??
    Thank you in advance.

    Hi Steven,
    Thanks for your comments.
    Well, it sure does help in the future, but right now i would prefer the other way - to suppress some errors and still allow the scripts to build.
    The thing is that if we "rewrite" the objects into create scripts, then we have a huge test job ahead of us + the database environments (PROD vs DEV and UAT) does not share the same AD or DB users and therefore grants is lost if dropping/creating
    objects, right!
    If you drop a object before creating it, the drop will also drop the roles and grants and since they don't share user table, the create will not be able to add the permissions again. There might be a solution to that, but it is going to be very complicated
    for some newbies like us. We need something we can trust.
    BR
    Peter

  • How can I limit the fonts in the Character Map (charmap) and reinitialize the state after use?

    In a WPF application I have a RichTextBox in which users will be inserting text. I also must give the user the ability to insert characters. To do so I have called up charmap.exe using
    Process charProcess = new Process();
    ProcessStartInfo startInfo = new ProcessStartInfo();
    charProcess.StartInfo.FileName = strCharmap;
    charProcess.Start();
    etc., and it works fine. There are several problems I have basically with charmap, however, not with WPF. The first is that because of the subsequent use of the user’s insertion in the RTB, I must restrict the font to “Ariel Unicode
    MS.”  So far all I have been able to do is instruct and warn the user not to change fonts and 
    change back any font change that occurs as a result of use of “Advanced view” features.
    Question number one is, how can I restrict the fonts loaded into charmap to this one font? The second problem is that if another font is called up, or the “Advanced view” state of charmap is closed, or a “Group by” feature is opened, these choices will
    be retained for the next user that opens charmap. How can I initialize the state of charmap for each new user with the correct font and “Advanced view” features showing. It is said,but in old posts, that reinitialization occurs for all but administrative users,
    but this seems to be no longer true. I have tried permission changes in charmap’s Properties, but I can’t get the necessary reinitialization to occur even if user’s don’t have modify permission. Can one use a .ini file, or the .mui file, or make Registry changes
    to accomplish my goals. There seems to be a warning in the .mui file about changing fonts, but is it cancelled? I am using Windows 7 and C#.
    I have looked at other character maps but they are either too complicated for the casual user, or they have no search engine and advanced features, or they have the same problems.
    I am pretty much a novice with respect to the Windows files use and WPF, so please be fairly clear, complete, and prescriptive in your answer. Also so that I and others can learn, it would be nice to have an explanation of why one does whatever you suggest.
    Your help is appreciated.

    Hi,
    Thanks for your post!
    According to your description, I am afraid your problem is out of support in C#language forum. So i move your thread to off-topic forum!
    Best Wishes!
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey. Thanks<br/> MSDN Community Support<br/> <br/> Please remember to &quot;Mark as Answer&quot; the responses that resolved your issue. It is a common way to recognize those who have helped you, and
    makes it easier for other visitors to find the resolution later.

  • I am new to Mac Pro but am purchasing one online.  can anyone tell me how to get the information from my Toshiba onto the Mac.  there are no stores in the state I live in.  Do I need to find a location and will they do a transfer from my I Tunes etc?

    I am new to Mac Pro and am purchasing one online  tonight.  Can anyone tell me how to get my information - Itunes, photos, and videos transferred onto the Mac from my Toshiba.  the state I live in doesn't have an Apple store but I could take it to Minneapolis when I go.  Any ideas where to begin?

    You might profit from a visit to a Minneapolis Apple store. With a brand new Mac, I think they will be most helpful - not just with transferring files, but with other advice as well. And I strongly recommend you invest in a back up drive. The Apple folk can help with that as well.

  • HT3529 I am currently deployed and was using my iMessage to be able to talk to family back in the states and my iMessage stopped working. It will no longer select my number to use as the send/receive. How do I fix this so I can continue to talk to family?

    I am currently deployed and was using my iMessage to be able to talk to family back in the states and my iMessage stopped working. It will no longer select my number to use as the send/receive. How do I fix this so I can continue to talk to family?

    Read here:
    http://support.apple.com/kb/TS2755

  • Can't open iTunes. Any suggestions on how to fix?  The statement comes up: The file "iTunes Library.itl cannot be read because it was created by a newer version of iTunes. Any suggestions how to fix?

    The statement comes up: The file "iTunes Library.itl cannot be read because it was created by a newer version of iTunes. Any suggestions how to fix?

    Update your iTunes version.

  • My past billing adress of my apple ID is the states, presently i'm in montreal Canada and im not able to change the billing address because my balance is $ 0.68, any idea how can i change it?

    my past billing adress of my apple ID is the states, presently i'm in montreal Canada and im not able to change the billing address because my balance is $ 0.68, any idea how can i change it?

    You can contact iTunes support and request that they remove the $0.68 from your account here:
    http://www.apple.com/support/itunes/contact/
    They should respond within 24 hours.

  • How do I change the states of the "Submit"  button in adobe muse?

    How do I change the states of the "Submit"  button in adobe muse? Currently I can only change the color, text and stroke of the button, but I cannot customize it as I have the other buttons in the tool.

    I want to replace the button with an image, however it does not permit me to paste an image into the button, nor does it allow me to delete the box that is currently there. The best I can do is paste the image into the text box that is provided.

  • How Do You Set the State Of a Custom Compent's Child Custom Compent?

    I'm starting to build very complex interface 'widgets' built by taking simple custom compents and creating more complex custom compents from these compents and then again grouping those to create custom components. However, I'm starting to lose access in Catalyst to set these sub custom compents. It maybe just a noob issue.
    Am I looking at this wrong?
    Should I not be nesting compents?
    Other wise how do I access these?
    I haven't jumped into the code part of FLEX yet but I figured it would be very OOP like, so... (psuedo code)
    myParentCustomComponent.my1stChild.state = myChildsStateOn;
    //( myChildsStateOn, myChildsStateOff, myChildsStateNotVisited )
    myParentCustomComponent.my2ndChild.state = myChildsStateOn;
    //( myChildsStateOn, myChildsStateOff, myChildsStateNotVisited )
    I hope I can set this in Catalyst so that I don't have to do a shallow and very wide state setup like ... (psuedo code)
    myCustomCompent.state = my1stChildIsOn;
    myCustomCompent.state = my1stChildIsOff;
    myCustomCompent.state = my1stChildIsNotVisited;
    myCustomCompent.state = my2ndChildIsOn;
    myCustomCompent.state = my2ndChildIsOff;
    myCustomCompent.state = my2ndChildIsNotVisted;
    PLEASE ADVISE, thank you.
    Best Regards,
    -Truce

    Hi Truce,
         Thank you for your feedback. You have run into a current limitation with the "play transition to state" interaction and the "Set Component State" action in the timeline. Currently the UI that allows you to pick a state only "sees" components that are direct children of your current context. The state picker doesn't allow picking states of components that are more deeply nested.
    We are aware of this issue and how it impacts user's ability to author more complex projects, so we are looking at ways to allow users to pick states deeper within the hierachy when creating interactions.
    One work around that works in *some* cases is to set the state of sub components in a parent component using the PI rather than using interactions.
    If you have a structure like this
    Application
        WidgetA (with state1 and state2)
              WidgetB (with state1 and state2)
              WidgetC (with state1 and state2)
    You can record what state WidgetB and WidgetC are in for each state of WidgetA. To do this double-click WidgetA, select WidgetB and change the current state in the properties editor for WidgetB. That state will be remember for each state of Widget A. Then when you have an interaction at the application level that changes the state of WidgetA, then WidgetB will change state as well. This works well if WidgetB is in the same state for each state of WidgetA. If you want to change WidgetB and WidgetC states directly from the Application level, there isn't currently a way to do this.
    - Ty

  • How to maintain the state in Extn

    Dear all,
    I have created the extn using creative suite for photpshop. when i click my extn name, it will initilize everytime. e.g.if user login the extn and he/she will close the extn. Aftre that when user again hit on my extn. it will initilize, and ask for login again. how could i maintain the state in that case? Any suggestion or solution will appreciated..

    Hi,
    use a setPropertyListener to save the row key of this select item and then restore this key as the current selected key.
    Frank
    Ps.: I don't ask why you call clearForRecreate() on the iterator. I am sure you have a reason.

  • How can I find and install the state diagram toolkit and how to--

    Hi,
    I like to do practice how to do coding by using state diagram toolkit. For that purpose I need to install that software. Can you please help me in this regard about how to get theat toolkit and install afterwards?
    I have another question. By using VI snippets, I can extract the meaning of a particular VI/node/function block or whatever may be. Is there anyway to extract meaning in case that screenshot is not a snippet?
    Also, can you tell me about how to start from scratch for using labview in building algorithm and coding? any resource?
    Thank You.

    The state diagram toolkit is an addon and it has license fees. It's install is available on the complete set of install disks.
    There is no other way to extract code besides using snippets.
    You can find lots of information here regarding LabVIEW training including online options. You can also go through the tutorials that ship with LabVIEW.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • I bought an iPhone while overseas, but I'm back living in the states now. It seems that FaceTime and iMessage is not enabled on it. How do I get it to work now that I'm back in the states?

    I bought an iPhone while overseas, but I'm back living in the states now. It seems that FaceTime and iMessage is not enabled on it. How do I get it to work now that I'm back in the states?

    I did buy it from someone in Jordan. So they might have got it from KSA, or UAE, or it even might be the same rules in Jordan. I don't think the imessage works even, every time someone sends me a message from their ipad it says "Not delivered". Maybe I am wrong?

  • How to save the state of a program ?

    I am working on a program, where one can open several tabs with JEditorpanes, and in the tabs one can read a webpage. I was wondering if there is a way to save the state of the program. For example the program starts with three tabs, but say that the user opens three more tabs. How would one save this info, so that it could be retrieved again when the program is restarted ?????

    Check out java.util.prefs.Preferences. This is the standard API for loading/saving preferences between sessions of an application.

  • Using the States Example how can I set Selected to Maryland Without RowNumber

    Let's use the states example for the sake of everyone having
    the code in front of them. If I am returning a value from the
    database that I am writting out to the application like this
    <%out.write("STATE_NAME"); %>
    how can I set the selected value to that without knowing what
    the row number is, here is my try but I get a few error messages:
    <option spry:if="{name} == '<%out.write("STATE_NAME");
    %>'" value="{name}" selected
    ="selected">{name}</option>
    <option spry:if="{name} != '<%out.write("STATE_NAME");
    %>'" value="{name}" >{name}</option>
    I get double the states and the following in the debug box:
    Caught exception in Spry.Data.Region.prototype.processTokens
    while evaluating: Alabama == Exception:[object Error]
    Caught exception in Spry.Data.Region.prototype.processTokens
    while evaluating: Alabama != '' Exception:[object Error]
    This goes on for as many records as I have in the DB,
    Please let me know how it could be done if it could be done?

    I believe what you guys are looking for is the
    Set
    Default Row Based on Specific Column sample that is on the
    Spry
    Samples Page.
    The problem of using a spry:if="{name} ..." approach is that
    it only makes sure the form select widget is set to what the server
    thinks is the current row in the data set, but it doesn't actually
    set the current row in the data set to reflect this, so the cities
    select is out of sync cause it is defaulting to displaying the
    cities for the first row in the states data set.
    Checkout the sample I mentioned above, it will show you how
    to set up an observer where you can query for the correct row
    immediately after the data is loaded, and then set the current row
    so that everything is as expected.
    --== Kin ==--

Maybe you are looking for

  • Why is it that every time i go into the discription section on any video on the youtube app it crashes?

    I tried closing out of Youtube and then deleting it from the app history and back in but it did not do anything. I tried signing out an in of my youtube account and still didnt work. Its only other channels on my ipod touch 4g. My channels descriptio

  • Exceptions thrown in Thread Constructors

    Hi, Im having a problem with exceptions been thrown during thread constructors... mainly that when it happens, the JVM still seems to track the dud thread as an active thread (See example code below). As you can see, the thread throws an exception du

  • Work flow SBWP Several Invoice

    Hi Gurus, can anyone help on how to group into one the several work items (executable documents-scanned invoice) for processing in FB60? The case was there are several pages of the invoice and have to be scanned in four parts creating 4 work items. 

  • Windows 32bit

    Hi Ive got 3 instances on a windows 32bit Enterprise Edition Server and am having issues sizing them. I've got 8Gb with 6Gb to spare but keep getting out of memory errors. Anyone have any examples/advice of their SGA settings. I haven't gone down the

  • Lightroom cc not open?

    New Lightroom cc will not open my iMac 2013 OS X Yosemite  10.10.3, if no one solution to the problem....help my!!