Dbt problem in 8.1.7

I have written a select statement as part of cursor in a
Database Trigger, the following statement works fine in Oracle
8i ver 8.1.5.0 but the same statement returns error PLS-00103
(Parser related error) in Oracle 8i version 8.1.7.0!!!!!!
The error shown is
PLS-00103Encountered the symbol")" when expecting one of the
following:
from
The Sql statement in a Database Trigger is as follows
select opn_stk,iss_qty,rec_qty,ROWID
from mnth_bal
where to_date(lpad(to_char(month),2,'0')||to_char
(year),'mmyyyy') >= SYSDATE AND
REV_NO = :NEW.REV_NO AND
ITEM_STOCK_ITEM_CD = :NEW.ITEM_CD and
unit_cd = :NEW.unit_cd and
store_cd = :new.store_cd
order by to_date(lpad(to_char(month),2,'0')
||to_char(year),'mmyyyy') ;
Can any one please tell me whats the problem ? In 8.1.5.0 the
same statement in the trigger runs absolutely fine &
compiles.Because of this problem the trigger is not compiling in
8.1.7.0
Would be grateful for any solutions given

in order to start the database manually including opening is so:
SET ORACLE_SID=database_sid
sqlplus /nolog
conn / as sysdba
startup
if the database is mounted you can open so:
SET ORACLE_SID=database_sid
sqlplus /nolog
conn / as sysdba
alter database open;
Joel Pérez

Similar Messages

  • D-Link DBT-120 Ver C1 problems

    This one has me stumped. I just purchased a D-Link DBT-120 Ver C1 Bluetooth Adapter (the newest) yesterday at the Apple Store, to use with my cell phone and also a wireless headset. The cellphone (Moto V360) works great, but I am unable to get the headset (Jabra BT160) to work.
    The problem appears to be that Apple's v1.2 and v1.2.1 bluetooth firmware updater appears not to recognize the Ver C1 DBT-120 adapter yet. When I try to blast the firmware, it finds the adapter and gives me this message:
    "The Bluetooth module in this computer is not supported by this firmware updater."
    So I assume that Apple needs to release a new firmware updater that recognizes C1, aloing with B2/3/4?
    Has anyone had success getting their Ver C1 adapter to work with a bluetooth headset?
    Thanks,
    Sky
    Powermac G5 Dual 2.3 (2005)   Mac OS X (10.4.7)   D-Link DBT-120 Ver C1 Bluetooth Adapter

    Non apple hardware is the main point Apple will have to solve soon, if it wants to be #1.
    Unfortunately, Windoze are light-years ahead of Mac OS supporting all kind of hardware.
    Apple's support of hardware is pale, compared to Windoze.
    Another thing we customers have to kick some a**es is how some companies deal with mac users. Belkin, for example, sells a Bluetooth dongle F8T012 that is a shame. They put on the box the text:
    "works on Windows and Mac OS X" and an little observation
    Mac OS X drivers are provided by Apple.
    What kind of company is Belkin? They want to get mac customer's money but not even want to have any trouble developing the driver?
    I definitevely will never buy Belkin again. This is the second time I see something like that.
    I have a band new belkin Bluetooth 2+edr dongle + a brand new plantronics voyager 510 and they simply don't work on mac because belking is too busy to develop a decent driver for their product.
    The only job they will give me is to go back the dealer for a refund.

  • DBT-120 Problems and Questions

    I'm having two different problems with two different DBT-120s. The DBT-120 (H/W B3) which I've been using for nearly two years is suddenly working sporadically at best. The lights only come on for about 10-20 sec and then go dark, and the only way to lite them is to remove and replace it in the USB. I have to try this time and again for 20 minutes before it will finally discover my Apple wireless keyboard and mouse. The problem exists without regard to the USB port used, so that's not the issue. I suspected that it was simply failing after a lifetime of solid use, so I purchased another one. The new DBT-120, now H/W C1, lights perfectly but does not discover the keyboard or mouse at all, under any circumstances that I can determine. My system meets the minimum standards as listed on the packaging. I've also tried to update the firmware, but my system informed me that it was not needed.
    Two questions: 1) Is there some underlying reason why the C1 120 will not work with my K/M, which were both the first such bluetooths released by Apple?
    2) Am I right in assuming that the B3 120 was failing, or is there something else going on here?
    G4 1 GHz x 2   Mac OS X (10.4.7)   maxed out RAM, stunningly high HD availability

    I, too, have just encountered a significant problem with the DBT-120 (v. 3). It worked fine for several weeks (I purchased it from the Apple online store at the end of March), but, I think, BT was interfering with my Apple Airport base station, so I disabled BT--although I kept the DBT plugged in to a USB port. Yesterday I attempted to connect a new Mighty Mouse using the DBT-120. Nada. The light on the DBT-120 would not work. I plugged it into several different USB ports (and even my Windows laptop) and it still wouldn't work. I checked with D-Link. The technician told me the problem was with the BT software on the Mighty Mouse CD. I tried to uninstall the software, but I don't think I succeeded. At any rate, I believe the problem is with the DBT and have so advised D-Link. Awaiting a response. (There's supposed to be a year warranty. Apple, by the way, will not honor this; the company refers buyers of 3rd-party equipment to the manufacturer.)
    The Mighty Mouse works fine on my G4 PowerBook, which has built-in BT.
    I'm inclined to agree with one of the posts: Bluetooth, at least as an add-on to the PowerMac G5, is not ready for prime time.

  • BDB 4.6 D Dbt::get_dlen Method Question/Problem

    I'm using a cursor to iterate through a BDB 4.6 file using:
    System::Data::DataTable^ dt;
    mydbfile.cursor(NULL, &cursorp, 0);          
    while ( cursorp->get(&key, &data, DB_NEXT) == 0 )
    u_int32_t key_len = key.get_dllen(); // always get 0
    u_int32_t data_len = data.get_dlen(); // always get 0 even though (char*)data.get_data() returns valid ptr to char string
    String^ key_str = gcnew String((char*)key.get_data());
    String^ data_str = gcnew String((char*)data.get_data());
    dt->Rows->Add(key_str,data_str);
    As the code comments show above, the get_dllen() method always returns zero
    even though a valid ptr is returned to null terminated key and data strings.
    Thus I'm not sure that I'm reading all the data that is present.
    What am I doing wrong?
    Thanks,
    Tom Fisher

    Hello,
    Is the get_size() method what you want to use to return the data array size? get_dlen() returns the length of the partial record read or written by the application and may not be what you want. The documentation on the Dbt handle is at:
    http://www.oracle.com/technology/documentation/berkeley-db/db/api_reference/CXX/dbt.html
    Thanks,
    Sandra

  • D-Link DBT-122, problem with Apple fimware updater

    Few days ago,I bought a D-Link DBT-122 usb bluetooth adapter (the new model of dbt-120 and the "only" actual model of the D-Link) to connect my BT headset JABRA with my mac-mini, but even if the OS system find the usb BT adapter, it not permit the pairing with headset (error message: this hw not support...".
    I tried to use the firmware update, as suggested from other post and as suggested in the apple support webpage, but I receive an other error message about an hardware not suppoted..." and not permit the firmware update.
    It is strange since all D-Link products derived from DBT-120 are supported from firmware updater (you can read in the apple webpage support about bluetooth firmware updater: "...The Bluetooth Firmware Updater is for D-Link USB Adapters (revision B2 or later), and Apple internal Bluetooth modules on PowerBooks, PowerMacs, iMacs, iBooks, and eMacs. ..."
    Please help me !

    You need the D-Link DBT-120. Search this forum for the D-Link DBT-122. It has Broadcom Bluetooth chipset instead of the CSR BlueCore chipset which is required by the Apple Bluetooth Firmware Updater.
    The D-Link DBT-122 is not a newer D-Link DBT-120. It is a different product. There are some Bluetooth 2.0+EDR adapters which should work out of the box – but I have no brand name or model sold worldwide, yet.

  • Bluetooth/DBT-120 problem

    have a program BluePhone Elite. all worked great with the cube. the first time I tried it on the iMac, it crashed hard. I thought nothing of it and didn't think about it until now. it has been doing the hard crash for a few hours now. I thought it was the program's prefs file, so I deleted it. then I opened bluetooth and the program, then reversed the order. same results. then I tried just the phone. same results. within a minute everything freezes and I have to do a shutdown and restart. will try the older keyboard next but any suggestions?
    thanks

    Have you checked your crash logs? Or check that you're running the latest BluePhoneElite - it's updated quite frequently.

  • Error in  Securities DBT  update types

    Hi experts
    We are using securities module (Transaction manager) to manage our stock (equity) transactions.
    We have defined the update types for (DBT_E001 and DBT_B001) as not relevant to posting as i do not want to post the gain / loss on sale of securities in some companies (say A) using these DBTs.
    However for a few other companies (say B) i have to post the accounting entries. Hence we have made the update type relevant to posting.
    But with this it generates accounting entries for co code A as well as B.
    I have also tried to make "offline" in control of online calculation of DBT. but it only postpones the flow generation. i have to generate and post the flows before i do key date valuation.
    I want to activate DBT flows for co code B but not for A.
    Please suggest
    Regards
    Gaurav Gupta

    Hi Gaurav,
    Your rqmt can not be addressed by making update types relevant for posting, as update types are not cocd specific. You need to use following specifications seperately for each company code:
    a. seperate  Accounting Code for each cocd if the valuation class is same for both cocd, else maintain different valuation class.
    b. Different Position Management procedure for each Company Code based on few Key fields (Accounting code/Val Class)
    c. Assignment of each PMP to respective Acct Code/Valuation Class
    d. Then you copy existing update type DBT_E001 and DBT_B001 and make a copy.
    e. Mark newly created update type not for posting
    f. Assign newly created update type in Dervied Business Transactions of new PMP instead of DBT_E001 and DBT_B001
    By setting above, for both cocd the flows generated by system will be same but with different update type and one set of update type is already marked for posting and other not.
    Otherthan this, another alternative is to maintain dummy GLs in Acct Determination so that no amount will post to actual GLs based on Cocd.
    Hope this will solve your problem.
    Regards
    Prasad AV

  • Java API, problem with secondary keys using multi key creator

    Hi,
    I'm developing an application that inserts a few 100k or so records into a Queue DB, then access them using one of four Hash SecondaryDatabases. Three of these secondary dbs use a SecondaryMultiKeyCreator to generate the keys, and one uses a SecondaryKeyCreator. As a test, I'm trying to iterate through each secondary key. When trying to iterate through the keys of any of the secondary databases that use a SecondaryMultiKeyCreator, I have problems. I'm attempting to iterate through the keys by:
    1: creating a StoredMap of the SecondaryDatabase
    2: getting a StoredKeySet from said map
    3: getting a StoredIterator on said StoredKeySet
    4: iterate
    The first call to StoredIterator.next() fails at my key binding (TupleBinding) because it is only receiving 2 bytes of data for the key, when it should be getting more, so an Exception is thrown. I suspected a problem with my SecondaryMultiKeyCreator, so I added some debug code to check the size of the DatabaseEntries it creates immediately before adding them to the results key Set. It checks out right. I also checked my key binding like so:
    1: use binding to convert the key object to a DatabaseEntry
    2: use binding to convert the created DatabaseEntry back to a key object
    3: check to see if the old object contains the same data as the new one
    Everything checked out ok.
    What it boils down to is this: my key creator is adding DatabaseEntries of the correct size to the results set, but when the keys are being read back later on, my key binding is only receiving 2 bytes of data. For the one SecondaryDatabase that doesn't use a SecondaryMultiKeyCreator, but just a SecondaryKeyCreator, there are no issues and I am able to iterate through its secondary keys as expected.
    EDIT: New discovery: if I only add ONE DatabaseEntry to the results set in my SecondaryMultiKeyCreator, I am able to iterate through the keys as I would like to.
    Any ideas or suggestions?
    Thank you for your attention,
    -Justin
    Message was edited by:
    Steamroller

    Hi Justin,
    Sorry about the delayed response here. I have created a patch that resolves the problem.
    If you apply the patch to your 4.6.21 source tree, and then rebuild Berkeley DB, the improper behavior should be resolved.
    Regards,
    Alex
    diff -rc db/db_am.c db/db_am.c
    *** db/db_am.c     Thu Jun 14 04:21:30 2007
    --- db/db_am.c     Fri Jun 13 11:20:28 2008
    *** 331,338 ****
           F_SET(dbc, DBC_TRANSIENT);
    !      switch (flags) {
    !      case DB_APPEND:
                 * If there is an append callback, the value stored in
                 * data->data may be replaced and then freed.  To avoid
    --- 331,337 ----
           F_SET(dbc, DBC_TRANSIENT);
    !       if (flags == DB_APPEND && LIST_FIRST(&dbp->s_secondaries) == NULL) {
                 * If there is an append callback, the value stored in
                 * data->data may be replaced and then freed.  To avoid
    *** 367,388 ****
    -            * Secondary indices:  since we've returned zero from an append
    -            * function, we've just put a record, and done so outside
    -            * __dbc_put.  We know we're not a secondary-- the interface
    -            * prevents puts on them--but we may be a primary.  If so,
    -            * update our secondary indices appropriately.
    -            * If the application is managing this key's data, we need a
    -            * copy of it here.  It will be freed in __db_put_pp.
    -           DB_ASSERT(dbenv, !F_ISSET(dbp, DB_AM_SECONDARY));
    -           if (LIST_FIRST(&dbp->s_secondaries) != NULL &&
    -               (ret = __dbt_usercopy(dbenv, key)) == 0)
    -                ret = __db_append_primary(dbc, key, &tdata);
                 * The append callback, if one exists, may have allocated
                 * a new tdata.data buffer.  If so, free it.
    --- 366,371 ----
    *** 390,401 ****
                /* No need for a cursor put;  we're done. */
                goto done;
    !      default:
    !           /* Fall through to normal cursor put. */
    !           break;
    !      if (ret == 0)
                ret = __dbc_put(dbc,
                    key, data, flags == 0 ? DB_KEYLAST : flags);
    --- 373,379 ----
                /* No need for a cursor put;  we're done. */
                goto done;
    !      } else
                ret = __dbc_put(dbc,
                    key, data, flags == 0 ? DB_KEYLAST : flags);
    diff -rc db/db_cam.c db/db_cam.c
    *** db/db_cam.c     Tue Jun  5 21:46:24 2007
    --- db/db_cam.c     Thu Jun 12 16:41:29 2008
    *** 899,905 ****
           DB_ENV *dbenv;
           DB dbp, sdbp;
           DBC dbc_n, oldopd, opd, sdbc, *pdbc;
    !      DBT olddata, oldpkey, newdata, pkey, temppkey, tempskey;
           DBT all_skeys, skeyp, *tskeyp;
           db_pgno_t pgno;
           int cmp, have_oldrec, ispartial, nodel, re_pad, ret, s_count, t_ret;
    --- 899,905 ----
           DB_ENV *dbenv;
           DB dbp, sdbp;
           DBC dbc_n, oldopd, opd, sdbc, *pdbc;
    !      DBT olddata, oldpkey, newdata, pkey, temppkey, tempskey, tdata;
           DBT all_skeys, skeyp, *tskeyp;
           db_pgno_t pgno;
           int cmp, have_oldrec, ispartial, nodel, re_pad, ret, s_count, t_ret;
    *** 1019,1026 ****
            * should have been caught by the checking routine, but
            * add a sprinkling of paranoia.
    !      DB_ASSERT(dbenv, flags == DB_CURRENT || flags == DB_KEYFIRST ||
    !            flags == DB_KEYLAST || flags == DB_NOOVERWRITE);
            * We'll want to use DB_RMW in a few places, but it's only legal
    --- 1019,1027 ----
            * should have been caught by the checking routine, but
            * add a sprinkling of paranoia.
    !       DB_ASSERT(dbenv, flags == DB_APPEND || flags == DB_CURRENT ||
    !             flags == DB_KEYFIRST || flags == DB_KEYLAST ||
    !             flags == DB_NOOVERWRITE);
            * We'll want to use DB_RMW in a few places, but it's only legal
    *** 1048,1053 ****
    --- 1049,1107 ----
                     goto err;
                have_oldrec = 1; /* We've looked for the old record. */
    +      } else if (flags == DB_APPEND) {
    +           /*
    +            * With DB_APPEND, we need to do the insert to populate the
    +            * key value. So we swap the 'normal' order of updating
    +            * secondary / verifying foreign databases and inserting.
    +            *
    +            * If there is an append callback, the value stored in
    +            * data->data may be replaced and then freed.  To avoid
    +            * passing a freed pointer back to the user, just operate
    +            * on a copy of the data DBT.
    +            */
    +           tdata = *data;
    +           /*
    +            * If this cursor is going to be closed immediately, we don't
    +            * need to take precautions to clean it up on error.
    +            */
    +           if (F_ISSET(dbc_arg, DBC_TRANSIENT))
    +                dbc_n = dbc_arg;
    +           else if ((ret = __dbc_idup(dbc_arg, &dbc_n, 0)) != 0)
    +                goto err;
    +
    +           pgno = PGNO_INVALID;
    +
    +           /*
    +            * Append isn't a normal put operation;  call the appropriate
    +            * access method's append function.
    +            */
    +           switch (dbp->type) {
    +           case DB_QUEUE:
    +                if ((ret = __qam_append(dbc_n, key, &tdata)) != 0)
    +                     goto err;
    +                break;
    +           case DB_RECNO:
    +                if ((ret = __ram_append(dbc_n, key, &tdata)) != 0)
    +                     goto err;
    +                break;
    +           default:
    +                /* The interface should prevent this. */
    +                DB_ASSERT(dbenv,
    +                    dbp->type == DB_QUEUE || dbp->type == DB_RECNO);
    +
    +                ret = __db_ferr(dbenv, "DBC->put", 0);
    +                goto err;
    +           }
    +           /*
    +            * The append callback, if one exists, may have allocated
    +            * a new tdata.data buffer.  If so, free it.
    +            */
    +           FREE_IF_NEEDED(dbenv, &tdata);
    +           pkey.data = key->data;
    +           pkey.size = key->size;
    +           /* An append cannot be replacing an existing item. */
    +           nodel = 1;
           } else {
                /* Set pkey so we can use &pkey everywhere instead of key.  */
                pkey.data = key->data;
    *** 1400,1405 ****
    --- 1454,1465 ----
      skip_s_update:
    +       * If this is an append operation, the insert was done prior to the
    +       * secondary updates, so we are finished.
    +       */
    +      if (flags == DB_APPEND)
    +           goto done;
    +      /*
            * If we have an off-page duplicates cursor, and the operation applies
            * to it, perform the operation.  Duplicate the cursor and call the
            * underlying function.

  • Help needed in solving a problem, thanks. Code Attached..

    Hello All
    I am facing a problem working with Berkely DB 4.5.20. I am trying to search in the database whether the key is already present or not. It is working fine with Microsoft Visual Studio but when i use the same code with Code::Blocks editor and MinGW compiler. It is not workig fine.
    The code for searching the key is*****
    bool CDbProject::IsKeyIndexAvailable(ProjectKey ProKey, UINT DataIndex)
    int ret=0;
    Dbc *cursorp;
    bool flag=false;
    cursor(NULL, &cursorp, 0);
    //set the key
    Dbt key(&ProKey, sizeof(ProKey));
    Dbt data;
    //search the database for the key.
    ret = cursorp->get(&key, &data, DB_SET);
    //ret = cursorp->get(&key, &data, DB_NEXT); //Rohit
    if (!ret)
    { //if found check if the index is same
    do
    ProjectDataDetail *myProjDetails;
    myProjDetails = (ProjectDataDetail*)data.get_data();
    if (myProjDetails->uIndex==DataIndex)
    flag = true;
    break;
    } while (cursorp->get(&key, &data, DB_NEXT_DUP) == 0); //Loop all the duplicate
    if (cursorp != NULL)
    cursorp->close();
    return flag;
    And the function to save the data in the database is *******
    int CDbHandler::Put(void* pKey, size_t nKeyLen, void* pData, size_t nDataLen)
         int ret = 0;
         Dbt key(pKey, nKeyLen);
         Dbt data(pData, nDataLen);
    ret = put(NULL, &key, &data, DB_NODUPDATA);
    if (ret==-30996)
    ret = ERR_PROJECT_KEY_DATA_ALREADY_EXISTS;
    return ret;
    Please help...
    Thanks in advance,,,
    Message was edited by:
    user610238

    Thanks for the reply Sandra
    I try to tell what is happening in the search key function, If still not possible, then i will try to create a stand alone application...
    bool CDbProject::IsKeyIndexAvailable(ProjectKey ProKey, UINT DataIndex)
    int ret=0;
    Dbc *cursorp;
    bool flag=false;
    cursor(NULL, &cursorp, 0);
    //set the key
    Dbt key(&ProKey, sizeof(ProKey));
    Dbt data;
    //search the database for the key.
    // SANDRA......If i use DB_SET,as you can see below. It is not able to find the key at all. BUt if i use DB_NEXT, then it is able to find the first key only everytime with the data also (Even if i am looking for some other key, it will find the first key saved always..)
    ret = cursorp->get(&key, &data, DB_SET);
    //ret = cursorp->get(&key, &data, DB_NEXT); //Rohit
    if (!ret)
    { //if found check if the index is same
    do
    ProjectDataDetail *myProjDetails;
    myProjDetails = (ProjectDataDetail*)data.get_data();
    if (myProjDetails->uIndex==DataIndex)
    flag = true;
    break;
    } while (cursorp->get(&key, &data, DB_NEXT_DUP) == 0); //Loop all the duplicate
    if (cursorp != NULL)
    cursorp->close();
    return flag;
    }

  • D-Link DBT-122 USB Bluetooth Adapter - how to make it support 2 devices?

    For Macs not originally equipped with Bluetooth hardware Apple used to recommend purchasing D-Link's DBT-120 (rev. B or later). If I understand correctly, after pluggin-in the device it was necessary to run Apple's Bluetooth Firmware update 1.3.3 to get it working.
    The DBT-120 device may still be available for purchase in some parts of the world but in Europe D-Link is now selling the replacement DBT-122 (no revision is indicated). The device is advertised as being 'Mac-compatible (check, for instance, http://www.dlink.co.uk/?go=gNTyP9CgrdFOIC4AStFCF834mptYKO9ZTdvhLPG3yV3oVIF+h6ltb NlwaaFp6DQoHDrqyyRF/okIB9vv ).
    My problem is after having plugged-in my brand new DBT-122 onto an USB port of my 'old' G4 eMac, I can get my Bluetooth Mighty Mouse working, or my Bluetooth Apple Keyboard working, BUT NOT BOTH AT THE SAME TIME. When I have them both connected, disconnections occur all the time (either the mouse or the keyboard, apparently at random).
    Tried to run Bluetooth Updater 1.3.3 but the thing tells me that there is no Bluetooth device to update. I suppose it is loooking for a DBT-120 and I have a DBT-122.
    Anyone with a suggestion on anything I should try to have both my mouse and keyboard working via my new bluetooth adpater?
    (No use to contact D-Link support, they don't know anything about Macs and the only thing they have been instructed to respond is 'its an Apple problem'. And they charge you for that - the hotline is expensive!)
    Cheers

    Hi,
    i'm having the same problem. The Apple Store recommends purchasing the D-Link DBT-120, but doesn't actually sell it since it has been superceded by the DBT-122 in Europe. Apple should know this. While D-Link market the DBT-122 as the replacement for the DBT-120 that is also compatible with Macs, from what i have been able to find out the 120 and the 122 use different chipsets and OSX cannot recognize all the features of the DBT-122's firmware. That is also why OSX's firmware updater software doesn't work with the DBT-122.
    Like you, i can get the DBT-122 to work with either the keyboard or mouse but not both at the same time.
    In any case even if you got both the keyboard and mouse working wirelessly there would be no way of waking the computer from sleep since the 'allow bluetooth device to wake computer from sleep' option is greyed out - this is only available if the firmware is supported. Presumably Apple will have to release software to support the DBT-122, if the earlier model is no longer in production. I think both Apple and D-Link are at fault here.

  • Solved Bluetooth cell phone pairing problem after 10.4.8 update

    I am not sure why it works this way,but I tested it a few times and it was consistant.First I updated to version 10.4.8 . The 3 motorola razor phones I have were not able to pair anymore at all.Under 10.4.7 file transfers were no problem and pairing always occured.I use the d-link dbt 120 bluetooth adapter and until now (with 10.4.8) communication was never a problem when the adapter was attached to my belkin hub where it has a docking area for flash drives and mp3 players etc... .
    When I now try to use the adapter on the usb hub it doesn't work now at all.I get messages that communication is not possible etc... . When I put the adapter on the one usb port on the front of my powermac g5 then I get very quick pairing ,file transfers etc... . I moved the bluetooth adapter back and fourth between the hub and the front of the computer and the result was always the same.The port on the mac works and others don't anymore.
    The other ports on the usb hub worked fine with 10.4.7 but not with 10.4.8. It seems like the hub fell from grace or something with the new update. I felt better when I could get it to work. I wish I would have found this out before I did the archive and install though to go back to 10.4.7 .
    I reupgraded to 10.4.8 then found the solution to my problem maybe 10 minutes away from a second archive and install to take me back to 10.4.7.

    Hi Ralph,
    Thanks for your response! Unfortunately I am enough of a newbie not to understand the implication of what you said Where should I look for these devices, and are they conflicting with iChat somehow? Do you mind telling me what action to take to fix this?
    In the meantime I did a 10.4.9 update and airport stopped working completely. I talked to Apple support and they had me do a factory reset on my airport extreme basestation and reconfigure it in order to get to work again, and I have not tried video iChat since that happened.
    Thanks!
    Seleya
    Powerbook 15" Hi Res 1.67 GHz 2 Gb RAM   Mac OS X (10.4.9)  
    Powerbook 15" Hi Res 1.67 GHz 2 Gb RAM   Mac OS X (10.4.9)  

  • Problem about put and get

    hi there,
    I met a problem, when i put the data, and get it.
    key data
    aaa aaaaaa
    bbb bbbbbb
    ccc cccccc
    I have put "aaa", "bbb" and "ccc" into db, but when I try to get the key for "aaa" , "bbb", it return the data "cccccc", how can I solve it?
    after that, when i get the key "ddd", "eee" , and all strings are length 3, the key does not in the DB, it also return the data "cccccc". Did I do something wrong on my code?
    void Set1(CString sKey)
    int ret;
    std::string sdb = "test.db";
    Db db(NULL, 0);
    ret = db.open(NULL,
         sdb.c_str(),
         NULL,
         DB_BTREE,
    DB_CREATE,
         0);
    std::string skey, sdata;
    skey = sKey;
    sdata.append(skey);
    sdata.append(skey);
    Dbt key(&skey, skey.length());
    Dbt data(&sdata, sdata.length());
    ret = db.put(NULL, &key, &data, 0);
    if(ret==0){
    TRACE("success\n");
    ret = db.close(0);
    void Get1(CString sKey)
    int ret;
    std::string sdb = "test.db";
    ret = db.open(NULL,
    sdb.c_str(),
         NULL,
         DB_BTREE,
         DB_CREATE,
         0);
    Dbc *cur;
    ret = db.cursor(NULL, &cur, 0);
    std::string skey, s2, a2;
    skey = sKey;
    Dbt key(&skey, skey.length());
    Dbt data;
    memset(&data, 0, sizeof(data));
    ret = cur->get(&key, &data, DB_SET);
    if(ret!=DB_NOTFOUND){
    a2 = (std::string*) data.get_data();
    s2 = (std::string*) key.get_data();
    TRACE("FOUND %s %s\n", s2->c_str(), a2->c_str());
    ret = cur->close();
    ret = db.close(0);
    }

    Hi,
    The problem seems to be with these lines:
    std::string skey, sdata;
    Dbt key(&skey, skey.length());
    Dbt data(&sdata, sdata.length());You are constructing a Dbt with data that is actually a pointer to a C++ std::string object. You want the value to be an actual c style string.
    An alternative would be to construct the Dbts like:
    Dbt key(skey.c_str(), skey.length());
    Dbt data(sdata.c_str(), sdata.length());You will need to create a new std::string out of any data retrieved from the database as well. Since it will now be just a C-style char * string.
    I hope this helps.
    Regards,
    Alex Gorrod, Oracle

  • Strange problem while building a secondary index.

    Hi,
    I have a strange problem in creating a secondary index which is a part of primary data.
    I tested my program and a working sample program
    My data scheme looks like:
       Key = unique string
       Data = structure {
                        time_t timestamp;
        Secondary Key = timestamp in data (NOT unique)
    My BDB environment flags is "DB_CREATE | DB_INIT_CDB | DB_INIT_MPOOL | DB_THREAD"
    The primary DB is created as BTREE with a custom key compare function provided by calling DB->set_bt_compare.
    int my_key_compare(DB *db, const DBT *key1, const DBT *key2)
         const char *k1_v = (const char *)key1->data;
         const char *k2_v = (const char *)key2->data;
         return strcmp(k1_v, k2_v);
    The secondary Index DB is created as BTREE while permitting duplication. (DB_DUPSORT)
    It has two custom callback functions; one for data compare, the other for extracting a data from the primary data.
    int my_extract_timestamp(DB *db, const DBT *primary_key, const DBT *primary_data, DBT *secdondary_key)
         secondary_key->data = ( (MY_DATA *)(primary_data->data))->timestamp;
         secondary_key->size = sizeof(time_t);
         return 0;
    int my_secondary_dup_compare(DB *db, const DBT *key1, const DBT *key2)
         time_t      k1_v = *(time_t *)key1->data;
         time_t      k2_v = *(time_t *)key2->data;
         return k1_v - k2_v;
    The function 'my_extract_timestamp' is set by calling DB->associate().
    My problem is 'my_secondary_dup_compare' function called with a strange DBT values.
    I think the values should point to the value provided from my_extract_timestamp(), but they pointed to
    the key which provided when calling DB->put on the primary DB.
    Could somebody help me ?
    Any help highly appreciated.

    Hi,
    In the secondary database, the key is what you extract and the data is the key of the primary database. As your primary key is a unique string, your data in secondary database is also a unique string. The DB->set_dup_compare sets the comparison function for the duplicate data, so you are comparing time stamps on unique strings, not on what you extract.
    As you are comparing the time stamps which are the keys of secondary database, I guess here you want to set the bt_compare function instead of the dup_compare for the secondary database.
    Also, about this sentence:
    secondary_key->data = ( (MY_DATA *)(primary_data->data))->timestamp;
    The DBT.data should be an address, but this is a value here instead of an address.
    Regards,
    Winter, Oracle Berkeley DB

  • Bluetooth adapter DBT-122 from DLink. compliant with JSR-82?

    Hi I have a Bluetooth adapter DBT-122 from DLink.
    I would like to program java application in my PC using bluetooth USB adapter. I have a driver called widcomm for it. I am wondeing whether the driver and adapter are JAR-82 compliant.
    I checked with with Dlink and Broadcom which took over widcomm and they gave me no replies. Is there anyone who knows it? If not, dow do I do about the driver and adapter? I am very eager to do programming in java application for Bluettoth in PC to talk with cellphone.
    regards,
    Clement

    Low quality is not a problem. I work in an office that forbids ANY ambient music in the background (!!), and since I have to interact with others I need to keep an ear open rather than having a stereo headset mounted on my head. Having a single ear listening to some 'tunes is ideal, and the freedom of going wireless is very appealling! It would give me the ability to block out the annoying and distracting conversations for when my own concentration on the task at hand is critical, and also give me the freedom to move about without being tethered.
    I've ordered a DBT-120 bluetooth adapter. It had *better* work to pipe my iTunes songs to the headset! I've got both Mac and Windows machines in front of me at my desk, but prefer to use the Mac. The current iogear bluetooth adapter I have does work on Windows, so I guess I have an option even if the DBT-120/Mac combination doesn't work out.

  • Problems with retrieving data from tables with 240 and more records

    Hi,
    I've been connecting to Oracle 11g Server (not sure exact version) using Oracle 10.1.0 Client and O10 Oracle 10g driver. Everything was ok.
    I installed Oracle 11.2.0 Client and I started to have problems with retrieving data from tables.
    First I used the same connection string, driver and so on (O10 Oracle 10g) then I tried ORA Oracle but with no luck. The result is like this:
    I'm able to connect to database. I'm able to retrieve data but from small tables (e.g. with 110 records it works perfectly using both O10 and ORA drivers). When I try to retrieve data from tables with like 240 and more records retrieval simply hangs (nothing happens at all - no error, no timeout). Application seems to hang forever.
    I'm using Powerbuilder to connect to Database (either PB10.5 using O10 driver or PB12 using ORA driver). I used DBTrace, so I see that query hangs on the first FETCH.
    So for the retrievals that hang I have something like:
    (3260008): BIND SELECT OUTPUT BUFFER (DataWindow):(DBI_SELBIND) (0.186 MS / 18978.709 MS)
    (3260008): ,len=160,type=DECIMAL,pbt=4,dbt=0,ct=0,prec=0,scale=0
    (3260008): ,len=160,type=DECIMAL,pbt=4,dbt=0,ct=0,prec=0,scale=1
    (3260008): ,len=160,type=DECIMAL,pbt=4,dbt=0,ct=0,prec=0,scale=0
    (3260008): EXECUTE:(DBI_DW_EXECUTE) (192.982 MS / 19171.691 MS)
    (3260008): FETCH NEXT:(DBI_FETCHNEXT)
    and this is the last line,
    while for retrievals that end, I have FETCH producing time, data in buffer and moving to the next Fetch until all data is retrieved
    On the side note, I have no problems with retrieving data either by SQL Developer or DbVisualizer.
    Problems started when I installed 11.2.0 Client. Even if I want to use 10.0.1 Client, the same problem occurs. So I guess something from 11.2.0 overrides 10.0.1 settings.
    I will appreciate any comments/hints/help.
    Thank you very much.

    pgoel wrote:
    I've been connecting to Oracle 11g Server (not sure exact version) using Oracle 10.1.0 Client and O10 Oracle 10g driver. Everything was ok.Earlier (before installing new stuff) did you ever try retrieving data from big tables (like 240 and more records), if yes, was it working?Yes, with Oracle 10g client (before installing 11g) I was able to retrieve any data, either it was 10k+ records or 100 records. Installing 11g client changed something that even using old 10g client (which I still have installed) fails to work. The same problem occur no matter I'm using 10g or 11g client now. Powerbuilder hangs on retrieving tables with more than like 240 records.
    Thanks.

Maybe you are looking for

  • Net value showing negative in excise billing for free goods items

    Dear All, Need value suggestions in business scenario. While issuing Free goods to customer in excise billing ,Net  value of ZTNN item showing negative Inserted R100 % condition type above Tax condtions. MRP is statistical and accessable value is cal

  • Issue in Deletion of approved leave request using ws12300111

    We are using Std workflow 12300111 and its working fine for new leave request and change leave request but when raise request for deletion of approved leave request the workitem created and info type  updated automatically without seeking approval fr

  • SAP BC - redirecting LOG to DB

    SAP BC makes logs to file by default but in documentation i've found that it should be possible to redirect logs to DB or to OS's log files How to do this, should be found in BC Developer Guide But BC-DG is quite a huge pdf and i was unable to find i

  • HT201272 Finding audio books purchases in iCloud

    Can't find my audio book I purchased. If I go into purchases in iTunes there is no tab for audio books. How do I get it? Thanks, Dave

  • Pdf ändern per AR auf web-formularen

    Hallo zusammen, Ich habe bis jetzt dynamische pdf Web-Formulare erstellt.Änderungen auf diesem Pdf Web-Formular waren bis jetzt nur über Code möglich. Ich habe gehört das es jetzt möglich sein soll,pdf formulare im web direkt zu ändern auf der oberfl