Can we still use NOT_SUPPORTED and supported for any request method?
Hi allBecause the database selection didn't need a transaction (Please correct me if that's wrong), define the level of transaction "NOT supported" or "Supported" for all of these methods that question only something database?
Maybe these methods will be called in other in a transaction, so "NEVER" cannot be used.
My question is: is there a reason to get a transaction for methods without any insert/update of database?
Say there are three beans as below:
@Stateless
@TransactionManagement (TransactionManagementType.CONTAINER)
/ public class InsertBean implements {Insert}
@Override
@TransactionAttribute (TransactionAttributeType.REQUIRED)
{} public void createUsers (< user > list of users)
INSERT INTO user WHERE...
}
}
@Stateless
@TransactionManagement (TransactionManagementType.CONTAINER)
/ public class QueryBean implements Query {}
@Override
@TransactionAttribute (TransactionAttributeType.NOT_SUPPORTED)
public int getUserNumber() {}
SELECT COUNT (*) FROM user
}
}
@Stateless
@TransactionManagement (TransactionManagementType.CONTAINER)
/ public class UpdateBean implements {update
@Override
@TransactionAttribute (TransactionAttributeType.REQUIRED)
{} public void updateUsers (list < user > users)
UPDATE user SET logindate = xxx WHERE...
}
}
Insert and update requires a transaction and not the query. If there is a method of bean called as:
InsertBean.createUsers (users);
int n = QueryBean.getUserNumber ();
UpdateBean.updateUsers (users);
In this case, that the level of transactions for getUserNumber() request method must not be 'NEVER', only 'SUPPORTED' or 'NOT_SUPPROTED' is reasonable. But 'NOT_SUPPORTED' is more effective. So can I use level 'NOT_SUPPORTED' for all methods of query?
If sometimes the query method must be in a transaction could you share?
Thanks in advance.
When the query is running for a long time and you who call inside the transaction, the transaction may time out.
In this case you would go non-supported, so that this transaction manager can take the action when the method
is called within a transaction. Otherwise it does not really matter.
Tags: Fusion Middleware
Similar Questions
-
Hello
I use a PCI-4351 for readings of TC type T, and after receiving it back from calibration, the 2.5V range came out by - 0.00003 V. The rest of the calibration is within the tolerance. Please tell us if the 2.5V range is used for playback of the thermocouple type T with the accessory CB - 68 t. From my understanding, I don't think that the 0.625V beach is used for measurements of TC, and they all calibration.
Thank you for your help.
Michael Carter
Hi Michael,
You're right that you'll only need the gamme.625 for this measure.
I am very disappointed to hear that your device was not properly calibrated. It was our calibration? If it were, I can try to you allow to send to us or something like that to remedy this situation.
If there is anything else I can do to help correct this problem please let me know.
-
Can I still use my yahoo account for my emails on Firefox?
If I switch to Firefox for my operating system, what I want to change my email address or can I keep the same?
Hello!
I'm not quite sure what you mean by "switch to Firefox for your operating system"... (?) Firefox is a browser and not an operating system; but maybe you mean that you want to use Firefox as a browser, instead of Internet Explorer, your operating system is Windows or edge?
You should not change your e-mail address, or create a new e-mail account to use Firefox. -
Can I still use Internet Explorer with Mozilla Firefox
Can I keep the two search engines installed and use them without causing any problems to my computer
Change by a moderator. I changed the title of
can I still use exporer with mozilla for
Can I still use orerlExp Internet with Mozilla Firefox
They are not search engines. They are called browsers, and Yes you can use Mozilla Firefox and Internet Explorer on the same computer at the same time. You can also add Google Chrome and a few others without causing problems for your computer.
Most people are after the use of these alternative browsers, that they no longer wish to continue using Internet Explorer.
-
I'm about to upgrade premium creative design cs4 for I mac 10.11.2. can I still use it? If it is not that I am retired and I have only some minimum number of works during the year, I can upgrde at a regular bundel and to add a tax when I get to work, and/or monthly pay depending on my work schedule?
Move the discussion to the download, installation, commissioning.
Please check the terms of System. Adobe Creative Suite 4, Point products. You can upgrade to the App only and add more applications each time as needed. Please check: pricing and membership creative cloud plans | Adobe Creative Cloud for more details on the plans and prices.
I hope this helps.
-
Can I still use my current software on the PC and the new CC on the iMac.
I switch from PC to Mac. Running 3.6 LR and Photoshop CS5.1 on the PC. Bought the iMac and Adobe Creative Cloud Plan photography for the iMac, but have not yet installed. Question is can I still use my current on the PC software until I'm comfortable with the new configuration or will be CC conflict with what I already have?
The PC can continue with older versions of the software as you use creative cloud on the new. If you decide to install Creative cloud later on the PC, please check the system requirements and follow the links below:
FAQ: How to download and install the Adobe Creative Cloud Desktop App?
FAQ: How to download and install creative cloud applications?
-
Hello world
Hi everyone, please I need help I can not connect on MSN and Hotmail for a long time, about 2 weeks and I try to change my password but the support of coustomor give me a PIN code but I forgot it and when I try to answer to the security question, they said try later I am looking for your help I have a lot of private information and I want to get that back please help me :(How will I know if my account has been blocked? and how can I get it back?Hi -0,
The question you have posted is better suited for Windows Live Forums, check out the link:Reference: How to contact MSN customer serviceI hope this helps.
-
Can I still use the toner cartridge after deposit of 2 and a year and a half?
I have a HP CE505A toner cartridge model in a sealed box, but the box have a date on it his 20111003 (I think that refers to October 3, 2011). Now my question is if I unseal the box can I still use the toner cartridge (whereas 2 years and a half elapsed from the date on the box), or if I buy another cartridge of toner?
HP Laserjet toner cartridges are usually not a particular lifecycle or expirary date or end of warranty.
You can use all your stored correctly with your printer laserjet toner cartridges & most probably you shouldn't find any problems or defects on them, until the cartrdiges are sealed pack & storage, or weather conditions (heat, moisture, and direct light from the Sun) did not cause any damage to the cartrdiges.
Please consider reading this useful document related to the storage and handling of the HP laserjet print cartridges:
-
Abandoned Downlaods and support for Firefox 4.0 - 5.0. Why?
Why Mozilla interrupted downloads and support for latest versions prior to 8.0? Imagine my surprise when 8.0 was automatically installed, and found out that not only the Google toolbar was disabled, but other plug-ins and extensions were more consistent. To restore my previous settings of the browser, I had to downgrade way back to 3.6.24 version - and then also had to find compatible themes prior to use! You people really know how to throw the users in free fall! I didn't even know there was a new version. And how can I disable the automatic updates?
You can actually return to the 7.0.1 version (which I assume you had). I know many users who have done and is happier with Firefox 7. However, because Firefox 8 took care of some safety and security vulnerabilities, compared to its predecessor, they recommend to have later.
Personally, I've been happier with Firefox 7 so, but I'm still using Firefox 8 so I can try to resolve some problems and to report. My main problem with Firefox 8 is that it is slower on many sites, including my Hotmail email.
In any case, fear I digress from the subject, I compiled a list of old versions of Firefox official on this Review of Firefox web page allowing you to download Firefox 7.0.1.
-
Hi I bought Acrobat Pro for my pc a few years ago. now, I spent from the pc to the mac, but can't seem to reinstall Acrobat Pro. Managed to download the program, but the serial number is not recognized. Can I still use my Acrobat Pro purchased on my mac?
probably not.
you need a platform swap (Exchange a product Adobe of a different version of the language or platform) but which is only supported for the latest versions of adobe.
You can get the upgrade pricing and exchange platforms, or use an abonnemement DC acrobat and use on both platforms.
-
Can I still use Creative Suite CS6 with creative cloud?
Can I still use Creative Suite CS6 on two Macs, if I sign for Creative cloud on another Mac three on the rate of resduced own the CS6?
Also, I should add that, in my view, discount cannot be applied to a purchase, so if you buy three subscription licenses so alone is likely to be at the rate reduced. You must contact Adobe directly about the purchase/delivery issues.
To the link below, click on the still need help? option in the blue box below and choose the option to chat or by phone...
Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache. If it fails to connect, try to use another browser.Creative cloud support (all creative cloud customer service problems)
http://helpx.Adobe.com/x-productkb/global/service-CCM.html ( http://adobe.ly/19llvMN ) -
can I still use XP once I upgrade to Windows 7?
I have a full installation of the license for XP. If I use it to build a new box and upgrade to 7, can I still use my XP on my old box (until he croakes)?
Lol... ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft
-
How can I find my username and password for Windows xp media center? don't remember setting but cannot get back in after the restart.
Hi Carol_971,
- Did you the latest changes on the computer?
- You have security software installed on the computer?
Method 1
I suggest that you try to start in safe mode and then try to log on to Windows using the default Administrator account and then remove the password for your account, check if it helps.
A description of the options to start in Windows XP Mode
http://support.Microsoft.com/kb/315222
Method 2
If you are unable to log on to Windows in safe mode, refer to the article below and then try the steps mentioned, check if it helps.
How to connect to your Windows XP-based computer if you forget your password or if your password expires
-
Drive cable HARD and support for M3800
Hello
I bought M3800 no internal HARD drive, but I want to add additional HARD disk now. Buy cable HDD and support for M3800 or can I use any other?
Thank you
Yes indeed. I ordered the 21YWY of HARD-drive bracket and drive HARD interposer cable DG95V from Dell, to buy a battery from eBay 61WH (Dell has not tapped into it at the time...) and an EVO Samsung 1 TB SSD drive from Amazon. It's easy to install (even if you need a very small torx scree 3 to remove the bottom cover) and works like a charm.
-
How can I down the msn toolbar support for Mozilla firefox?
My computer crashed and lost the msn toolbar. How can I down the msn toolbar support for Mozilla firefox? Edit
It was more common to ask how to uninstall these toolbars. I think that it will now be known as a Bing toolbar, but as much as I know it is no longer supported for Firefox. You can find a few unofficial addons with similar features.
You'd better discuss what anyone more about MSN Forum MSN specialist.
Maybe you are looking for
-
Reboot after installation of El Capitan
I have a 27 "Imac, mid-2011. 3.1 Ghz. After you install the free update of El Capitan 2 weeks ago, my computer randomly stops and restarts itself, at least once a day. It just happened 4 times in a row and is very frustrating. Can anyone offer advice
-
WiFi doesen't work on my new Satellite L850-13 q
I just bought a Satellite L850-13 q and my WiFi doesen't work. Win 7 64 bit and I installed the Atheros driver because this system, but he said, there is no aviable connection, but my old computer is a good number of them. I turn it on with the FN +
-
Agent Extension SNMP event log has not initialized properly in windows 2008 R2
I enabled the functionality of SNMP Service and found the following error: "Error 2019: Extension SNMP event log Agent has not initialized properly in windows 2008 R2 Enterprise 64-bit. I uninstalled all related SNMP Applications and reinstalled the
-
Button battery mysterious S3 - 391
Hello. The S3-391 ultrabook has a mysterious pin hole on the bottom, near the battery icon. What does this button mean? Thank you.
-
I can connect to my hotmail account but cannot open, delete or do anything else.
I can connect to my hotmail account but unable to open, delete or do anything else. I tried to reset Internet Explorer, nothing works. Even contacted Microsoft but because it's free hotmail, they sent me an e-mail with a link that I followed to the