Oracle 9iLite on Palm with ODBC support

Hi,
I would like to build an application using CodeWarrior (C++) on
PalmOS. What library and header files should be included to
provide ODBC support?
Thank you very much!
Brian HO

Hello
i am creating a shared library using c for palm in Codewarrior7.0.
I have included odbc.h and odbc.lib for static linking and i get an error while compiling my shared library which is
"exec.cpp: _lmul_ referece from execFreeTable(TableEntry_s**, int, int) is undefined
As its giving this error, i removed the odbc.lib and included odbc_stub.ib and installed odbc.prc in palm. The Shard library compiled successfully, but its giving me runtime error as
"Application has written to zero memory location directly".
I have used the same function in application and its working fine. but when i included it in shared library its giving me this kind of problem. Will u help me plz..
Syed
Expecting ur reply soon

Similar Messages

  • Oracle 9i Lite Issue with ODBC driver

    Cannot reference table in user schema without schema ref
    I create a user TESTUSR and a table TESTTBL, and when I log in with user TESTUSR in SQL*Plus,
    the following will work just fine.
    SELECT * FROM TESTTBL
    but then when my ASP on IIS does the same SELECT,
    it will report "[POL-5130] table or view not found".
    But if I use a schema alias,
    SELECT * FROM TESTUSR.TESTTBL
    it will work fine.
    ODBC Admin shows: "Oracle Lite 40 ODBC Driver 4.00.00.00".
    Is this a bug ?

    I connect to the database through the same user that created those tables. Do I still need a public synonym ?

  • Is the Runtime installation of Oracle Client 10.2.0.4 supported with Busine

    Hi all,
    I have a some queries.
    1. Is the Runtime installation of Oracle Client 10.2.0.4 supported with BusinessObjects XI 3.1?
    2. Is the Administration installation of Oracle Client 10.2.0.4 supported with BusinessObjects XI 3.1?
    3. Does BusinessObjects XI 3.1 use Oracle .NET?  I'm asking this because the Runtime installation doesn't install Oracle .NET.
    4. Is there any functionality that is lost from BusinessObjects XI 3.1 if the Runtime installation of Oracle Client 10.2.0.4?
    Regards
    Kultar P

    Hi Kultar,
    I do not have any problem with an Oracle Installation and BO XI 3.0. I have a virtual machine which has oracle database 10.2.0.1 and BO XI 3.0.
    The CMS repository resides in the Oracle DB. From My Experience I do not have any problem with the two installations in the same machine.
    Regards
    Ishaq

  • Is HS Generic Connectivity(db2/400 odbc) supports Distributed Transaction?

    hi,
    Is HS Generic Connectivity(db2/400 odbc) supports Distributed Transaction?
    I am getting an error as follows
    "ORA-02047 cannot join the distributed transaction in progress" when i am trying a transaction, which is inserting in to db2/400 and updating in Oracle.
    if it does not support this, what is the best way
    to do such things using generic connectivity.
    (eg. by committing each sql statement ?)
    my db is oracle 9i 9.2.0.4.0
    remote db is db2/400 connected with client access ODBC.
    Thanks
    BA

    Hi,
    one of the restrictions of generic connectivity is, that distributed transactions are not allowed.
    See manual: 7-6 Oracle9 i Heterogeneous Connectivity Administrator's Guide
    - Generic Connectivity agents cannot participate in distributed transactions; they
    support single-site transactions only
    So you can only commit after each statement or you have to use the GATEWAY

  • Connect Lotus Notes with ODBC driver

    I am trying to figure out connecting SQL Developer with ODBC connection ( set on to ODBC Data Source ) for lotus notes. I am able successfully connect through Excel with that connection. With SQL Developer , its asking for JDBC driver but lotus notes version (R5) what I am using does not support JDBC driver.
    Is there any way to connect using ODBC data source for lotus notes.

    No.
    SQL Developer is a Java based tool and requires JDBC. Theoretically you could use the JDBC-ODBC bridge, but there would be no point. SQL Developer is an Oracle specific development and query tool which allows connection to selected other DBMSs in order to support migration to Oracle. Lotus Notes is not one of the supported systems.
    SQL Developer is NOT a general purpose, multi-DBMS tool.

  • Using XE with ODBC Gateway

    Hi,
    I've found this in XE licence: Generic connectivity: http://download.oracle.com/docs/cd/E17781_01/license.112/e18068/toc.htm#BABIDICB but I would like to be sure- am I allowed to use Oracle's ODBC Gateway [Generic Connectivity] with XE, at no cost?
    Regards
    Bart Dabr
    Edited by: BD on Oct 3, 2011 4:04 PM

    Hi Bart,
    well, you could ask some "Oracle VAD", or search the online store for a price - you won't find any.
    I'd say this is a sure thing when you put all "evidence" given above together.
    I cite them to make it obvious:
    Oracle Database Gateway for ODBC
    Oracle Database Gateway for ODBC can be installed and used on a machine different from the machine where the Oracle Database is installed and used. It is not >necessary to obtain a separate license for the machine running Oracle Gateway for ODBC.
    ODBC support Yes (Windows and UNIX)"Database Gateways", on the other hand, are listed in the [url http://www.oracle.com/us/corporate/pricing/technology-price-list-070617.pdf]US Oracle Technology Commercial Price List as follows (watch the heading)
    Integration Products
    Mainframe Integration Gateways
    Database Gateway for Sybase
    Database Gateway for SQL Server
    Database Gateway for Informix
    Database Gateway for Teradata
    Database Gateway for DRDA
    Database Gateway for APPC
    Database Gateway for WebSphere MQThe list ends there, ODBC is not on it.
    If this all doesn't convince you, you still have the option to contact a VAD.
    -Udo

  • Reading a CLOB Column with ODBC

    When I do a "select colCLOB from Table1", it is truncating the data. It looks like after about 1000 chars(+/-), it puts a bunch of spaces in. I am on 8.1.6. If I use OleDB it works fine. Any Ideas? Thanks!

    Here's Note:115946.1 from our support archives "Using ADO Stream Object and ODBC to Store and Retrieve Blobs in Oracle from VB". This may help you out.
    'In order to use this sample, you must have a table created as follows:
    ' Name: LOB_TABLE
    ' COL: FIELD2 VARCHAR2(50)
    ' COL: BLOBFIELD BLOB
    'You must have references set to ADO 2.5 and Oracle's ODBC Driver 8.1.6
    'Create a standard exe project
    ' Open a new form
    ' Put two command buttons on it
    ' Button #1: cmdSaveToFile
    ' Button #2: cmdSaveToDB
    ' Put the appropriate code in each routine.
    'Modify connection information for your environment
    ' This has been tested using VB 6.0 SP4, Oracle 8.1.6 DB, and Oracle's 8.1.6 ODBC Driver
    Option Explicit
    Dim cn As ADODB.Connection
    Dim rs As ADODB.Recordset
    Dim mStream As ADODB.Stream
    Dim ConnStr As String
    Private Sub cmdSaveToFile_Click()
    Screen.MousePointer = vbHourglass
    Set cn = New ADODB.Connection
    ConnStr = "UID=scott;PWD=tiger;DSN=ora816;"
    Set cn = New ADODB.Connection
    With cn
    .ConnectionString = ConnStr
    .Open
    End With
    ' Open OLEDB connection
    ' cn.Provider = "OraOLEDB.Oracle"
    ' cn.ConnectionString = "Data Source=ora816;" & "User ID=scott;Password=tiger;"
    ' cn.Open
    Set rs = New ADODB.Recordset
    rs.Open "Select * from LOB_TABLE where FIELD2 IS NOT NULL", cn, adOpenKeyset, adLockOptimistic
    ' Create ADO stream object
    Set mStream = New ADODB.Stream
    ' Set it to a binary file type
    mStream.Type = adTypeBinary
    ' Open it
    mStream.Open
    ' This writes the image from the blob field to the buffer
    mStream.Write rs.Fields("BLOBFIELD1").Value
    ' This saves the stream to the file on disk
    mStream.SaveToFile "C:\" & rs.Fields("FIELD2").Value
    mStream.Close
    Set mStream = Nothing
    rs.Close
    Set rs = Nothing
    cn.Close
    Set cn = Nothing
    Screen.MousePointer = vbDefault
    End Sub
    Private Sub cmdSaveToDB_Click()
    Screen.MousePointer = vbHourglass
    Set cn = New ADODB.Connection
    ConnStr = "UID=scott;PWD=tiger;DSN=ora816;"
    Set cn = New ADODB.Connection
    With cn
    .ConnectionString = ConnStr
    .Open
    End With
    ' cn.Provider = "OraOLEDB.Oracle"
    ' cn.ConnectionString = "Data Source=ora816;" & "User ID=scott;Password=tiger;"
    ' cn.Open
    Set rs = New ADODB.Recordset
    rs.Open "Select * from LOB_TABLE", cn, adOpenKeyset, adLockOptimistic
    ' Create the ADO Stream object
    Set mStream = New ADODB.Stream
    ' Make it a binary type
    mStream.Type = adTypeBinary
    ' Open the stream
    mStream.Open
    ' Read the file into the stream buffer
    mStream.LoadFromFile "c:\documents and settings\rlosey\My Documents\My Pictures\DCP_1305.jpg"
    ' Add the blob to the database
    With rs
    .AddNew
    .Fields("BLOBFIELD1").Value = mStream.Read
    .Fields("FIELD2").Value = "DCP_1305.jpg"
    .Update
    End With
    mStream.Close
    Set mStream = Nothing
    rs.Close
    Set rs = Nothing
    cn.Close
    Set cn = Nothing
    Screen.MousePointer = vbDefault
    End Sub
    null

  • Failed to create DNS with ODBC Datadirect Driver - error missing or invalid option

    Dear All,
    I tried to post a first time and get my post thrown away. So please just tell me if that's not the place to post such questions. I tried this forum because I didn't find any revelant information yet on internet.
    I installed Informatica and Oracle 11g, tried to create my DSN with the Driver DataDirect Oracle Wire Protocol. I keep bumping into the message " [Informatica][ODBC Oracle wire protocol driver][Oracle] ora-00922: missing or invalid option".
    Can you please help to understand where the error comes from?
    Here are my current status :
    * My table in the Oracle database is created with every field followed by NOT NULL option, the table is successfully created.
    * The connection to the Oracle database using Oracle TNSNames Connection server name and TNSNames files seem to work, I tried to connect with another driver Oracle in OraDB 11g_home1. This one succeeds.
    * Listener.ora:
    # listener.ora Network Configuration File: C:\app\ql186003\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = C:\app\ql186003\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:C:\app\ql186003\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    ADR_BASE_LISTENER = C:\app\ql186003
    * Running lsnrctl STATUS:
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
    Start Date                22-FEB-2014 21:43:22
    Uptime                    0 days 1 hr. 8 min. 33 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\app\ql186003\product\11.2.0\dbhome_1\network\admin\listener.ora
    Listener Log File         c:\app\ql186003\diag\tnslsnr\WBEQL186003-Q4G\listener\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "TESTDBXDB" has 1 instance(s).
      Instance "testdb", status READY, has 1 handler(s) for this service...
    Service "TEST_DB" has 1 instance(s).
      Instance "testdb", status READY, has 1 handler(s) for this service...
    Service "orcl.TD.TERADATA.COM" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB.TD.TERADATA.COM" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    Thank you very much for any guidance.
    Qiong

    Hi,
    Try this :
    While creating TYPE remove semi colon from end of the statement and also dont use extra / as / means execute last statement so you may encounter error..
    CREATE TYPE ind_tab_supplier1 IS VARRAY(6) OF VARCHAR2(30)
    /

  • Oracle v.7.3.4.4 support

    Is Oracle v.7.3.4.4 is still supported by Oracle?
    I've been looking around the Oracle website and it appears that Oracle v.7.3.4 is supported, but I see there's a v.7.3.4.5 patch level. I'm wondering if you have to be at this latest patch level to be supported.
    Thanks!

    Oracle started desupporting 7.3.4 at the end of 2000 (Error Correction Support ended Dec 31, 2000). Extended support ended on December 31, 2003.
    Now, if you have a current support contract, Oracle may be willing/ able to help you out with the old version or to help you acquire the most recent patches, but that's probably going to depend on whether you happen to get a support analyst that's been around long enough to remember the 7.3.4 days and/or what sort of clout your organization has...
    Justin
    Forgot to include a link to the Metalink desupport & obsolescence doc for 7.3.4
    Message was edited by:
    Justin Cave

  • Oracle 11gR2 RAC problem with resource state

    Hi all,
    I installed Oracle 11gR2 grid infrastructure with 2 nodes and I installed DB 11gR2.
    S.O: HP-UX
    I actived both DB instance in each node.
    For an hardware problem node 1 become unstable (continuos auto reboot).
    I found that the problem was RAM.
    However I note that database resource is in a particular state and i don't able to reset it.
    Performing command crsctl status resource ora.orcl.db this is the result
    ora.orcl.db
    1 OFFLINE UNKNOWN node1 Startup Initiated
    2 ONLINE ONLINE node2 Open
    That UNKNOWN state is really abstruse.
    I tryed to perform crsctl stop resource ora.orcl.db -n node1 and the result is
    CRS-2679: Attempting to clean 'ora.orcl.db' on 'node1'
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    HPUX-ia64 Error: 2: No such file or directory
    Process ID: 0
    Session ID: 0 Serial number: 0
    CRS-2680: Clean of 'ora.orcl.db' on 'node1' failed
    CRS-4000: Command Stop failed, or completed with errors.
    I tryed to perform crsctl start resource ora.orcl.db -n node1 and the result is
    CRS-2662: Resource 'ora.orcl.db' is disabled on server 'node1'
    CRS-4000: Command Start failed, or completed with errors.
    How do I do to reset that UNKNOWN state?
    Thanks in advance.
    Bye
    Alessandro

    I tryed srvctl enable instance -d orcl -i ORCL_1
    but the results is
    srvctl enable instance command is not supported for configuration using server pool.
    I tryed to delete service ora.orcl.db and recreate it.
    Now I have
    NAME=ora.orcl.db
    TYPE=ora.database.type
    TARGET=ONLINE , ONLINE
    STATE=UNKNOWN on node1, OFFLINE
    So Targets are both ONLINE, but if I write crsctl start resource ora.orcl.db
    the result is
    CRS-2679: Attempting to clean 'ora.orcl.db' on 'node1'
    CRS-2672: Attempting to start 'ora.orcl.db' on 'node2'
    CRS-5003: Invalid attribute value: '' for attribute DB_UNIQUE_NAME
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    HPUX-ia64 Error: 2: No such file or directory
    Process ID: 0
    Session ID: 0 Serial number: 0
    CRS-2674: Start of 'ora.orcl.db' on 'node2' failed
    CRS-2679: Attempting to clean 'ora.orcl.db' on 'node2'
    CRS-2681: Clean of 'ora.orcl.db' on 'node2' succeeded
    CRS-2632: There are no more servers to try to place resource 'ora.orcl.db' on that would satisfy its placement policy
    CRS-2680: Clean of 'ora.orcl.db' on 'node1' failed
    CRS-4000: Command Start failed, or completed with errors.
    Where DB_UNIQUE_NAME attribute must be set?
    Any other suggest?
    Thanks in advance.
    Regards.
    Alessandro
    Edited by: Alessandro Zenoni on 21-giu-2010 11.26

  • Two model projects (1 for Oracle, 1 for SQLServer) with 1 view project?

    We are trying to solve the issue of supporting both Oracle and SQLServer backends with our ADF application.  We have read many posts and our application is working against Oracle but have some issues with SQLServer.  The entities are created as SQL92/Java.  Would a better approach be to create separate model projects and then load or build with the appropriate one.  Each would have identical naming so the view would work with either.  At run time we know which type of db is installed. If this was to work how would we specify one over the other when building/running? 
    If I am way off on this idea please let me know and we will continue down the current path.
    Thank you
    Rudy

    Hi Shay,
    Yes, I have been through that document and done everything except the primary key generation.  Our db's do use the Identity/Sequence features for generating primary keys and this cannot be changed due to legacy systems that also access the db.  The error I see against SQLServer when performing a Commit after a CreateInsert, Update, or Delete is this:
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase INVOKE_APPLICATION 5
    javax.faces.el.EvaluationException: oracle.jbo.JboException: [oracle.jbo.DMLException: JBO-26080: Error while selecting entity for GetValueRuleEO]
        at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:58)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
        at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
        at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
        at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
    This happens against multiple entity objects.  The entity PK's are defined as oracle.jbo.Domain.DBSequence with Updatable as Never and no Refresh. Is there a way to set the properties of the application model at runtime, possibly within the initialization servlet?
    Thank you.

  • File upload with ODBC

    Hi,
    I want to upload a file using only the ODBC functions available in PHP to a oracle DB (i'm using a blob column, if this is not correct, please tell me).
    I tried uploading it as a "normal" query but it doesn't work, oracle gives error...
    So i'm asking if someone could give some snippets of code, tips, links, anything about this issue. Or if this is simply not possible to do with ODBC...
    Thanks in advance for your time

    This might help.
    $handle = fopen($_FILES['filename']['tmp_name'],'r');
    $file_content = fread($handle,filesize($_FILES['filename']['tmp_name']));
    fclose($handle);
    $encoded = chunk_split(base64_encode($file_content));
    then the $encoded variable would be used as you blob column value.
    Then when retrieving the value you would need to base64_decode() the data to get it back into the original form.
    Hopefully this helps.

  • Instant client with ODBC driver

    Hi, I have problem with the instant client version 10.2 with ODBC driver. I have the instant client base package and ODBC package installed in my computer. the Oracle ODBC driver did appear in the ODBC driver list, when I test the connection with driver, it gives error "Unable to connect, SQLState=08004 [ORACLE] [ODBC] ORA-12154 TNS could not resolve the connect identifier specified" I have another computer which has Oracle 8i client installed and works fine. I copied sqlnet.ora and tnsnames.ora to the instantclient installation folder, same error appears. here is the contents of sqlnet.ora:
    # SQLNET.ORA Network Configuration File: c:\oracle8i\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES)
    here is the contents of tnsname.ora:
    # TNSNAMES.ORA Network Configuration File: c:\oracle8i\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    barkeep =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xxx.xxx.xxx)(PORT = 1521))
    (CONNECT_DATA =
    (SID = barkeep)
    I test the host connection with telnet, it works.
    can anybody out there walk me through how to set up instant client?
    thanks.

    Thanks Sanjay - I had this problem and your suggestion fixed it: setting the TNS_ADMIN did the trick.
    Note: This was on a development PC which already had the Oracle Client drivers installed (so I already had a different TNS_NAMES.ORA in that installation).
    It is worth noting that on my target deployment machine which DOESN'T have the Oracle Client drivers (just the InstantClient + Instant-ODBC) I didn't need to set TNS_ADMIN
    I'm using the 11g InstantClient (11.1.0.6.0 32 bit)
    Hope this helps someone, and thanks again Sanjay for posting :o)

  • Can we run oracle Forms 5 Application with 10G in Client/Server?

    Hi All,
    Can we run oracle Forms 5 Application with 10G in Client/Server
    Mode?
    Regards
    Gaurav

    In theory you can run it 2 tier - which means that you have the client (the machine the user is sitting at) being the same machine in which the forms application server is running. So yes. But specifically, we don't support a client server runtime anymore. 6i was the last version.
    With 10g you will be running through a browser.
    Regards
    grant

  • Does Oracle XE 10g or 11g  have supported patches/bug fixes

    Does Oracle XE 10g or 11g  have supported patches/bug fixes?

    XE isn't patch-able, unfortunately- eg. in the section ...Major Features Not Included at http://docs.oracle.com/cd/E17781_01/license.112/e18068/toc.htm#XELIC116 a "patch set" is one of the "not included" items
    One could install one of the full release editions, get it patched, and upgrade an XE instance with the patch-able edition, but access to patches requires a support agreement.

Maybe you are looking for

  • Approval workflow in the rooms

    Hello to all, i need to active the approval workflow for the room's documents. One member create a new document, and only he and the leader should see the document, and when the leader approve the document the others members should see this document.

  • Is there a certain way to uyse Avery 5160/8160 labels with a new HP7510 all in one-lables always jam

    been trying to print Avery 5160/8160 labels in a new 7510 e all in one and the label page james every time should i be doing something different?

  • Download from the App Store question...

    I just put an SD card into my Palm Centro and downloaded 2 apps from the App store.  Received confirmation that the download was completed. When I look at the info in the card it shows no icons. When I check the free space on the card, it shows nothi

  • Using Gimpshop - the application gimp-2.2 quit unexpectedly

    Hi there, When I try to open the gimp.app program, first a window pops up that says "caching fonts" and another window with a header 'xterm' comes up and in the xterm window it says "bash-3.2$". After a minute or so, the "the application gimp-2.2 qui

  • Lost subscribed calendars when migrating to iCloud

    My husband and I each have Mobile Me subscriptions.  I subscribe to two of his calendars.   I have migrated to iCloud (he has not yet) and I have lost his subscriptions.  I have resent the inviations to subscribe but this doesn't work.  Any suggestio