2 EJB same data what will happen.

Lets use the good old bank example...
There is an account with 100$... 2 clients connect and withdraw 70$ each what will happen?
What should I set the transaction properties for the bean?
Thanks

"There is an account with 100$... 2 clients connect and withdraw 70$ each what will happen?"
One client will grab the bean, perhaps perform some validation (amount can't be negative, etc), deducts the $70, then returns. When the transaction which encompassed the entity access terminates (or when the method returns if there is no transaction), the next client will be able to pull the entity bean.
"What should I set the transaction properties for the bean?"
Probably TX_REQUIRED, or TX_MANDATORY, depending on what you're doing. Really doesn't have anything to do with the first part of your post, though.

Similar Messages

  • When i try to reload the same data what will happen in my ods?

    Hi all,
    Someone has already loaded the data from flat file into the respective ods.
    for instance:
    customer number customer name cust address
       10001          xav          123
       10002          xac           234
    And this has been loaded by some one else.
    If i am going to load the same data in the ods. will it create 2 entries nor just going to be only one entry.
    i meant will it be like this
    customer number customer name cust address
       10001          xav           123
       10002          xac           234
       10001          xav           123
       10002          xac           234
    nor like this
    customer number customer name cust address
       10001          xav          123
       10002          xac           234.
    Thanxs
    Haritha

    Hi,
    If two Records of same key combination is there then over writing will happn in ODS. Within the request overwriting is done in the updation(from change log table to active data table). Within different request overwriting is done during activation(new data table to change log table) Zero record mode is doing this.
    read this along with other replies
    Thanks and regards
    Obily

  • HT4859 If you don't back up certain apps that have no data what will happen?

    What really needs to be backed up? What appends if you don't back up an app?

    You're not really missing anything. Apps per se are not backed up, neither are iTunes purchases for that matter.
    Apple rather misleadingly says you get unlimited free storage for music, movies, TV shows, apps, and books... but then goes on to say "previous purchases may not be restored if they are no longer in the iTunes Store, App Store, or iBookstore". To me, that's not a backup. It's the ability to download them again, if they're available.
    Photos and videos in your camera roll are backed up, but photos and music that originated on your computer's iPhoto and iTunes Libraries are not.
    Your 5 GB is also used for Pages docs stored in iCloud, app data, all that is lumped in with "Storage and Backup".
    Contrast this with a traditional backup associated with iTunes syncing. In that case everything really is backed up to your computer - apps, purchases, everything.
    If all this sounds confusing that's because it is. This KB article explains it in greater detail: http://support.apple.com/kb/ht4859

  • What will happen if i load transaction data first?

    HI,
    With out master data if i load transactional data , what will happen?
    While loading master data then only SID will be created, If i load Transactional data first means when will SID will be create?
    -Arun.M.D

    Hi,
    We can upload the transaction data even we have not yet uploaded the master data. But the upload of Transaction data will take more time in case if the Master data has not yet been uploaded.
    So for performance point of view,it is recommended to upload the master data as  first  upload.
    With rgds,
    Anil Kumar Sharma .P

  • I'm worried about what will happen if I delete my recent backup data from the phone I still own? Will I lose any progress in games that was saved in the backup?

    I'm worried about what will happen if I delete my recent backup data from the phone I still own? Will I lose any progress in games that was saved in the backup?
    I have an iPhone 4S and I keep getting those irritating notifications that tell me I need to upgrade my storage or free up space. I've deleted all I can from my music and photos without losing too many precious memories, but it's come to the point where I think I need to delete backups. However, I'm just worried that I will lose all and any log-in information that I don't remember and app/game progress that was saved to the iCloud. Please Tell me what will happen/what I can do?

    If you are asking what happens when you delete an iCloud backup, it only deletes the backup from your account.  It won't do anything to the data on your phone or in your iCloud account.  If you don't need to backup you can delete it.  (If you no longer want to back up your phone to iCloud, turn iCloud backup off in Settings>iCloud>Backup.  Then your phone will back up to your computer each time you sync it with iTunes.)

  • My macbook pro recently got swiped and I lost all my data, problem is, just before it was swiped I set up my new iphone 5 which transferred all my photos and music over which is no longer on the computer. What will happen to my phone if I plug it in?

    My macbook pro recently got swiped and I lost all my data, problem is, just before it was swiped I set up my new iphone 5 which transferred all my photos and music over which is no longer on the computer. What will happen to my phone if I plug it in?

    I never used icloud before so there is no data to back up from. I just spoke  to the apple store and they said that if I do plug it in, all the data will be swiped....is there a program I can use to transfer my data from my phone to computer without loosing it all ???
    Renee

  • If I have converted my purchased iTunes songs to a lower bit rate what will happen when I join iTunes match? Will they match up or will these be stored as duplicates of the same song?

    If I have converted my purchased iTunes songs to a lower bit rate what will happen when I join iTunes match? Will they match up or will these be stored as duplicates of the same song?
    I ask because I primarily use my work laptop which has limited space so I usually convert my purchases to 160k from 256k in order to save space. I want to sign up for iTunes Match but I'd like to know before I do so I can understand how I will have to set up my library.

    crichton007 wrote:
    What I may do is start a brand new library there, copy my tracks from my work laptop using Home Share and then the script to get things in sync before starting over again there too.
    Why create a new library? Just add the tracks from the laptop to the existing library on the Mac.
    crichton007 wrote:
    I was just hoping to hear definitively whether or not there was some sort of intelligence built into iTunes Match that would match these up...
    How do you mean? If you down-convert purchased tracks you've fundamentally changed the files so iTunes can no longer recoginize them as "purchased." And, indeed, they no longer are since they are brand new files. Of course these new files will only be "matched" or "uploaded."

  • How the data is stored in Info cube...in the back end what will happen???

    Hi Experts,
    How the data is stored in Info cube and DSO...in the back end what will happen???
    I mean  Cube contain Fact table and Dimension tables How the data will store and what will happen in the backend???
    Regards,
    Swetha.

    Hi,
    Please check :
    How is data stored in DSO and Infocube
    InfoCubes are made up of a number of InfoObjects. All InfoObjects (characteristics and key figures) are available independent of the InfoCube. Characteristics refer to master data with their attributes and text descriptions.
    An InfoCube consists of several InfoObjects and is structured according to the star schema. This means there is a (large) fact table that contains the key figures for the InfoCube, as well as several (smaller) dimension tables which surround it. The characteristics of the InfoCube are stored in these dimensions.
    An InfoCube fact table only contains key figures, in contrast to a DataStore object, whose data part can also contain characteristics. The characteristics of an InfoCube are stored in its dimensions.
    The dimensions and the fact table are linked to one another using abstract identification numbers (dimension IDs) which are contained in the key part of the particular database table. As a result, the key figures of the InfoCube relate to the characteristics of the dimension. The characteristics determine the granularity (the degree of detail) at which the key figures are stored in the InfoCube.
    Characteristics that logically belong together (for example, district and area belong to the regional dimension) are grouped together in a dimension. By adhering to this design criterion, dimensions are to a large extent independent of each other, and dimension tables remain small with regards to data volume. This is beneficial in terms of performance. This InfoCube structure is optimized for data analysis.
    The fact table and dimension tables are both relational database tables.
    Characteristics refer to the master data with their attributes and text descriptions. All InfoObjects (characteristics with their master data as well as key figures) are available for all InfoCubes, unlike dimensions, which represent the specific organizational form of characteristics in one InfoCube.
    http://help.sap.com/saphelp_nw04s/helpdata/en/4c/89dc37c7f2d67ae10000009b38f889/frameset.htm
    Check the threads below:
    Re: about Star Schema
    Differences between Star Schema and extended Star Schem
    What is the difference between Fact tables F & E?
    Invalid characters erros
    -Vikram

  • What will happen to the data I´ve in my Key ring when migrating to iCloud

    What will happen to the data I´ve in my Key ring when migrating to iCloud?
    Any feedback is appreciated
    Uwe

    Hi Winston!
    Thanks for your quick response. I meant keychain items. So I you anserwed my question, perfectly.
    Best
    Uwe

  • What will happen to the data block after data offloading?

    HI All,
    Since offloading can filter out the necessary information such as unnecessary columns and rows before they are passed to the database, I want to know what will happen to the data block? Will some new blocks be built at this time,which only contains the useful information?
    Best regards,
    Leon

    Andy Klock wrote:
    The statement seems to imply that Exadata has the ability to strip out columns from a block, but a block is a block is a block. Offloading is remarkable at filtering out data in the storage layer that ultimately is not needed but if you only need one row in a block that has 100 rows in it, you still get the whole block (and all 100 rows) to be processed by Oracle. The columns portion of the statement is when HCC is used for a table allowing only the blocks containing the column data required for the query, and thus if a block has 1000 column values in it, it will pass all 1000 column values to the instance to be processed.These assertions are incorrect.
    Blocks sent to the database grid as a result of a Smart Scan contain only the necessary columns and rows for the db grid to do its processing (after filter restrictions and projection restrictions are applied). These Smart Scan blocks are created at run time by the storage server so they have no bearing on the blocks that reside physically on disk which is why they can not be reused by other queries via the SGA and are read directly into the PGA space.
    Regards,
    Greg Rahn | blog | twitter | linkedin

  • What will happen to the data if we delete a disk in ASM

    Friends -
    Question : Under RAC Environment we are using ASM for Storage. I want to know what will happen to the data if we delete a disk?
    Please advise on this.
    Regards
    VSH

    It depends on level of redundancy and disk space left. As long as there's enough space on remaining disks, data would be rebalanced between the disks.
    You can check the ASM operations if you query v$asm_operation:
    select * from v$asm_operation;

  • What will happen if I downloaded the iOS 7 in my ipad mini? What will happen to my data, photo and downloaded apps before (ios6).

    What will happen if I downloaded the ios7 in my iPad mini?  What will happen to my saved photo, data and otherdownloaded apps in ios6?  Will all of that erased?

    The advice to back up is good.
    And one other thing.  If you don't currently use a passcode to use your iPad, I really recommend you set one up before you update.  Just make sure you either know what your currently use, or if you set one up, you write it down somewhere safe for future reference.

  • What will happen to my purchases (esp the songs) if I upgrade to a new iPhone device considering same apple ID?

    What will happen to my purchases (esp the songs) if I upgrade to a new iPhone device considering same apple ID?

    The same purchases will be available on the new iPhone using the same Apple iD.
    Tap Settings > iTunes & App Store then switch Music ON.

  • I support a very large school district currently running Firefox 3.6. What will happen at end of life date? We're in the middle of online testing this week.

    I run the test center for a very large school district with over 120k students. We've got a current deployed base of 54k client machines using Firefox 3.6. We haven't upgraded due to multiple reasons, the most important of which is removing the possibility of using In Private Browsing from the students, and dealing with plugin-updates for the non digital natives (read dumber than a bag of hammers users) that make up the majority of the client base.
    We're testing ESR now, but just found out that end of life for 3.6 is tomorrow, 4/24. We are currently in the middle of statewide online testing. The question is, what will happen tomorrow when the browser goes end of life. The ESR wiki mentions that "an update to the current version of Desktop Firefox will be offered through the Application Update Service"
    So the main question is, are my students/teachers going to get a popup telling them they have to update the browser if we have the updates already turned off? If so, can I turn it off remotely using SCCM, because it will cause all kinds of havoc.
    Please advise asap, and thanks in advance.

    We had to do some serious gymnastics to remove at least most of the ability to use IPB. We removed it from the gui, but unfortunately, if they know the hotkey, they can still bring it up. Security has some serious headaches with this, as by law they have to be able to track where students go, and going with private browsing removes their ability to do forensic work they're required to be able to do. Not a very well thought out feature from Mozilla in my opinion, but it is what it is. Successive versions have made it even more difficult to remove even the gui portion.
    We do plan to release ESR due to the aforementioned security issues, but testing has been slow.
    But thanks for the reply. I think we can turn off the updates if it isn't already done.

  • What will happen after I deactivate my iphone?

    Hello, fellow people of the internet!! I'd really like to know, what will happen if I have AT&T deactivate the sim card on my iphone and reactivate the one from my old samsung phone? If someone has gone through a similar experience, would it be possible for you to talk me through the process, or just let me know if there's anything special or worrying that I should know? Can you keep the iphone and continue using it (without any of its actual cellular features, I know), do they charge you for anything , either right there at AT&T or later on in the form of a bill? Is it a quick process or would it be rather complicated? If you couldn't already tell, I'm clueless but I just don't want there to be any surprises if I go through with this 'cause I'd really like to go back to my old phone (is that shocking to anyone? :O) but still keep the iphone around and give it some use without much complications. Anyways, thanks in advance for your time and answers, I really appreciate it!!! :D

    Backup your phone before restoring and then you can't possibly lose any data.
    You should also be syncing your phone with iTunes, iCloud or some other service, so that data should be safe and re-appear on the phone when you set it up again with the same sync service.

Maybe you are looking for

  • ServerSocket bind, bug or windows feature

    I wanted to check if a TCP socket was already bound before attempting to use it. I had my own ideas, but looked for other ideas as well. While testing these other ideas I stumbled on the following issue. On Windows XP(SP3), its the work platform of c

  • Freight/Other Charges to be included for 100% Downpayment Invoice

    Hi Currently in SAP 2007 version, where Freight/Other Charges is concerned, the information will not be copied/drawn to Down Payment Invoice. These charges will only be included in the final A/R Invoice. Even for 100% DownPayment Invoice, the freight

  • Define custom JNDI entry

    Hi, I would like to define an ear/war that is independant of the deployement plateform. That's possible when I use only DataBase or JMS external connectors. In these cases I do it by defining JMS Queue or Data source in my config.xml file and referen

  • Photoshop Elements 6 Effects Missing

    My mom is an art teacher and uses an iMac at work. She recently purchases Photoshop Elements 6 and installed in on her MacBook and iMac. No problems with the installation on her MacBook 2,1 but the Effects seem to be missing from the iMac. These are

  • Driver for 3510 All-in-One for Mac OS 10.4.11

    Is it possible to find a driver for the 3510 for Mac OS 10.4.11?