[hibernate-commits] Hibernate SVN: r15482 - in core/trunk/entitymanager: src/main/docbook/en and 1 other directories.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Mon Nov 3 07:55:05 EST 2008


Author: hardy.ferentschik
Date: 2008-11-03 07:55:04 -0500 (Mon, 03 Nov 2008)
New Revision: 15482

Added:
   core/trunk/entitymanager/build.xml
Removed:
   core/trunk/entitymanager/doc/
   core/trunk/entitymanager/src/main/docbook/en/styles/
Modified:
   core/trunk/entitymanager/pom.xml
   core/trunk/entitymanager/src/main/docbook/en/master.xml
   core/trunk/entitymanager/src/main/docbook/en/modules/architecture.xml
   core/trunk/entitymanager/src/main/docbook/en/modules/batch.xml
   core/trunk/entitymanager/src/main/docbook/en/modules/configuration.xml
   core/trunk/entitymanager/src/main/docbook/en/modules/entitymanagerapi.xml
   core/trunk/entitymanager/src/main/docbook/en/modules/listeners.xml
   core/trunk/entitymanager/src/main/docbook/en/modules/query_ejbql.xml
   core/trunk/entitymanager/src/main/docbook/en/modules/query_native.xml
   core/trunk/entitymanager/src/main/docbook/en/modules/transactions.xml
Log:
HHH-3580 removed some more obsolete resources and started to fix the failing tests; later we might move build.xml into the pom

Added: core/trunk/entitymanager/build.xml
===================================================================
--- core/trunk/entitymanager/build.xml	                        (rev 0)
+++ core/trunk/entitymanager/build.xml	2008-11-03 12:55:04 UTC (rev 15482)
@@ -0,0 +1,100 @@
+<!-- $Id: build.xml 15105 2008-08-18 19:20:37Z hardy.ferentschik $ -->
+<!--
+  Hibernate Entity Manager ANT build script.
+-->
+
+<project name="HibernateEntityManager" basedir=".">
+		
+	<target name="packjar">
+		<property name="extension" value="jar"/>
+		<property name="packagename" value="${jarname}"/>
+		<property name="headerdirectory" value="."/>
+		<mkdir dir="${package.dir}"/>
+		<mkdir dir="${package.tmp.dir}/${headerdirectory}"/>
+		<copy todir="${package.tmp.dir}/${headerdirectory}">
+			<fileset dir="${classes.dir}">
+				<include name="**/test/pack/${packagename}/**.*"/>
+			</fileset>
+		</copy>
+		<jar destfile="${package.dir}/${jarname}.${extension}">
+			<fileset dir="${package.tmp.dir}">
+				<include name="**/*.*"/>
+			</fileset>
+			<fileset dir="${testresources.dir}/${jarname}">
+				<include name="**/*.*"/>
+			</fileset>
+		</jar>
+		<delete dir="${package.tmp.dir}"/>
+	</target>
+	
+	<target name="packexploded">
+		<property name="extension" value="jar"/>
+		<!-- property name="jarname"/ -->
+		<mkdir dir="${package.dir}/${jarname}.${extension}"/>
+		<copy todir="${package.dir}/${jarname}.${extension}">
+			<fileset dir="${classes.dir}">
+				<include name="**/test/pack/${jarname}/**.*"/>
+			</fileset>
+			<fileset dir="${testresources.dir}/${jarname}">
+				<include name="**/*.*"/>
+			</fileset>
+		</copy>
+	</target>
+	
+	<target name="package" description="Prepare all needed jars and pars">
+		<antcall target="packjar" inheritall="true">
+			<param name="extension" value="par"/>
+			<param name="jarname" value="defaultpar"/>
+		</antcall>
+		<antcall target="packjar" inheritall="true">
+			<param name="extension" value="par"/>
+			<param name="jarname" value="space par"/>
+			<param name="packagename" value="spacepar"/>
+		</antcall>
+		<antcall target="packjar" inheritall="true">
+			<param name="extension" value="par"/>
+			<param name="jarname" value="explicitpar"/>
+		</antcall>
+		<antcall target="packjar" inheritall="true">
+			<param name="extension" value="par"/>
+			<param name="jarname" value="excludehbmpar"/>
+		</antcall>
+		<antcall target="packjar" inheritall="true">
+			<param name="extension" value="jar"/>
+			<param name="jarname" value="externaljar"/>
+		</antcall>
+		<antcall target="packjar" inheritall="true">
+			<param name="extension" value="par"/>
+			<param name="jarname" value="cfgxmlpar"/>
+		</antcall>
+		<antcall target="packjar" inheritall="true">
+			<param name="extension" value="jar"/>
+			<param name="jarname" value="overridenpar"/>
+		</antcall>
+		
+		<!-- nested jar -->
+		<!--
+		<jar destfile="${package.dir}/nestedjar.ear">
+			<fileset dir="${package.dir}">
+				<include name="defaultpar.par"/>
+			</fileset>
+		</jar>
+		<copy todir="${package.dir}/nesteddir.ear">
+			<fileset dir="${package.dir}">
+				<include name="defaultpar.par"/>
+			</fileset>
+		</copy>
+		
+		<antcall target="packjar" inheritall="true">
+			<param name="extension" value="war"/>
+			<param name="jarname" value="war"/>
+			<param name="headerdirectory" value="WEB-INF/classes"/>
+		</antcall>
+		
+		<antcall target="packexploded" inheritall="true">
+			<param name="extension" value="par"/>
+			<param name="jarname" value="explodedpar"/>
+		</antcall>
+	-->
+	</target>
+</project>

Modified: core/trunk/entitymanager/pom.xml
===================================================================
--- core/trunk/entitymanager/pom.xml	2008-11-03 11:24:30 UTC (rev 15481)
+++ core/trunk/entitymanager/pom.xml	2008-11-03 12:55:04 UTC (rev 15482)
@@ -104,10 +104,36 @@
             <testResource>
                 <filtering>true</filtering>
                 <directory>src/test/resources</directory>
+               <includes>
+                    <include>*.properties</include>
+                </includes>
             </testResource>
         </testResources>
 
         <plugins>
+	      <plugin>
+	        <artifactId>maven-antrun-plugin</artifactId>
+	        <executions>
+	          <execution>
+		        <id>package-tests</id>
+	            <phase>process-test-classes</phase>
+	            <configuration>
+		        	<tasks>
+	                    <property name="package.dir" value="${basedir}/target/test-packages"/>
+	                    <property name="package.tmp.dir" value="${basedir}/target/tmp"/>
+	                    <property name="classes.dir" value="${project.build.directory}/test-classes"/>	
+                        <property name="testresources.dir" value="${basedir}/src/test/resources"/>					
+	                	<ant antfile="${basedir}/build.xml">
+	                  		<target name="package"/>
+	                	</ant>
+					</tasks>
+	            </configuration>
+	            <goals>
+	              <goal>run</goal>
+	            </goals>
+	          </execution>
+	        </executions>
+	      </plugin>	
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-compiler-plugin</artifactId>
@@ -128,10 +154,24 @@
                     </execution>
                 </executions>
             </plugin>
+	      <plugin>
+	        <groupId>org.apache.maven.plugins</groupId>
+	        <artifactId>maven-surefire-plugin</artifactId>
+	        <configuration>
+	          <additionalClasspathElements>
+              	<additionalClasspathElement>${basedir}/target/test-packages/excludehbmpar.par</additionalClasspathElement>
+				<additionalClasspathElement>${basedir}/target/test-packages/defaultpar.par</additionalClasspathElement>
+				<additionalClasspathElement>${basedir}/target/test-packages/cfgxmlpar.par</additionalClasspathElement>
+				<additionalClasspathElement>${basedir}/target/test-packages/explicitpar.par</additionalClasspathElement>
+				<additionalClasspathElement>${basedir}/target/test-packages/externaljar.jar</additionalClasspathElement>
+				<additionalClasspathElement>${basedir}/target/test-packages/overridenpar.jar</additionalClasspathElement>
+				<additionalClasspathElement>${basedir}/target/test-packages/space par.par</additionalClasspathElement>
+	          </additionalClasspathElements>
+	        </configuration>
+	      </plugin>
         </plugins>
     </build>
 
-
     <profiles>
        <profile>
             <id>doc</id>

Modified: core/trunk/entitymanager/src/main/docbook/en/master.xml
===================================================================
--- core/trunk/entitymanager/src/main/docbook/en/master.xml	2008-11-03 11:24:30 UTC (rev 15481)
+++ core/trunk/entitymanager/src/main/docbook/en/master.xml	2008-11-03 12:55:04 UTC (rev 15482)
@@ -1,14 +1,31 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3CR3//EN"
-"../support/docbook-dtd/docbookx.dtd" [
-<!ENTITY architecture SYSTEM "modules/architecture.xml">
-<!ENTITY configuration SYSTEM "modules/configuration.xml">
-<!ENTITY entitymanagerapi SYSTEM "modules/entitymanagerapi.xml">
-<!ENTITY transactions SYSTEM "modules/transactions.xml">
-<!ENTITY listeners SYSTEM "modules/listeners.xml">
-<!ENTITY batch SYSTEM "modules/batch.xml">
-<!ENTITY query-ejbql SYSTEM "modules/query_ejbql.xml">
-<!ENTITY native SYSTEM "modules/query_native.xml">
+<?xml version='1.0' encoding="UTF-8"?>
+<!--
+  ~ Hibernate, Relational Persistence for Idiomatic Java
+  ~
+  ~ Copyright (c) 2008, Red Hat Middleware LLC 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 Middleware LLC.
+  ~
+  ~ 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 versionNumber "3.4.0.GA">
+        <!ENTITY copyrightYear "2004">
+        <!ENTITY copyrightHolder "Red Hat Middleware, LLC.">
 ]>
 <book lang="en">
   <bookinfo>
@@ -16,7 +33,7 @@
 
     <subtitle>User guide</subtitle>
 
-    <releaseinfo>3.4.0.GA</releaseinfo>
+    <releaseinfo>&versionNumber;</releaseinfo>
 
     <mediaobject>
       <imageobject>
@@ -25,7 +42,7 @@
     </mediaobject>
   </bookinfo>
 
-  <toc></toc>
+  <toc/>
 
   <preface>
     <title>Introducing EJB3 Persistence</title>
@@ -45,19 +62,13 @@
     if required, even to native JDBC and SQL.</para>
   </preface>
 
-  &architecture;
+  <xi:include href="modules/architecture.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+  <xi:include href="modules/configuration.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+  <xi:include href="modules/entitymanagerapi.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+  <xi:include href="modules/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/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_native.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
 
-  &configuration;
-
-  &entitymanagerapi;
-
-  &transactions;
-
-  &listeners;
-
-  &batch;
-
-  &query-ejbql;
-
-  &native;
 </book>
\ No newline at end of file

Modified: core/trunk/entitymanager/src/main/docbook/en/modules/architecture.xml
===================================================================
--- core/trunk/entitymanager/src/main/docbook/en/modules/architecture.xml	2008-11-03 11:24:30 UTC (rev 15481)
+++ core/trunk/entitymanager/src/main/docbook/en/modules/architecture.xml	2008-11-03 12:55:04 UTC (rev 15482)
@@ -1,4 +1,29 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml version='1.0' encoding="UTF-8"?>
+<!--
+  ~ Hibernate, Relational Persistence for Idiomatic Java
+  ~
+  ~ Copyright (c) 2008, Red Hat Middleware LLC 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 Middleware LLC.
+  ~
+  ~ 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 chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
 <chapter id="architecture">
   <title>Architecture</title>
 

Modified: core/trunk/entitymanager/src/main/docbook/en/modules/batch.xml
===================================================================
--- core/trunk/entitymanager/src/main/docbook/en/modules/batch.xml	2008-11-03 11:24:30 UTC (rev 15481)
+++ core/trunk/entitymanager/src/main/docbook/en/modules/batch.xml	2008-11-03 12:55:04 UTC (rev 15482)
@@ -1,4 +1,29 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml version='1.0' encoding="UTF-8"?>
+<!--
+  ~ Hibernate, Relational Persistence for Idiomatic Java
+  ~
+  ~ Copyright (c) 2008, Red Hat Middleware LLC 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 Middleware LLC.
+  ~
+  ~ 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 chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
 <chapter id="batch">
   <title>Batch processing</title>
 

Modified: core/trunk/entitymanager/src/main/docbook/en/modules/configuration.xml
===================================================================
--- core/trunk/entitymanager/src/main/docbook/en/modules/configuration.xml	2008-11-03 11:24:30 UTC (rev 15481)
+++ core/trunk/entitymanager/src/main/docbook/en/modules/configuration.xml	2008-11-03 12:55:04 UTC (rev 15482)
@@ -1,4 +1,29 @@
-<?xml version="1.0" encoding="UTF-8"?>
+<?xml version='1.0' encoding="UTF-8"?>
+<!--
+  ~ Hibernate, Relational Persistence for Idiomatic Java
+  ~
+  ~ Copyright (c) 2008, Red Hat Middleware LLC 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 Middleware LLC.
+  ~
+  ~ 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 chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
 <chapter id="configuration">
   <title id="setup">Setup and configuration</title>
 

Modified: core/trunk/entitymanager/src/main/docbook/en/modules/entitymanagerapi.xml
===================================================================
--- core/trunk/entitymanager/src/main/docbook/en/modules/entitymanagerapi.xml	2008-11-03 11:24:30 UTC (rev 15481)
+++ core/trunk/entitymanager/src/main/docbook/en/modules/entitymanagerapi.xml	2008-11-03 12:55:04 UTC (rev 15482)
@@ -1,4 +1,29 @@
-<?xml version="1.0" encoding="UTF-8"?>
+<?xml version='1.0' encoding="UTF-8"?>
+<!--
+  ~ Hibernate, Relational Persistence for Idiomatic Java
+  ~
+  ~ Copyright (c) 2008, Red Hat Middleware LLC 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 Middleware LLC.
+  ~
+  ~ 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 chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
 <chapter id="objectstate">
   <title>Working with objects</title>
 

Modified: core/trunk/entitymanager/src/main/docbook/en/modules/listeners.xml
===================================================================
--- core/trunk/entitymanager/src/main/docbook/en/modules/listeners.xml	2008-11-03 11:24:30 UTC (rev 15481)
+++ core/trunk/entitymanager/src/main/docbook/en/modules/listeners.xml	2008-11-03 12:55:04 UTC (rev 15482)
@@ -1,4 +1,29 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml version='1.0' encoding="UTF-8"?>
+<!--
+  ~ Hibernate, Relational Persistence for Idiomatic Java
+  ~
+  ~ Copyright (c) 2008, Red Hat Middleware LLC 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 Middleware LLC.
+  ~
+  ~ 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 chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
 <chapter id="listeners">
   <title>Entity listeners and Callback methods</title>
 

Modified: core/trunk/entitymanager/src/main/docbook/en/modules/query_ejbql.xml
===================================================================
--- core/trunk/entitymanager/src/main/docbook/en/modules/query_ejbql.xml	2008-11-03 11:24:30 UTC (rev 15481)
+++ core/trunk/entitymanager/src/main/docbook/en/modules/query_ejbql.xml	2008-11-03 12:55:04 UTC (rev 15482)
@@ -1,4 +1,29 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml version='1.0' encoding="UTF-8"?>
+<!--
+  ~ Hibernate, Relational Persistence for Idiomatic Java
+  ~
+  ~ Copyright (c) 2008, Red Hat Middleware LLC 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 Middleware LLC.
+  ~
+  ~ 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 chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
 <chapter id="queryhql">
   <title>EJB-QL: The Object Query Language</title>
 

Modified: core/trunk/entitymanager/src/main/docbook/en/modules/query_native.xml
===================================================================
--- core/trunk/entitymanager/src/main/docbook/en/modules/query_native.xml	2008-11-03 11:24:30 UTC (rev 15481)
+++ core/trunk/entitymanager/src/main/docbook/en/modules/query_native.xml	2008-11-03 12:55:04 UTC (rev 15482)
@@ -1,4 +1,29 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml version='1.0' encoding="UTF-8"?>
+<!--
+  ~ Hibernate, Relational Persistence for Idiomatic Java
+  ~
+  ~ Copyright (c) 2008, Red Hat Middleware LLC 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 Middleware LLC.
+  ~
+  ~ 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 chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
 <chapter id="query_native">
   <title>Native query</title>
 

Modified: core/trunk/entitymanager/src/main/docbook/en/modules/transactions.xml
===================================================================
--- core/trunk/entitymanager/src/main/docbook/en/modules/transactions.xml	2008-11-03 11:24:30 UTC (rev 15481)
+++ core/trunk/entitymanager/src/main/docbook/en/modules/transactions.xml	2008-11-03 12:55:04 UTC (rev 15482)
@@ -1,4 +1,29 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml version='1.0' encoding="UTF-8"?>
+<!--
+  ~ Hibernate, Relational Persistence for Idiomatic Java
+  ~
+  ~ Copyright (c) 2008, Red Hat Middleware LLC 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 Middleware LLC.
+  ~
+  ~ 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 chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
 <chapter id="transactions" revision="1">
   <title>Transactions and Concurrency</title>
 




More information about the hibernate-commits mailing list