Kodo 4 seems to have incomplete support for JPA spec

I posted a message previously about the incomplete persistence.xml schema. I have again run into this problem and would appreciate anyone from BEA (if they still read this forum) clearing the matter up. I am trying to evaluate this product for use and need to confirm if some features are available.
I tried using the <jar-file> attribute in my persistence.xml and got the following error when enhancing:
java.util.MissingResourceException: <0|false|4.0.1> kodo.util.GeneralException: org.xml.sax.SAXException: file:/D:/Code/JPAView/xsm_Config/ssmmodule/META-INF/persistence.xml [Location: Line: 7, C: 19]: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'jar-file'. One of '{"http://java.sun.com/xml/ns/persistence":class, "http://java.sun.com/xml/ns/persistence":exclude-unlisted-classes, "http://java.sun.com/xml/ns/persistence":properties}' is expected.
This implies that Kodo does not even support the vast majority of attributes allowed in persistence.xml, as defined in the JPA spec (page 135).
Perhaps I am approaching the issue in the wrong way, as I am attempting to re-use entities over persistence units. I would prefer that higher-level libraries would be able to re-use entity definitions in a support libraries, by specifying the jar in persistence.xml. I cannot find another way to re-use entity definitions, apart from manually listing every single shared entity in higher-level persistence.xml files.

This implies that Kodo does not even support the vast
majority of attributes allowed in persistence.xml, as
defined in the JPA spec (page 135).This is not a correct inference as Kodo does process <jar-file> and other tags as per JPA spec http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd.
It would be useful to analyze persistence.xml and the environment setup to ensure that correct META-INF/persistence.xml is being picked up by Kodo runtime.
You can maintain a hierarchy of persistent domain model following the approach you outlined.

Similar Messages

  • HT201335 I have a MacBook Air that was bought April 5, 2011. It seems it should be supported for Airplay mirroring but I can't get it to work and I do not have the icon on my bar. Any suggestions?

    I have a MacBook Air that was bought April 5, 2011. It seems it should be supported for Airplay mirroring but I can't get it to work and I do not have the icon on my bar. Any suggestions?

    Welcome to the Apple community.
    AirPlay Mirroring requires a second-generation Apple TV or later, OS X 10.8 or better and is supported on the following Mac models: iMac (Mid 2011 or newer), Mac mini (Mid 2011 or newer), MacBook Air (Mid 2011 or newer), and MacBook Pro (Early 2011 or newer). It also requires the computer to be using wi-fi.

  • Was just loading indesign and cannot start it. seem to have no rights for some presets. i deinstalled and installed new, same problem. help!

    was just loading indesign and cannot start it. seem to have no rights for some presets. i deinstalled and installed new, same problem. who can help?

    Not easy if vital information is missing. Sometimes it seems like people are using the internet the first time...
    What version of Indesign?
    What OS? "Rights" sounds like Windows
    What is happening when starting it?
    If Windows, where was it installed?
    If Windows, do you have admin permissions?

  • Apple associated publishers for Ibook Store (example: Lulu, SmashWords) have not support for Ibook Author native format (.ibook)

    Apple associated publishers for Ibook Store (example: Lulu, SmashWords) have not support for Ibook Author native format (.ibook) how ebook source. Only Word archives are supported.
    Obtain TAX ID for non USA resident is impossible without pay to much money.
    How to publish in Ibookstore a non USA resident author, in new Ibook Author format?

    Regardless of what format you want to use, you can't publish in the iBookstore without meeting Apple's requirements, so if you find those too difficult, you need to go elsewhere.

  • Bootcamp - Seems there is no Support for Windows 8.1 once it is loaded. Just got off the Microsoft Help line and they refused to help me because I was running Win 8.1 in Bootcamp. Where do I go for help?

    Bootcamp - Seems there is no Support from Microsoft  for Windows 8.1, once it is loaded.
    I Just got off the Microsoft Technical Help line (Australia ph132058) and they refused to help me because I am running Win 8.1 in Bootcamp.
    I have the latest Mac Book Pro Retina with a 1TB Solid State Hard drive running Win 8.1, beautiful machine, but its slower than my old MBP running windows 7 on a standard Drive.
    The niggiling problem is that it seems to hang up for seven or 8 seconds on menial tasks........ like generating a new Folder or Note etc. Otherwise it runs reasonably well but not blindingly fast....
    I wasn't aware Microsoft refused to help win 8.1 users on the Mac Platform........ shouldn't this Information be made more public...! Seems they are keen to drive potential Windows users away!!
    Any suggestions on where I should go for help on this (Windows/Bootcamp in General) would be much appreciated ? ........ don't mind paying a reasonable price if the service is good......
    I guess the wheel has turned and Microsoft are having a go at Apple again...?
    Many thanks ....... Martin V

    Thanks Turbostar.
    I was thinking along the same lines. I installed Win 8.0 Pro and upgraded to 8.1 ........ probably a bad move.
    I have bought a new 8.1 Licence but cant risk doing a complete reinstall until I have a back up machine ready. (My old MBP is getting a new hard drive) ......... so will give that a go in about a weeks time when the back up is in place. Cant risk having nothing!
    When you say "Clean Install" ..... do you mean everything ..... as in Reformat the Bootcamp sector and start from scratch.?
    I have a 2 TB LaCie Thunderbolt drive with my back up data on ..... is there a way to make the Reinstall process and large amount of Data transfer easy?
    The reinstall is something I need to read up on. I was hoping the solution might be some kind of Tune up on the SSHD.
    Good to hear you have a number of MBP's that are flying, I would be disappointed if the final quality wasnt a bit better.
    ..... do you have any tips on screen Res on the Retina ..... I am running Windows at 125% Zoom, but the Bluetooth, power, wireless, Date Icons etc are all still tiny ...... could really do with an alternative to the old "Advanced Appearance Settings"
    cheers ..... Martin V

  • I have uninstalled Garageband due to problems. Now it seems I have to pay for it.

    I've had some problems with Garageband when I tried to download extra content. I called Apple Support about a week ago and he said that one solution might be to uninstall Garageband and then reinstall in from Mac App Store.
    I've now unnstalled Garageband. To download and install it again it seems I now have to pay for it. I've had my iMac since the end of December last year and it came preinstalled with Garageband. Apple Support is closed today because it's Sunday.
    It's not a huge amount but I wonder if this is right?

    Done this?  Alerts may occur when accepting bundled applications from the Mac App Store - Apple Support (Steps 1 - 4 in particular.)

  • Why does MSI P4N have no support for Intel Preslor and Asus Nforce 4 does??

    Well as you've probably guessed it im new to the forums (howdy all  ). I currently own a MSI P4N diamond motherboard and quite frankly i most dissapointed with what has been called (by too many reviewers) a great board.
    First off i see very little changes taking place with each bios update, of which does not seem to happen regularly at all. (lets face it no board is perfect especially the Nforce 4 range from MSI for Intel CPU's).
    Secondly overclocking a Pentium D 830, which i may add should be capable of overclocking very well on an Intel Nforce board, can barley reach 3.4 Ghz (i know its mobo issue as the CPU is water cooled and overclocks to way beyond 3.7 on an 955X board).
    Thirdly the North bridge fan was poorly stuck on my motherboard in that on installing my motherboard into my case it popped off like the lid of a pringles tub by a slight movement of my hand  .
    And last but least... why does the MSI P4N diamond motherboard not support Intels latest 65nm CPU's when ASUS's and Gigabyte's Nforce 4 motherboards work well with the Pentium D and the 65nm range of Intel CPU's. Upon also reading about the next gen of Intel CPU's the Conroe, the 975X motherboards will support the future CPU via a bios update and it has been said that the same is likely to happen for the Nforce 4 range... however once again due to the lack of support for the MSI P4N diamond by MSI i believe all of us owners of this pathetic (an over statement really but its going to be that way if MSI keeps this up) over hyped motherboard will get a simple NO in the CPU support table for the next gen range of CPU's.   
     

    Where did you get the information regarding the MSI P4N diamond's release date?
    Are you in the United Kingdom? As it was released at the same time as the other Nforce 4 boards here (i was on the edge of my seat waiting for the Nforce boards to be released on overclockers.co.uk for sale) In the end though i bought my mothreboard in October, which is a good few weeks after release.
    Is there any kind of SLI 32 on MSI's plans? this is what worries me as they have made a move in the 975X department but have not made any further developmentes in the Nforce range for Intel, which to the average joe kind of indicates loss of intrest in this field from the company.
    I am overall pleased with my motherboard, when using a single core CPU, as overclocking was a sheer joy, but as soon as the dual core CPU went in the mothreboard behaves like a drunk man coming from a pub. I am aware that the Nforce 4 chipsets struggle with the dual core CPU's but surely Nvidia were informed by Intel about the dual core CPU's being released in the future.

  • TS1702 my 5 year old grandsond was playing on candy cash last night he has seemed to have purchased something for £27.99 how do i get it cancelled

    my 5 year old grandson was playng candy cash last night he seems to have purchased some app from it for £27.99 how do i cancell it and get a refund

    sorry, I completely forgot to include the links.  http://www.macworld.com/article/1158936/howto_ios_purchases.html, http://www.labnol.org/software/itunes-app-store-refunds/13838/

  • Does LR4 have tethered support for Nikon D5300?

    I use LR4 and have found out that it doesn't support tethered shooting for the Nikon D3200.  I need to upgrade to get this capability and have heard that the D5300 is supported but was wondering if anyone can confirm this.  Thanks in advance for your help!  :-)

    Tethered camera support in Lightroom
    As you can see, the D5300 is supported beginning with Lightroom 5.5. There will be no update that will make it possible for you to tether in Lightroom 4. So you will need both a new camera and an upgraded version of Lightroom in order to have tethered support.

  • Toplink support for JPA vs. Toplink Essentials

    I think I read that Toplink has some support for EJB3/JPA as does Toplink Essentials.
    What is the difference in features?
    If one has a 10.1.3 app server license, should Toplink be used instead of Toplink Essentials for EJB3/JPA applications?
    Does the Mapping Workbench produce JPA object-relational mapping annotations or XML?
    Thank you.
    Richard Catlin

    Hi Robert,
    I'm not sure which comments you were directing specifically to Dali vs. JDeveloper but I'll try and address them from a Dali perspective. I do want to point out that Dali is at 0.5 and so it is still under development.
    yes you get a basic 1:1 entity from your databasetables...When generating Entities from tables, Dali will generate 1:1 and 1:many relationships based on database FK constraints.
    @temporary annotations are not inserted if you have a Date oder Calendar type.Also when generating Entities from tables Dali will generate an instance variable of java.sql.Date for a database date column. java.sql.Date does not require an @Temporal annotation.
    What's missing right now is a problem marker for missing @Temporal on java.util.Date and java.util.Calendar.
    If you want to rename attributes or methods it's a lot of manual work to do... because >@Column annoations are not inserted, if they do not exist because of >dbname=attributenameThere is a bugzilla bug opened for this refactoring support. https://bugs.eclipse.org/bugs/show_bug.cgi?id=136333 Fortunately in Dali if you rename a class or attribute (field/getter) and your explicit or default mappings are broken you will get a problem marking on the attribute and in the Problems view so you can fix it rather than finding out at runtime.
    generics are not inserted in the returnvalues of the methods...Generated Entities do use generics correctly e.g.:
    public class Publisher implements Serializable {
         @OneToMany(mappedBy="publisher")
         private Set<Title> titles;
         public Set<Title> getTitles() {
              return this.titles;
         public void setTitles(Set<Title> titles) {
              this.titles = titles;
    ...--Shaun                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Does Adobe have actual support for their products?

    Or does Adobe actually rely on these forums and/or for the customer figure things out for themselves?
    First issue is that all video playback within Premiere CS6 stopped working ( periodically it works for a few days then stops again) . After trying all the recommendations  (clearing out the cache, uninstalling and re-installing Quick Time, etc.) now the program does not even shut down  and after forcing the program to close, it actually is still  runs in the back ground using 1 gigabyte of memory.
    I keep up on the maintenance of the machine (weekly and sometimes every day), install all the updates from Adobe, as well as the driver for the video card (directly from the vendor).
    So has Adobe stopped provided updates for CS6 by coming out with the CC version? Perhaps the Creative Cloud subscription is not really worth the money since you get what you pay for value wise.
    By just browsing through the forum, there appears to many issues, so how reliable is the product ?

    Venting is fine, but really asking for help requires more information... and, as far as I know, CS6 is receiving NO further updates (but, since I don't work for Adobe, that may not be 100% true)
    If you have an actual question, start with more information
    -Premiere Pro Video Editing Information FAQ http://forums.adobe.com/message/4200840
    •What is your exact brand/model graphics adapter (ATI or nVidia or ???)
    •What is your exact graphics adapter driver version?
    •Have you gone to the vendor web site to check for a newer driver?
    •For Windows, do NOT rely on Windows Update to have current driver information
    •-you need to go direct to the vendor web site and check updates for yourself
    •ATI Driver Autodetect http://support.amd.com/en-us/download/auto-detect-tool
    •nVidia Driver Downloads http://www.nvidia.com/Download/index.aspx?lang=en-us
    Dual video problems - Do you have dual graphics adapters?
    Go to the Windows Control Panel and select Hardware and Sound and then select Device Manager... In Device manager you click the + sign to the left of Display Adapters... and see if 2 are listed
    IF YES, read below
    -http://helpx.adobe.com/premiere-pro/kb/error---preludevideo-play-modules.html
    -http://forums.adobe.com/thread/1001579
    -Use BIOS http://forums.adobe.com/thread/1019004?tstart=0
    -link to why http://forums.adobe.com/message/4685328
    -http://www.anandtech.com/show/4839/mobile-gpu-faceoff-amd-dynamic-switchable-graphics-vs-n vidia-optimus-technology/2
    Exactly what is INSIDE the video you are editing?
    Codec & Format information, with 2 links inside for you to read http://forums.adobe.com/thread/1270588
    Report back with the codec details of your file, use the programs below... A screen shot works well to SHOW people what you are doing
    http://forums.adobe.com/thread/592070?tstart=30 for screen shot instructions
    Free programs to get file information for PC/Mac http://mediaarea.net/en/MediaInfo/Download
    PS... with the video I edit (Canon SX510) and the computer I built (reply #6 for my hardware list in https://forums.adobe.com/message/6536849 message) I have ZERO problems with CS6

  • HT202297 The Reminders app on my OS X version 10.9 doesn't seem to have badge icons for apps that are overdue.  How do I get the badge icons for the app?

    Being overtly organised, I assign due times to all my reminders on the reminder app.  Recently, I realised that the badge icons (detailing the number of overdue reminders) do not pop up anymore.  How do I get them to reappear again?

    Welcome to Apple Support Communities
    There are two Applications folders: /Applications (in the root level of the hard drive) and ~/Applications (in your user folder).
    If you have a look at the bottom part of the screenshot, you can see where Chess is stored, and it indicates that it's stored in /Applications, so you are looking for applications in the wrong folder.
    Open a Finder window, go to Finder menu (on the menu bar) > Preferences > Sidebar, and mark Applications. Then, close the Preferences window and you will be able to access to the Applications folder in the Finder sidebar. Another option would be to go to View menu (on the menu bar) and type:
    /Applications

  • Oracle human workflow task services have no support for SAML2.0 in 11.1.1.5

    When I have checked the SAML binding version of Oracle human workflow task service WSDL (TaskQueryService2?ORAWSDL), it has a SAML 1.0 policy attached to it in the soap header?
    Does SOA Suite 11.1.1.5.0 workflow tasking services support SAML2.0 policy ?
    I have tried applying SAML2.0 policy from OSB on the Business service calling TaskQuerySerivice2, it does not accept it. As the SAML version of wsdl is embedded with SAML1.0 policy, business service
    did not run?
    As this Tasking services come as part of standard SOA Suite install, is there any work around to update the WSDL to change the policy to SAML 2.0?
    Thanks

    Hi Experts,
    If incase anyone has encountered this issue. Please can you advice for the same.
    I need to get this done on urgent basis.
    I am able to deploy the process successfully from JDEV. Its throwing issue only when I manually deploy the WAR file in WL Console.
    Its getting deployed successfully, but unable to view task form from BPM Worklist.

  • None of the stores seem to have a spare for the iphone USB to Lightining converter cable, why is that????

    The charger for my iphone5 is lost and I am trying to find a replacement. None of the stores have a stock of the original apple USB to lightning converter cables, most of them dont have it at all or have a third party cable from Gecko or some other brand. Cant see why they are not stocking original apple products despite them being premium resellers of Apple. Is apple even aware of all of this.

    We're users here Vivek, not Apple.  Asking your question here is pointless.  We don't speak for Apple and would have no more idea than you do as to why these are out of stock.
    Do you have a technical support issue?

  • Firefox - the awesomebar seems to have two lists for in-line autocomplete and suggestions

    Well, basically my problem is that the list of sites that autocomplete works for seems to be significantly more exclusive than that of the suggestions.
    In particular, autocomplete will only offer sites in my recent history. Any bookmarks (and possibly older history) never appear, even though they do appear in the suggested sites list.
    Normally, this isn't a big deal, but I find site suggestions to be a bit irritating, so I have browser.urlbar.maxRichResults set to zero so it never appears, but I keep autocomplete enabled. So, the only suggestions I ever get are from my history.
    Is there a way to allow the autocomplete access to my bookmarks as well?

    There is a setting in Options for whether the autocomplete shows history, bookmarks or both. That's covered in this article: [[Awesome Bar - Find your bookmarks, history and tabs when you type in the address bar]] ("How can I control what results the location bar shows me?" section).
    That article also covers the preference to turn the in-URL-bar autofill feature off or back on (browser.urlbar.autoFill). That may or may not include bookmarks, but I think it prefers URL matches so might not be efficient depending on how you use the bar.
    Is any of that relevant?

Maybe you are looking for

  • How to find who has deleted pograms .

    Hi experts. Suppose U have created  a program and after certain time you found that, the program is deleted by some one and now it does not exits. In this case, how can one found that who has deleted the program by using the program name. I mean ther

  • Mail.app signature bug

    I'm attempting to edit a rather massive email signature on my iPhone 4 which I need for work (16 lines) and I have found that after I attempted to re-edit it, that I was no longer able to view the editing box on the screen fully.  The screen had jamm

  • Skype 7.1 has stopped working

    Hello, for the past month, on startup on Skype (7.1), appears the message "Skype has stopped working". I have installed and uninstalled it several times but couldn't fix the problem. I also had problems with IE11, so yesterday I managed to have IE9 i

  • User Exit after the credit release  by VKM1/VKM3 (database commit)

    Hi All, We have a requirement where once the credit manager releases the order from block through transaction VKM1 or VKM3, an e-mail should be triggered stating that the order has been released. I tried putting the code in EXIT_SAPFV45K_001(include

  • Last.fm app stopped working!

    Anyone has had this problem? My Last.fm app does not work any longer after upgrading to 2.1. The only thing I get is "buffering", then starts playing the track (mute), no album art is visible and cannot use skip function. I have uninstalled the app,