How to connect oracle10g and jdk1.6.0_15

Hi All,
I'm using jdk1.6.0_15 and oracle10g.When i trying to connect using the following JDBC connection code:
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:dsn name","userid","pwd");
I got the SQLException like:
Specified driver could not be loaded due to system error 1114 (Oracle in OraClient10g_home2).
Any help to resolve this.?
Thanks in advance..!
regards
sowm

Hi,
How to use the oracle.jdbc.OracleDriver driver.? Do i have to download this driver and initialize.?
Need help on how to set this driver.?
regards
sowm

Similar Messages

  • How to connect "Next" and "Previous" ?

    Hi everyone,
    I am new in this with videoediting etc but I just managed to finish my first real videoproject and burned a DVD last night.
    My first Encore project crashed after 3 days but I could start a new project and finish that one within 4 hours. Great program.
    The DVD works fine except for1 thing:
    I could not figure out how to connect "Next" and "Previous" in my Submenu for choosing clips.
    So I just deleted these functions (!)
    Looking forward to next project but I would like to use these 2 functions!
    Thanks in advance!
    Great forums in Adobe with Great People!

    Thank you !
    I thought it was to go to Next clip and previous clip. Not very good thinking.....
    Now I understand!
    Thanks again!

  • How to connect Java and Microsoft SQL Server 2000

    hi,
    could anyone please teach me how to connect Java and SQL Sever 2000?? if possible could you guys provide me with an example??? i could hardly find any relevant resources about it...
    Thanks ~!

    thanks for the information...
    by the way hv any working module on it?? i'm new to
    both Java and Microsoft SQL Server... Thanks againFirst things first... you should read this:
    http://java.sun.com/docs/books/tutorial/jdbc/
    This is microsofts official JDBC Driver: http://www.microsoft.com/sql/downloads/jdbcregister.asp
    Install it and the documentation has some usage examples

  • How to connect WRT54GX and WAP54G

    Hi,
    I am using WRT54GX router and WAP54G access point in same floor. Could you please let me know how to connect access point with router? Kindly provide setting.
    Thanks!
    Gaurav

    Hi, first connect one of your Pc to the router and log into the setup page of the router with http://192.168.1.1 . The username is blank and the password is admin. Under the wireless tab make a note of the ssid, wireless channel and under the wireless security page also make a note of the wep keys if you have provided any. Then click on the status tab and under the status tab you can click on the Local Network and note the Mac Address mentioned on this screen You can then connect the wap54g to the router and log into the setup page o the access point by http://192.168.1.245 . The username is blank and the password is admin. On the wireless screen you can change the ssid, the channel and the wep encryption accordingly.
    Then on the setup screen you can click on the AP Mode and select the mode as Wireless Repeater an punch the Mac Address and then click on save settings. You can then unplug the access point from the router in order to get it working wirelessly.

  • How to connect Iphone4s and Ipad2 through bluetooth

    How to connect Iphone 4s and Ipad2 through bluetooth normally as we do for some general phone

    you can only connect your iPhone 4S and iPad2 for the purpose of tethering your iPhone's internet connection to the iPad.  Any other connection is not supported.

  • How to connect documents and icloud ?

    How do i connect documents and icloud?

    You can store iWorks docs on iCloud, but you cannot share them with others.  The old iWorks beta web site let you host files for other remote users to have access to them, and iCloud (at least not now) does not allow that.

  • How to connect ORACLE8i and xml

    this is sethu involving in the effort to do a project in xml and oracle 8i in the environment of weblogic.
    i need how to connect oracle8i using xml
    which enable me to start my project.
    with regards
    sethu
    email:[email protected]
    null

    I agree with the rest of you folks. JDOM will be your best bet for integration. I am currently using JDOM to parse and/or create xml documents. As mentioned the tutorials are very good to check out. If you just want to hit the JDOM highlights and hit the ground running check out this link. http://www.jdom.org/downloads/docs.html
    Take some time to check out the first 3 links on that page. They are JDOM and XML Parsing, Part 1, Part 2, and Part 3. Very good information about JDOM and XML parsing.
    Hope some of this will help!

  • How to connect mysql and oracle 10g by UTL_HTTP?

    how to connect mysql 5.0 and oracle 10g r2 by UTL_HTTP?what to do for this url connection exactly?

    cant i change anything to stup a link?
    SQL> desc utl_http
    PROCEDURE ADD_COOKIES
    Argument Name               Type               In/Out Default?
    COOKIES               TABLE OF RECORD      IN
    FUNCTION BEGIN_REQUEST RETURNS RECORD
    Argument Name               Type               In/Out Default?
       URL                    VARCHAR2(32767)      OUT
       METHOD               VARCHAR2(64)          OUT
       HTTP_VERSION           VARCHAR2(64)          OUT
       PRIVATE_HNDL           BINARY_INTEGER          OUT
    URL                    VARCHAR2          IN
    METHOD                VARCHAR2          IN     DEFAULT
    HTTP_VERSION               VARCHAR2          IN     DEFAULT
    PROCEDURE CLEAR_COOKIES
    PROCEDURE CLOSE_PERSISTENT_CONN
    Argument Name               Type               In/Out Default?
    CONN                    RECORD               IN
       HOST                VARCHAR2(256)          IN
       PORT                BINARY_INTEGER          IN
       PROXY_HOST               VARCHAR2(256)          IN
       PROXY_PORT               BINARY_INTEGER          IN
       SSL                    BOOLEAN           IN
    PROCEDURE CLOSE_PERSISTENT_CONNS
    Argument Name               Type               In/Out Default?
    HOST                    VARCHAR2          IN     DEFAULT
    PORT                    BINARY_INTEGER          IN     DEFAULT
    PROXY_HOST               VARCHAR2          IN     DEFAULT
    PROXY_PORT               BINARY_INTEGER          IN     DEFAULT
    SSL                    BOOLEAN           IN     DEFAULT
    PROCEDURE END_REQUEST
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    PROCEDURE END_RESPONSE
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       STATUS_CODE               BINARY_INTEGER          IN/OUT
       REASON_PHRASE          VARCHAR2(256)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    PROCEDURE GET_AUTHENTICATION
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       STATUS_CODE               BINARY_INTEGER          IN/OUT
       REASON_PHRASE          VARCHAR2(256)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    SCHEME                VARCHAR2          OUT
    REALM                    VARCHAR2          OUT
    FOR_PROXY               BOOLEAN           IN     DEFAULT
    PROCEDURE GET_BODY_CHARSET
    Argument Name               Type               In/Out Default?
    CHARSET               VARCHAR2          OUT
    FUNCTION GET_BODY_CHARSET RETURNS VARCHAR2
    PROCEDURE GET_COOKIES
    Argument Name               Type               In/Out Default?
    COOKIES               TABLE OF RECORD      IN/OUT
    FUNCTION GET_COOKIE_COUNT RETURNS BINARY_INTEGER
    PROCEDURE GET_COOKIE_SUPPORT
    Argument Name               Type               In/Out Default?
    ENABLE                BOOLEAN           OUT
    MAX_COOKIES               BINARY_INTEGER          OUT
    MAX_COOKIES_PER_SITE          BINARY_INTEGER          OUT
    PROCEDURE GET_DETAILED_EXCP_SUPPORT
    Argument Name               Type               In/Out Default?
    ENABLE                BOOLEAN           OUT
    FUNCTION GET_DETAILED_SQLCODE RETURNS BINARY_INTEGER
    FUNCTION GET_DETAILED_SQLERRM RETURNS VARCHAR2
    PROCEDURE GET_FOLLOW_REDIRECT
    Argument Name               Type               In/Out Default?
    MAX_REDIRECTS               BINARY_INTEGER          OUT
    PROCEDURE GET_HEADER
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       STATUS_CODE               BINARY_INTEGER          IN/OUT
       REASON_PHRASE          VARCHAR2(256)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    N                    BINARY_INTEGER          IN
    NAME                    VARCHAR2          OUT
    VALUE                    VARCHAR2          OUT
    PROCEDURE GET_HEADER_BY_NAME
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       STATUS_CODE               BINARY_INTEGER          IN/OUT
       REASON_PHRASE          VARCHAR2(256)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    NAME                    VARCHAR2          IN
    VALUE                    VARCHAR2          OUT
    N                    BINARY_INTEGER          IN     DEFAULT
    FUNCTION GET_HEADER_COUNT RETURNS BINARY_INTEGER
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       STATUS_CODE               BINARY_INTEGER          IN/OUT
       REASON_PHRASE          VARCHAR2(256)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    PROCEDURE GET_PERSISTENT_CONNS
    Argument Name               Type               In/Out Default?
    CONNECTIONS               TABLE OF RECORD      IN/OUT
    FUNCTION GET_PERSISTENT_CONN_COUNT RETURNS BINARY_INTEGER
    PROCEDURE GET_PERSISTENT_CONN_SUPPORT
    Argument Name               Type               In/Out Default?
    ENABLE                BOOLEAN           OUT
    MAX_CONNS               BINARY_INTEGER          OUT
    PROCEDURE GET_PROXY
    Argument Name               Type               In/Out Default?
    PROXY                    VARCHAR2          OUT
    NO_PROXY_DOMAINS          VARCHAR2          OUT
    FUNCTION GET_RESPONSE RETURNS RECORD
    Argument Name               Type               In/Out Default?
       STATUS_CODE               BINARY_INTEGER          OUT
       REASON_PHRASE          VARCHAR2(256)          OUT
       HTTP_VERSION           VARCHAR2(64)          OUT
       PRIVATE_HNDL           BINARY_INTEGER          OUT
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    RETURN_INFO_RESPONSE          BOOLEAN           IN     DEFAULT
    PROCEDURE GET_RESPONSE_ERROR_CHECK
    Argument Name               Type               In/Out Default?
    ENABLE                BOOLEAN           OUT
    PROCEDURE GET_TRANSFER_TIMEOUT
    Argument Name               Type               In/Out Default?
    TIMEOUT               BINARY_INTEGER          OUT
    PROCEDURE READ_LINE
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       STATUS_CODE               BINARY_INTEGER          IN/OUT
       REASON_PHRASE          VARCHAR2(256)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    DATA                    VARCHAR2          OUT
    REMOVE_CRLF               BOOLEAN           IN     DEFAULT
    PROCEDURE READ_RAW
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       STATUS_CODE               BINARY_INTEGER          IN/OUT
       REASON_PHRASE          VARCHAR2(256)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    DATA                    RAW               OUT
    LEN                    BINARY_INTEGER          IN     DEFAULT
    PROCEDURE READ_TEXT
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       STATUS_CODE               BINARY_INTEGER          IN/OUT
       REASON_PHRASE          VARCHAR2(256)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    DATA                    VARCHAR2          OUT
    LEN                    BINARY_INTEGER          IN     DEFAULT
    FUNCTION REQUEST RETURNS VARCHAR2
    Argument Name               Type               In/Out Default?
    URL                    VARCHAR2          IN
    PROXY                    VARCHAR2          IN     DEFAULT
    WALLET_PATH               VARCHAR2          IN     DEFAULT
    WALLET_PASSWORD          VARCHAR2          IN     DEFAULT
    FUNCTION REQUEST_PIECES RETURNS TABLE OF VARCHAR2(2000)
    Argument Name               Type               In/Out Default?
    URL                    VARCHAR2          IN
    MAX_PIECES               BINARY_INTEGER          IN     DEFAULT
    PROXY                    VARCHAR2          IN     DEFAULT
    WALLET_PATH               VARCHAR2          IN     DEFAULT
    WALLET_PASSWORD          VARCHAR2          IN     DEFAULT
    PROCEDURE SET_AUTHENTICATION
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    USERNAME               VARCHAR2          IN
    PASSWORD               VARCHAR2          IN     DEFAULT
    SCHEME                VARCHAR2          IN     DEFAULT
    FOR_PROXY               BOOLEAN           IN     DEFAULT
    PROCEDURE SET_BODY_CHARSET
    Argument Name               Type               In/Out Default?
    CHARSET               VARCHAR2          IN     DEFAULT
    PROCEDURE SET_BODY_CHARSET
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    CHARSET               VARCHAR2          IN     DEFAULT
    PROCEDURE SET_BODY_CHARSET
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       STATUS_CODE               BINARY_INTEGER          IN/OUT
       REASON_PHRASE          VARCHAR2(256)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    CHARSET               VARCHAR2          IN     DEFAULT
    PROCEDURE SET_COOKIE_SUPPORT
    Argument Name               Type               In/Out Default?
    ENABLE                BOOLEAN           IN
    MAX_COOKIES               BINARY_INTEGER          IN     DEFAULT
    MAX_COOKIES_PER_SITE          BINARY_INTEGER          IN     DEFAULT
    PROCEDURE SET_COOKIE_SUPPORT
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    ENABLE                BOOLEAN           IN     DEFAULT
    PROCEDURE SET_DETAILED_EXCP_SUPPORT
    Argument Name               Type               In/Out Default?
    ENABLE                BOOLEAN           IN     DEFAULT
    PROCEDURE SET_FOLLOW_REDIRECT
    Argument Name               Type               In/Out Default?
    MAX_REDIRECTS               BINARY_INTEGER          IN     DEFAULT
    PROCEDURE SET_FOLLOW_REDIRECT
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    MAX_REDIRECTS               BINARY_INTEGER          IN     DEFAULT
    PROCEDURE SET_HEADER
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    NAME                    VARCHAR2          IN
    VALUE                    VARCHAR2          IN     DEFAULT
    PROCEDURE SET_PERSISTENT_CONN_SUPPORT
    Argument Name               Type               In/Out Default?
    ENABLE                BOOLEAN           IN
    MAX_CONNS               BINARY_INTEGER          IN     DEFAULT
    PROCEDURE SET_PERSISTENT_CONN_SUPPORT
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    ENABLE                BOOLEAN           IN     DEFAULT
    PROCEDURE SET_PROXY
    Argument Name               Type               In/Out Default?
    PROXY                    VARCHAR2          IN
    NO_PROXY_DOMAINS          VARCHAR2          IN     DEFAULT
    PROCEDURE SET_RESPONSE_ERROR_CHECK
    Argument Name               Type               In/Out Default?
    ENABLE                BOOLEAN           IN     DEFAULT
    PROCEDURE SET_TRANSFER_TIMEOUT
    Argument Name               Type               In/Out Default?
    TIMEOUT               BINARY_INTEGER          IN     DEFAULT
    PROCEDURE SET_TRANSFER_TIMEOUT
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    TIMEOUT               BINARY_INTEGER          IN     DEFAULT
    PROCEDURE SET_WALLET
    Argument Name               Type               In/Out Default?
    PATH                    VARCHAR2          IN
    PASSWORD               VARCHAR2          IN     DEFAULT
    PROCEDURE WRITE_LINE
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    DATA                    VARCHAR2          IN
    PROCEDURE WRITE_RAW
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    DATA                    RAW               IN
    PROCEDURE WRITE_TEXT
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    DATA                    VARCHAR2          IN

  • How to Connect Wii and Xbox360 wirelessly with SBC Home Portal

    Greetings. Need help on hardware to connect Wii and Xbox360 wirelessly to SBC Home portal modem.  Distance between connect points are about 50 feet plus and separated by floors and walls.  What would work to acheive the connection?  Thanks in advance for the help.
    Sparrky

    Configure the X-BOX & WII using the wireless connection same as in wireless router .....
    Check the connections status on both the devices & see if you are online or not ....

  • How to connect WAP200 and WRV210

    Hello!
    I need to connect two dislocated wired ethernet cables (about 50 meters), so i bought one WAP200 (suport AP, bridge mode and repeater mode) and one WRV210.
    How do i need to configure the routers?
    I configer WAP200 as AP  and in WRV210 configuaration panel i configure a WDS ( set option to manul and put in WAP200's Mac adress  ).
    I also tried other otions but nothing worked out.
    What is the right settings for both routers to work?
    Thank u and have a nice day!

    You don't, as such is not & never has been supported on any iPhone. You can't pair, by Bluetooth, with any other make/model phone.

  • How to connect MAPL and PLPO to derive work center for planned order

    Hi,
    Anybody know how to derive work center using MAPL and PLPO for planned order (PLAF). Is there any connecting table between MAPL and PLPO.
    Please help asap.
    Regards,
    Mitali

    I guess u r trying to view the detail scheduling info (tab in MD13) for a planned order . In that case -
    1. Go to PLAF and enter the planned order number. (PLAF-PLNUM) and get the ID of the capacity requirements record (PLAF-BEDID).
    2. With this PLAF-BEDID go to KBED. pass the value here. KBED-BEDID. The KBED-ARBID values are your work center ID.
    3. To get the work center texts ( the way is appears in the screen) - Pass this value to CRHD . CRHD-OBJTY = 'A' ( i.e Type work center) and CRHD-OBJID = KBED-ARBID.
    Hope it solves ur prob.
    Cheers
    SKC

  • How to connect oracle10g with dev10g

    hi all
    i installed oracle database10g then dev10g on winXP, everything was good but i can't connect the dev with the engin, the problem was i the TNS Protocole.
    any suggeetions?

    Hi,
    How to use the oracle.jdbc.OracleDriver driver.? Do i have to download this driver and initialize.?
    Need help on how to set this driver.?
    regards
    sowm

  • How to connect table and access or oracle table?

    so many question at a time . yes but pls hlp me to learn how to create a table that 'll connect to some database.

    You need to use JDBC to access the database, a TableModel to contain the memory image of the data and a JTable to display it. You can derive your TableModel from the DefaultTableModel class. There is a tutorial on JTable use that builds a Stock Quote table that fetches its data from a database in
    http://developer.java.sun.com/developer/Books/swing2/chapter18-01.html

  • How to connect TextInput and XML?

    hello. Can anybody help me ? How can i connect an TextInput
    with XML? Just a simple exemple i looking

    I agree with the rest of you folks. JDOM will be your best bet for integration. I am currently using JDOM to parse and/or create xml documents. As mentioned the tutorials are very good to check out. If you just want to hit the JDOM highlights and hit the ground running check out this link. http://www.jdom.org/downloads/docs.html
    Take some time to check out the first 3 links on that page. They are JDOM and XML Parsing, Part 1, Part 2, and Part 3. Very good information about JDOM and XML parsing.
    Hope some of this will help!

  • How to connect to and communicate with an SQLite database in AIR/Flex

    Hey guys,
    I recently decided I would try programming a vocabulary-training program in AIR, so I could use it on Linux as well. I got stuck pretty soon. I am trying to connect to a local SQLite database and I obviously fail epically. Posting the source code of the application here:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
       <mx:Script>
          <![CDATA[  
               import flash.filesystem.File;
              import flash.data.*;
             import mx.controls.Alert; 
                      private var dbFile:File;
                   private var conn:SQLConnection;
                   // -- AUTO INIT FUNCTIONS --------------------------------------------------- /
                   private function init():void {
                        // Create a File Reference to the Included DB
                        dbFile = File.applicationDirectory.resolvePath( "../slovniky.db" );
                        // Create SQL Connection
                        conn = new SQLConnection();
                        // Event Listener that will tell us when the DB is opened
                        conn.addEventListener(SQLEvent.OPEN, openSuccess);
                        // Event Listener that will tell us if an error occurs
                        conn.addEventListener(SQLErrorEvent.ERROR, openFailure);
                   // -- EVENT HANDLERS -------------------------------------------------------- /
             private function starter() :void {
                  slovickoEn.enabled = true;
                  nazor.enabled = true;
                  odeslat.enabled = true;
                  zrusit.enabled = true;
                  start.enabled = false;
                  // Otevírám spojení s databází v asynchroním módu
                   conn.openAsync( dbFile );
             private function openSuccess( event:SQLEvent ):void {
                        // Pokud se spojení povede!
                        Alert.show("Spojení se zdařilo!");
               private function openFailure( event:SQLEvent ):void {
                        // Pokud spojení selže!
                        Alert.show("Spojení se nezdařilo!")
             private function kontrola() : void {
                  if (nazor.text != "") {
                       if (nazor.text == "Pes") {
                       Alert.show("Správně!");    
                       else {
                       Alert.show("Špatně!! " + "Napsané slovíčko bylo " + nazor.text);     
          ]]>   
       </mx:Script>
       <mx:VBox width="400" height="200"
                   horizontalCenter="0" verticalCenter="0" backgroundColor="#FFFFFF"
                   paddingBottom="20" paddingLeft="20" paddingRight="20" paddingTop="20"
       >
          <mx:HBox width="100%" verticalAlign="middle" horizontalAlign="center">
             <mx:Label text="Anglicky:"/>
             <mx:TextInput id="slovickoEn" editable="false" text="Dog" enabled="false"/>
          </mx:HBox>
          <mx:HBox width="100%" verticalAlign="middle" horizontalAlign="center">
             <mx:Label text="Česky:"/>
             <mx:TextInput id="nazor"  enter="kontrola()" enabled="false"/>
          </mx:HBox>
          <mx:HBox width="100%" horizontalAlign="center">
             <mx:Spacer width="50" height="10"/>
             <mx:Button id="odeslat" label="Odeslat" color="#0D8401" click="kontrola()" enabled="false"/>
             <mx:Button id="zrusit" label="Zrušit" color="#0D8401" enabled="false"/>
          </mx:HBox>
          <mx:HBox width="100%" horizontalAlign="center">
             <mx:Spacer width="50" height="10"/>
             <mx:Button id="start" label="Start" color="#0D8401" click="starter()" enabled="true"/>
          </mx:HBox>
       </mx:VBox>
    </mx:WindowedApplication>
    The Run of the program tells me this:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
         at pes/starter()[C:\air\projects\pes\src\pes.mxml:45]
         at pes/__start_click()[C:\air\projects\pes\src\pes.mxml:93]
    I would appreciate any help or a how-to. I am an absolute beginner with some experience from HTML, CSS, PHP and rarely JS. What am I doing wrong? File attached for easier manipulation as well.
    Erthy

    Hi,
    Here is the complete example for the same with the code.Let me know if you have any issue with this.
    http://shardulbartwal.wordpress.com/2008/04/14/adobe-air-and-sqlite-connectivity/
    with Regards,
    Shardul Singh Bartwal

Maybe you are looking for