JDeveloper installation appears to have the wrong Persistence class
I'm trying to use EJBs for the first time, and have run into a problem initialising an EntityManagerFactory. The examples I've been looking at use something like:
EntityManagerFactory emf = Persistence.createEntityManagerFactory("<persistence unit name>");
However, this gives me a compilation error. In my installation, the only valid forms of javax.persistence.Persistence.createEntityManager take no parameters, and a Map parameter, respectively.
I can't find any documentation on these forms of procedure!
I'm using JDeveloper 10.1.3.0.4, EJB 3.0, J2SE 1.5.0_05. The version of the Persistence class my project is using is in <jdev_home>\j2ee\home\lib\persistence.jar
Any help will be appreciated.
It's almost certainly some kind of version issue, but my JDeveloper explicitly supports EJB 3.0, so it must be possible to get it working. The biggest problem is that I can't find any documentation whatsoever of the version of the Persistence class I have, let alone examples of using it.
Ideally, I'd like to know which version of which libraries I need to upgrade to to use the current specification, and whether I can do this without corrupting my JDev installation. But I'd settle for just finding out how the version I do have is supposed to work.
Similar Messages
-
Why can not I install iTunes on Win 7 installation appears every time the next sunrise;
service, apple mobile device,
failed to start verify that you have sufficient privileges
to start system services
Please help meThe most complete instructions for resolving the issues with the new iTunes is in the user tip: https://discussions.apple.com/docs/DOC-6562
-
i cant connect to my wifi due to the fact that it says its a wrong password and ive tried resetting all the ways i can and it still says i have the wrong password what can i do
Do other devices connect to the same wifi router?
Have you tried powering off and then back on the router?
Did you connect before OK?
Have you reset the iPod?
Reset iPod touch: Press and hold the On/Off Sleep/Wake button and the Home
button at the same time for at least ten seconds, until the Apple logo appears.
Reset network settings: Settings>General>Reset>Reset Network Setting
-The troubleshooting here:
iPhone and iPod touch: Troubleshooting Wi-Fi networks and connections -
I just downloaded the new iOS 7.0.3 software and it told me to download iCloud. So I did and now I can't download or update my apps because it says I have the wrong billing address. I know I have the right billing address. How do I fix the problem?
You can authorise your account on the Mac's iTunes via the Store > Authorise This Computer drop-down menu at the top of iTunes e.g. :
If you still have your PC then you could also copy the content over from that : http://support.apple.com/kb/HT4527 -
I want to purchase a month of cellular service for my IPAD2. When I use my ITunes password, it states that I have the wrong password but does not offer a way to reset my password. Please advise.
Read through this link and maybe you'll see something that will help you:
http://www.tech-recipes.com/rx/5827/ipad-3g-activating-purchasing-att-cellular-d ata-for-the-ipad-3gwifi/ -
I am getting messages that I can't download and read .pdf files since I have the wrong Adobe reader. I know about their security disasters of course, but I downloaded the latest version of Adobe Reader from the Adobe web site and I have other ,pdf file readers as well, and for some reason they won't work either. I have 5 computers running top end processors and RAM. By this I mean I have one, this one which I am using that has an AMD Phenom Black 3.2 Quad-core with 8 GBs of Corsair top DDR2 RAM, my other two AMD have either an Athlon II triple core with 4 GBs of DDR2 Corsair RAM, one with the Phenom X4 965 3.4 GHz Quad-core with 8 GBs of their best DDR2 RAM, and two Intels with the i7 920 Processors using the triple channel 1366 socket processors and one with 8 GBs of low latency DDR3 RAM and the other with 4 GBs of the same RAM. I am getting the message on this one, which has a fresh install of XP Pro X64 operating system, as do the other 4 as well. I have run Avast Business Pro Anti-virus on this one, which I am getting the message on with a single result which I deleted, and also both Spybot Search and Destroy, which came back clean as well as Malwarebytes Antimalware, which got a lot of tracing cookies now removed, and SuperAntiSpware which also found a few cookies also now deleted. Can you tell me what I need to do to get these files to show as .pdf files rather than as a clean blank page. One other issue is that I wish to know how to turn off my downloads so they are saved and Mozilla will give me the option of returning them instead of me losing them all together as it does now. Thanks for your assistance. If there is another Adobe reader I should download and install, could you provide me with the link to it? I appreciate your assistance here
== When I download and try to read a .pdf file and when I am asked to turn off all Firefox files and if I do, I lose them since I need to know how to save them without rebooting my computer.Brilliant! Problem solved! Thanks so much.
-
I have the wrong apple ID on my iPhone 4 for face time and iCloud. It has my husband's ID because he synced it to his one time. I do my apple id for iTunes store. How can I can face time and iCloud apple id?
iCloud:
Settings > iCloud > Delete Account then lock in with your Apple ID.
FaceTime:
Switch Settings > FaceTime > FaceTime OFF and switch back on with your Apple ID. -
Just got a new mac pro and can't manage to set a password and keep it. It keeps telling me I have the wrong password. I want to start over and I can't even get back in to do this bc it won't take any of my passwords. How can I start over completely?
You got a new laptop? try asking there or in Lion forum.
If it has Lion, use the Recovery Mode boot Command-R
Use that to erase and reinstall - it has network install ability.
Want MacBook Pro forum or Lion Community?
MacBook Pro
Lion Mac OS X Communities
New, as in from Apple, it would have asked for full setup.
Want to reset the password? (it is used then I'd wipe it clean and start over)
How to run the Password Reset utility in OS X 10.7 Lion -
Am I do not know how to change my rescue email as it is wrong and in can not remember my answers to my security questions so I want to change them but I can't as I have the wrong rescue email anyone know how to change your rescue email
You won't be able to change it until you can answer 2 of your questions - you will need to contact iTunes Support / Apple to get the questions reset.
Contacting Apple about account security : http://support.apple.com/kb/HT5699
When they've been reset you can then use the steps half-way down the page that you posted from to update your rescue email address for potential future use. -
Ive just subscribed online but realised I have the wrong service by mistake... I require Convert PDF into Word doc service but selected Adobe send in error, sorry. Can you please switch the service for me? Thanks Anthony Levy
Hi Tony,
Please refer this KB document : Return, cancel, or exchange an Adobe order
Please let me know if you need any further assistance.
Regards,
Rahul -
i can't access itunes store on my phone. It says I have the wrong password. I changed the password on my mac computer.
try sign out & sign back in again. your password must be same as on your mac
-
Why doesn't iphoto let me order the book I composed? They say I have the wrong address yet it is my address.
What Print Products Store do you have iPhoto linked to in iPhoto's Advanced preference pane?
Is it the correct one for where you address is?
OT -
I wish to re attach my device to my iTunes account but I do not appear to have the manage devices option - someone please help
If you want to add it then you need to do one of the 3 things mentioned on that page e.g. use iTunes Match on your iPad, use automatic downloads on it, or redownload one of your past purchases. I think that the 'manage devices' section will only show when you have one or more devices/computers associated to your account, if you don't have any associated then it won't appear.
-
Adobe wont update my CS 5, it says i have the wrong serial number. I have 2 serial numbers with my account, how do i switch the serial number in CS 5 to the other number?
David,
To switch, I am afraid you will have to reinstall using the other one.
But that should hardly be necessary.
If you can find no way, you may try a chat here,
Creative Cloud support (all Creative Cloud customer service issues, chat open between 5AM and 7PM PST/PDT on workdays)
http://helpx.adobe.com/x-productkb/global/service-ccm.html
or Adobe Support (phone) here,
http://helpx.adobe.com/adobe-connect/adobe-connect-phone-numbers.html -
HT1918 It keep telling me I have the wrong security code
It keep telling me I have the wrong security code
iTunes reports Security code Invalid?
iTunes Store: My credit card's security code or zip code does not match my bank's records
Maybe you are looking for
-
Hi, is it possible to pay vendor down payment with F-58 (not F-48) after dowing a request by F-47 ? what is the consequences of that, and what is the procedure that i must follow ? i hope your help regards
-
How to define the number of tab displayed in Tab page group
Hello, I have an application with Tab Page group with 8 tabs and the browser is displaying only 5 of thems. I have to scroll to display the remaining 3 although I have enough spaces on the screen to displayed all of them. Do you know what parameter/
-
Where can I buy an iPhone 3G?
Everyone tells me with in an Apple store or an ATT store. I have called every Apple and ATT store in my entire state and they are all sold out. They are sold out EVERY DAY for the past week. So, where do I buy an iPhone 3G?
-
Problem while passing parameters for dashboard prompts in URL
Hi, We have created a dashboard on OBI which has some dashboard prompts. We have a requirement that we shall open the dashboard from an external application. We are doing this by invoking an URL. We want the dashboard to turn with prompts already bei
-
Passing param from UIX Master-Deatil to Search form
OK This seems to be little bit advanced question (at least for me). Say I have two UIX pages 1. The first page (P1) contains Master Detail view of some table T1(ID1, ID2, ID3). 2. The second page (P2) is UIX search phase created from from the view of