• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

XSD for JPA 2.0

 
Ranch Hand
Posts: 10192
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,

Where could I get the JPA 2.0 XSD definition?

http://java.sun.com/xml/ns/persistence/orm

The above link is what I use in my orm.xml but when looked for it in the browser, got a missing page from Oracle. Where the heck is this xsd?
 
Joe Harry
Ranch Hand
Posts: 10192
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm developing a Spring based JPA application in which I have a couple of Entities that I would like to map using the XML configuration file rather than using Annotations. I get some exceptions during startup and it is primarily due to the invalid usage of a couple of tags. For this reason, I thought of looking at the XSD and to my surprise I was not able to find it in the link that I mentioned above. Any ideas?
 
Joe Harry
Ranch Hand
Posts: 10192
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Whiyh is considered as a good practice for Entity mapping (Annotations or XML)? In my application, my plan is to use the Entity POJO's also as a DTO object. In such a case, is it advisable to send this DTO object with full Annotations to be used in the UI layer?
 
I was born with webbed fish toes. This tiny ad is my only friend:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic