Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 12. XML Mapping Files > The Mapping File

12.2. The Mapping File

By this point, you are well aware that if you don't want to use XML for mapping, you don't need to use XML. In fact, as you will see in Chapter 13, any number of mapping files, or none, might be included in a persistence unit. If you do use one, however, each mapping file that is supplied must conform and be valid against the orm_2_0.xsd schema located at http://java.sun.com/xml/ns/persistence/orm_2_0.xsd.

NOTE

When using a JPA 1.0 implementation, the schema will be orm_1_0.xsd, located at http://java.sun.com/xml/ns/persistence/orm_1_0.xsd.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial