alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Hibernate example source code file (master.xml)

This example Hibernate source code file (master.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Hibernate tags/keywords

general, hat, hibernate, hibernate, inc, inc, jpa, jpa, lesser, license, persistence, persistence, public, you

The Hibernate master.xml source code

<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Hibernate, Relational Persistence for Idiomatic Java
  ~
  ~ Copyright (c) 2010, Red Hat Inc. or third-party contributors as
  ~ indicated by the @author tags or express copyright attribution
  ~ statements applied by the authors.  All third-party contributions are
  ~ distributed under license by Red Hat Inc.
  ~
  ~ This copyrighted material is made available to anyone wishing to use, modify,
  ~ copy, or redistribute it subject to the terms and conditions of the GNU
  ~ Lesser General Public License, as published by the Free Software Foundation.
  ~
  ~ This program is distributed in the hope that it will be useful,
  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  ~ or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
  ~ for more details.
  ~
  ~ You should have received a copy of the GNU Lesser General Public License
  ~ along with this distribution; if not, write to:
  ~ Free Software Foundation, Inc.
  ~ 51 Franklin Street, Fifth Floor
  ~ Boston, MA  02110-1301  USA
  -->
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY version "WORKING">
<!ENTITY today "TODAY">
]>
<book>
  <bookinfo>
    <title>Hibernate EntityManager

    <subtitle>User guide

    <releaseinfo>&version;

    <edition>1.0

    <pubsnumber>1

    <pubdate>&today;

    <productnumber>&version;

    <issuenum>1

    <mediaobject>
      <imageobject>
        <imagedata fileref="images/hibernate_logo_a.png" format="PNG" />
      </imageobject>
    </mediaobject>

    <copyright>
      <year>2005

      <holder>Red Hat Inc. and the various authors
    </copyright>

    <authorgroup>
      <author>
        <firstname>Emmanuel

        <surname>Bernard
      </author>

      <author>
        <firstname>Steve

        <surname>Ebersole
      </author>

      <author>
        <firstname>Gavin

        <surname>King
      </author>

      <!--TODO add translators like core did -->
    </authorgroup>
  </bookinfo>

  <toc>

  <preface>
    <title>Introducing JPA Persistence

    <para>The JPA specification recognizes the interest and the success of the
    transparent object/relational mapping paradigm. It standardizes the basic
    APIs and the metadata needed for any object/relational persistence
    mechanism. <emphasis>Hibernate EntityManager implements the
    programming interfaces and lifecycle rules as defined by the JPA 2.0
    specification. Together with <emphasis>Hibernate Annotations,
    this wrapper implements a complete (and standalone) JPA persistence
    solution on top of the mature Hibernate Core. You may use a combination of
    all three together, annotations without JPA programming interfaces and
    lifecycle, or even pure native Hibernate Core, depending on the business
    and technical needs of your project. You can at all times fall back to
    Hibernate native APIs, or if required, even to native JDBC and SQL.</para>
  </preface>

  <xi:include href="modules/architecture.xml"
              xmlns:xi="http://www.w3.org/2001/XInclude" />

  <xi:include href="modules/migrated/configuration.xml"
              xmlns:xi="http://www.w3.org/2001/XInclude" />

  <xi:include href="modules/migrated/entitymanagerapi.xml"
              xmlns:xi="http://www.w3.org/2001/XInclude" />

  <xi:include href="modules/metamodel.xml"
              xmlns:xi="http://www.w3.org/2001/XInclude" />

  <xi:include href="modules/migrated/transactions.xml"
              xmlns:xi="http://www.w3.org/2001/XInclude" />

  <xi:include href="modules/listeners.xml"
              xmlns:xi="http://www.w3.org/2001/XInclude" />

  <xi:include href="modules/migrated/batch.xml"
              xmlns:xi="http://www.w3.org/2001/XInclude" />

  <xi:include href="modules/query_ejbql.xml"
              xmlns:xi="http://www.w3.org/2001/XInclude" />

  <xi:include href="modules/query_criteria.xml"
              xmlns:xi="http://www.w3.org/2001/XInclude" />

  <xi:include href="modules/query_native.xml"
              xmlns:xi="http://www.w3.org/2001/XInclude" />

  <bibliography>
    <title>References

    <biblioentry id="JPA2">
      <abbrev id="JPA2_ABBREV">JPA 2 Specification

      <title>JSR 317: Java Persistence API, Version
      2.0</title>

      <collab>
        <collabname>Java Persistence 2.0 Expert Group
      </collab>

      <copyright>
        <year>2009

        <holder>SUN MICROSYSTEMS, INC.
      </copyright>

      <bibliomisc>jsr-317-feedback@sun.com 
    </biblioentry>
  </bibliography>
</book>

Other Hibernate examples (source code examples)

Here is a short list of links related to this Hibernate master.xml source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.