Hibernate SVN: r18885 - annotations/branches/v3_3_1_GA_CP.
by hibernate-commits@lists.jboss.org
Author: stliu
Date: 2010-02-25 08:30:22 -0500 (Thu, 25 Feb 2010)
New Revision: 18885
Modified:
annotations/branches/v3_3_1_GA_CP/build.xml
annotations/branches/v3_3_1_GA_CP/common-build.xml
Log:
clean build script
Modified: annotations/branches/v3_3_1_GA_CP/build.xml
===================================================================
--- annotations/branches/v3_3_1_GA_CP/build.xml 2010-02-25 13:12:27 UTC (rev 18884)
+++ annotations/branches/v3_3_1_GA_CP/build.xml 2010-02-25 13:30:22 UTC (rev 18885)
@@ -24,20 +24,12 @@
<property name="javac.source" value="1.5"/>
<property name="javac.target" value="1.5"/>
<property name="common.dir" value="${basedir}"/>
-
- <!-- property name="jpa-api.jar" value="${basedir}/../jpa-api/build/ejb3-persistence.jar"/>
- <property name="commons-annotations.jar"
- value="${basedir}/../commons-annotations/target/hibernate-commons-annotations/hibernate-commons-annotations.jar"/ -->
<property name="ivy.dep.dir" value="${basedir}/build/lib" />
-
-
<available property="jpa-present" file="${basedir}/../jpa-api" type="dir"/>
<import file="${common.dir}/common-build.xml"/>
<property name="jpa-javadoc.dir" value="${dist.doc.dir}/jpa-api"/>
<path id="lib.moduleclass.path">
- <!-- pathelement location="${jpa-api.jar}"/>
- <pathelement location="${commons-annotations.jar}"/ -->
<fileset dir="${ivy.dep.dir}/core">
<include name="*.jar"/>
</fileset>
@@ -70,24 +62,11 @@
<tstamp>
<format property="now" pattern="yyyyMMddhhmmss"/>
</tstamp>
- <!-- available file="${jpa-api.jar}" type="file" property="jpa-api.jar.available"/>
- <available file="${commons-annotations.jar}" type="file" property="commons-annotations.jar.available"/ -->
<mkdir dir="${lib.dir}/test"/>
<mkdir dir="${ivy.dep.dir}/core"/>
<mkdir dir="${ivy.dep.dir}/test"/>
<ivy:configure file="${ivy.jar.dir}/ivyconf.xml" />
</target>
-
- <!-- target name="get.jpa-api" depends="init" unless="jpa-api.jar.available">
- <ant inheritall="false" dir="${basedir}/../jpa-api" target="clean"/>
- <ant inheritall="false" dir="${basedir}/../jpa-api" target="jar"/>
- </target>
-
- <target name="get.commons-annotations" depends="init" unless="commons-annotations.jar.available">
- <ant inheritall="false" dir="${basedir}/../commons-annotations" target="clean"/>
- <ant inheritall="false" dir="${basedir}/../commons-annotations" target="jar"/>
- </target -->
-
<target name="get.deps.core" depends="init" description="retrieve the core dependencies">
<ivy:resolve conf="core" />
<ivy:retrieve pattern="${ivy.dep.dir}/core/[artifact].[ext]" conf="core" />
@@ -142,32 +121,6 @@
<src refid="testsrc.path"/>
</javac>
</target>
-
-
- <!-- target name="junit" depends="compiletest">
- <mkdir dir="test_output"/>
- <junit fork="yes" printsummary="yes" haltonfailure="yes"
- forkmode="perBatch">
- <classpath>
- <fileset dir="${jdbc.dir}">
- <include name="**/*.jar"/>
- <include name="**/*.zip"/>
- </fileset>
- <path refid="lib.class.path"/>
- <pathelement path="${classes.dir}"/>
- <pathelement path="${src.dir}"/>
- <pathelement path="${test.dir}"/>
- </classpath>
- <formatter type="plain"/>
- <formatter type="xml"/>
- <batchtest fork="yes" todir="test_output" haltonfailure="no">
- <fileset dir="${classes.dir}">
- <include name="**/*Test.class"/>
- </fileset>
- </batchtest>
- </junit>
- </target -->
-
<!-- Run a single unit test. -->
<target name="junitsingle" depends="compiletest"
description="Run a single test suite (requires testname and jdbc.driver properties)">
@@ -181,9 +134,7 @@
<path refid="lib.class.path"/>
<pathelement path="${classes.dir}"/>
<pathelement path="${src.dir}"/>
- <!-- pick up properties from here -->
<pathelement path="${test.dir}"/>
- <!-- pick up mappings from here -->
</classpath>
<formatter type="plain"/>
<formatter type="xml"/>
@@ -191,16 +142,6 @@
</junit>
</target>
- <!-- target name="report">
- <mkdir dir="test_output"/>
- <junitreport todir="test_output">
- <fileset dir="test_output">
- <include name="TEST-*.xml"/>
- </fileset>
- <report format="frames" todir="test_output/report"/>
- </junitreport>
- </target -->
-
<target name="jar" depends="compile" description="Build the distribution .jar file">
<mkdir dir="${classes.dir}/META-INF"/>
<manifest file="${classes.dir}/META-INF/MANIFEST.MF">
@@ -223,10 +164,6 @@
/>
</target>
- <!-- target name="javadoc" description="Compile the Javadoc API documentation to dist dir">
- <echo>Skipping java doc since ant's javadoc task cannot handle an alternative javadoc</echo>
- </target -->
-
<target name="jpa-javadoc" if="jpa-present">
<mkdir dir="${jpa-javadoc.dir}"/>
<ant dir="../jpa-api" target="javadoc" inheritAll="false"/>
@@ -261,8 +198,6 @@
<!-- copy dependencies -->
<copy todir="${dist.lib.dir}" failonerror="false">
- <!-- fileset file="${jpa-api.jar}"/>
- <fileset file="${commons-annotations.jar}"/ -->
<fileset dir="${ivy.dep.dir}/core">
<include name="*.jar"/>
</fileset>
Modified: annotations/branches/v3_3_1_GA_CP/common-build.xml
===================================================================
--- annotations/branches/v3_3_1_GA_CP/common-build.xml 2010-02-25 13:12:27 UTC (rev 18884)
+++ annotations/branches/v3_3_1_GA_CP/common-build.xml 2010-02-25 13:30:22 UTC (rev 18885)
@@ -47,28 +47,6 @@
<property name="hibernate-core.jdbc.dir" location="${hibernate-core.home}/lib"/> <!-- for some reason jdbc.dir is renamed to lib instead of jdbc when doing a dist of hibernate3 -->
<property name="hibernate-core.doc.api" location="${hibernate-core.home}/doc/api"/>
<property name="hibernate-cvs.doc.reference" location="${common-build.basedir}/../core/doc/reference"/>
-
- <!--
- Explicitly define tasks from ant..
- Unfortunately, checkstyle-a<path id="lib.class.path">
- <path location="${hibernate-core.jar}"></path>
- <fileset dir="${hibernate-core.lib.dir}">
- <include name="*.jar"/>
- </fileset>
- <fileset dir="${lib.dir}">
- <include name="*.jar"/>
- </fileset>
- <pathelement path="${clover.jar}"/>
- </path>ll.jar contains it's own version of ANTLR, so ANTLR cannot be in the classpath.
- -->
- <!-- Emmanuel: Removed antlr, shouldn't be useful in Ext package...
- taskdef name="antlr" classname="org.apache.tools.ant.taskdefs.optional.ANTLR">
- <classpath>
- <pathelement location="${hibernate-core.lib.dir}/antlr-2.7.2.jar"/>
- <pathelement location="${hibernate-core.lib.dir}/ant-antlr-1.6.1.jar"/>
- </classpath>
- </taskdef -->
-
<taskdef name="junit" classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask">
<classpath>
<fileset dir="${hibernate-core.lib.dir}">
@@ -96,7 +74,6 @@
<include name="*.jar"/>
</fileset>
<path refid="lib.moduleclass.path"/>
- <pathelement path="${clover.jar}"/>
</path>
<!-- overridable in modules -->
@@ -133,13 +110,7 @@
<path id="testsrc.path">
<pathelement location="${test.dir}"/>
- </path>
-
- <!-- Clover -->
- <property name="clover.out.dir" value="cloverout"/>
- <property name="clover.jar" value="${ant.home}/lib/clover.jar"/>
- <taskdef resource="clovertasks"/>
-
+ </path>
<path id="junit.classpath">
<fileset dir="${lib.dir}">
<include name="*.jar"/>
@@ -148,33 +119,12 @@
<pathelement path="${testclasses.dir}"/>
<path refid="lib.class.path"/>
<path refid="junit.moduleclasspath"/>
- <path location="${clover.jar}"/>
</path>
-
- <!-- Clover tasks -->
- <target name="with.clover">
- <clover-setup initString="clover_coverage.db"/>
- </target>
-
- <target name="cloverreport.html" depends="with.clover"
- description="Generate a clover report from the current clover database.">
- <clover-report>
- <current outfile="${clover.out.dir}">
- <format type="html"/>
- </current>
- </clover-report>
- </target>
-
- <target name="cloverreport" depends="with.clover,junitreport,cloverreport.html"
- description="Run the tests and generate a clover report">
- </target>
-
<!-- Tasks -->
<target name="clean" description="Cleans up build and dist directories">
<delete dir="${build.dir}"/>
<delete dir="${dist.target.dir}"/>
- <delete dir="${clover.out.dir}"/>
</target>
<target name="init" description="Initialize the build">
@@ -254,14 +204,6 @@
<exclude name="**/*Tests.class"/>
</fileset>
</instrument>
-
- <!-- jar jarfile="${build.dir}/instrumented-classes.jar">
- <fileset dir="${testclasses.dir}">
- <include name="org/hibernate/test/**/*.class"/>
- <exclude name="org/hibernate/test/**/*Test.class"/>
- </fileset>
- </jar -->
-
</target>
<target name="copytest" description="Copy tests to dist dir" if="copy.test" >
14 years, 9 months
Hibernate SVN: r18884 - in core/trunk/annotations/src: main/java/org/hibernate/cfg/annotations and 2 other directories.
by hibernate-commits@lists.jboss.org
Author: sharathjreddy
Date: 2010-02-25 08:12:27 -0500 (Thu, 25 Feb 2010)
New Revision: 18884
Added:
core/trunk/annotations/src/main/java/org/hibernate/annotations/Subselect.java
core/trunk/annotations/src/main/java/org/hibernate/annotations/Synchronize.java
core/trunk/annotations/src/test/java/org/hibernate/test/annotations/subselect/
core/trunk/annotations/src/test/java/org/hibernate/test/annotations/subselect/Bid.java
core/trunk/annotations/src/test/java/org/hibernate/test/annotations/subselect/HighestBid.java
core/trunk/annotations/src/test/java/org/hibernate/test/annotations/subselect/Item.java
core/trunk/annotations/src/test/java/org/hibernate/test/annotations/subselect/SubselectTest.java
Modified:
core/trunk/annotations/src/main/java/org/hibernate/cfg/annotations/EntityBinder.java
core/trunk/annotations/src/main/java/org/hibernate/cfg/annotations/TableBinder.java
Log:
HHH-4374 Subselect. Also implemented Synchronize annotation.
Added: core/trunk/annotations/src/main/java/org/hibernate/annotations/Subselect.java
===================================================================
--- core/trunk/annotations/src/main/java/org/hibernate/annotations/Subselect.java (rev 0)
+++ core/trunk/annotations/src/main/java/org/hibernate/annotations/Subselect.java 2010-02-25 13:12:27 UTC (rev 18884)
@@ -0,0 +1,18 @@
+package org.hibernate.annotations;
+
+import static java.lang.annotation.ElementType.TYPE;
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+
+import java.lang.annotation.Retention;
+import java.lang.annotation.Target;
+
+/**
+ * Map an immutable and read-only entity to a given SQL subselect expression:
+ * @author Sharath Reddy
+ *
+ */
+@Target(TYPE)
+@Retention(RUNTIME)
+public @interface Subselect {
+ String value();
+}
Added: core/trunk/annotations/src/main/java/org/hibernate/annotations/Synchronize.java
===================================================================
--- core/trunk/annotations/src/main/java/org/hibernate/annotations/Synchronize.java (rev 0)
+++ core/trunk/annotations/src/main/java/org/hibernate/annotations/Synchronize.java 2010-02-25 13:12:27 UTC (rev 18884)
@@ -0,0 +1,21 @@
+package org.hibernate.annotations;
+
+import static java.lang.annotation.ElementType.TYPE;
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+
+import java.lang.annotation.Retention;
+import java.lang.annotation.Target;
+
+/**
+ * Ensures that auto-flush happens correctly and that queries against the derived
+ * entity do not return stale data.
+ *
+ * Mostly used with Subselect.
+ *
+ * @author Sharath Reddy
+ */
+@Target(TYPE)
+@Retention(RUNTIME)
+public @interface Synchronize {
+ String [] value();
+}
Modified: core/trunk/annotations/src/main/java/org/hibernate/cfg/annotations/EntityBinder.java
===================================================================
--- core/trunk/annotations/src/main/java/org/hibernate/cfg/annotations/EntityBinder.java 2010-02-25 10:44:48 UTC (rev 18883)
+++ core/trunk/annotations/src/main/java/org/hibernate/cfg/annotations/EntityBinder.java 2010-02-25 13:12:27 UTC (rev 18884)
@@ -54,6 +54,8 @@
import org.hibernate.annotations.SQLDeleteAll;
import org.hibernate.annotations.SQLInsert;
import org.hibernate.annotations.SQLUpdate;
+import org.hibernate.annotations.Subselect;
+import org.hibernate.annotations.Synchronize;
import org.hibernate.annotations.Tables;
import org.hibernate.annotations.Tuplizer;
import org.hibernate.annotations.Tuplizers;
@@ -120,7 +122,9 @@
private boolean cacheLazyProperty;
private AccessType propertyAccessType = AccessType.DEFAULT;
private boolean wrapIdsInEmbeddedComponents;
-
+ private String subselect;
+
+
public boolean wrapIdsInEmbeddedComponents() {
return wrapIdsInEmbeddedComponents;
}
@@ -257,6 +261,7 @@
SQLDelete sqlDelete = annotatedClass.getAnnotation( SQLDelete.class );
SQLDeleteAll sqlDeleteAll = annotatedClass.getAnnotation( SQLDeleteAll.class );
Loader loader = annotatedClass.getAnnotation( Loader.class );
+
if ( sqlInsert != null ) {
persistentClass.setCustomSQLInsert( sqlInsert.sql().trim(), sqlInsert.callable(),
ExecuteUpdateResultCheckStyle.parse( sqlInsert.check().toString().toLowerCase() )
@@ -282,6 +287,20 @@
persistentClass.setLoaderName( loader.namedQuery() );
}
+ if ( annotatedClass.isAnnotationPresent( Synchronize.class )) {
+ Synchronize synchronizedWith = annotatedClass.getAnnotation(Synchronize.class);
+
+ String [] tables = synchronizedWith.value();
+ for (String table : tables) {
+ persistentClass.addSynchronizedTable(table);
+ }
+ }
+
+ if ( annotatedClass.isAnnotationPresent(Subselect.class )) {
+ Subselect subselect = annotatedClass.getAnnotation(Subselect.class);
+ this.subselect = subselect.value();
+ }
+
//tuplizers
if ( annotatedClass.isAnnotationPresent( Tuplizers.class ) ) {
for (Tuplizer tuplizer : annotatedClass.getAnnotation( Tuplizers.class ).value()) {
@@ -474,7 +493,8 @@
uniqueConstraints,
constraints,
denormalizedSuperclassTable,
- mappings
+ mappings,
+ this.subselect
);
if ( persistentClass instanceof TableOwner ) {
@@ -701,7 +721,8 @@
uniqueConstraintHolders,
null,
null,
- mappings
+ mappings,
+ null
);
//no check constraints available on joins
Modified: core/trunk/annotations/src/main/java/org/hibernate/cfg/annotations/TableBinder.java
===================================================================
--- core/trunk/annotations/src/main/java/org/hibernate/cfg/annotations/TableBinder.java 2010-02-25 10:44:48 UTC (rev 18883)
+++ core/trunk/annotations/src/main/java/org/hibernate/cfg/annotations/TableBinder.java 2010-02-25 13:12:27 UTC (rev 18884)
@@ -183,7 +183,8 @@
uniqueConstraints,
constraints,
denormalizedSuperTable,
- mappings
+ mappings,
+ null
);
}
@@ -200,7 +201,7 @@
return new AssociationTableNameSource( name, logicalName );
}
-
+
public static Table buildAndFillTable(
String schema,
String catalog,
@@ -210,7 +211,8 @@
List<UniqueConstraintHolder> uniqueConstraints,
String constraints,
Table denormalizedSuperTable,
- ExtendedMappings mappings) {
+ ExtendedMappings mappings,
+ String subselect) {
schema = BinderHelper.isDefault( schema ) ? mappings.getSchemaName() : schema;
catalog = BinderHelper.isDefault( catalog ) ? mappings.getCatalogName() : catalog;
@@ -226,7 +228,7 @@
catalog,
realTableName,
isAbstract,
- null, // subselect
+ subselect,
denormalizedSuperTable
);
}
@@ -235,7 +237,7 @@
schema,
catalog,
realTableName,
- null, // subselect
+ subselect,
isAbstract
);
}
Added: core/trunk/annotations/src/test/java/org/hibernate/test/annotations/subselect/Bid.java
===================================================================
--- core/trunk/annotations/src/test/java/org/hibernate/test/annotations/subselect/Bid.java (rev 0)
+++ core/trunk/annotations/src/test/java/org/hibernate/test/annotations/subselect/Bid.java 2010-02-25 13:12:27 UTC (rev 18884)
@@ -0,0 +1,65 @@
+/*
+ * Hibernate, Relational Persistence for Idiomatic Java
+ *
+ * Copyright (c) 2009, Red Hat, Inc. and/or its affiliates 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
+ */
+package org.hibernate.test.annotations.subselect;
+
+import javax.persistence.Entity;
+import javax.persistence.Id;
+
+
+/**
+ * @author Sharath Reddy
+ */
+@Entity
+public class Bid {
+
+ private int id;
+ private long itemId;
+ private double amount;
+
+ @Id
+ public int getId() {
+ return id;
+ }
+ public void setId(int id) {
+ this.id = id;
+ }
+ public long getItemId() {
+ return itemId;
+ }
+ public void setItemId(long itemId) {
+ this.itemId = itemId;
+ }
+ public double getAmount() {
+ return amount;
+ }
+ public void setAmount(double val) {
+ this.amount = val;
+ }
+
+
+
+}
Added: core/trunk/annotations/src/test/java/org/hibernate/test/annotations/subselect/HighestBid.java
===================================================================
--- core/trunk/annotations/src/test/java/org/hibernate/test/annotations/subselect/HighestBid.java (rev 0)
+++ core/trunk/annotations/src/test/java/org/hibernate/test/annotations/subselect/HighestBid.java 2010-02-25 13:12:27 UTC (rev 18884)
@@ -0,0 +1,64 @@
+/*
+ * Hibernate, Relational Persistence for Idiomatic Java
+ *
+ * Copyright (c) 2009, Red Hat, Inc. and/or its affiliates 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
+ */
+
+package org.hibernate.test.annotations.subselect;
+
+import javax.persistence.Entity;
+import javax.persistence.Id;
+
+import org.hibernate.annotations.Subselect;
+import org.hibernate.annotations.Synchronize;
+
+/**
+ * @author Sharath Reddy
+ *
+ */
+@Entity
+@Subselect("select item.name as name, max(bid.amount) as amount from item, bid where bid.itemId = item.id group by item.name")
+@Synchronize({"Item", "Bid"})
+public class HighestBid {
+
+ private String name;
+ private double amount;
+
+ @Id
+ public String getName() {
+ return name;
+ }
+ public void setName(String val) {
+ this.name = val;
+ }
+ public double getAmount() {
+ return amount;
+ }
+ public void setAmount(double amount) {
+ this.amount = amount;
+ }
+
+
+
+}
Added: core/trunk/annotations/src/test/java/org/hibernate/test/annotations/subselect/Item.java
===================================================================
--- core/trunk/annotations/src/test/java/org/hibernate/test/annotations/subselect/Item.java (rev 0)
+++ core/trunk/annotations/src/test/java/org/hibernate/test/annotations/subselect/Item.java 2010-02-25 13:12:27 UTC (rev 18884)
@@ -0,0 +1,58 @@
+/*
+ * Hibernate, Relational Persistence for Idiomatic Java
+ *
+ * Copyright (c) 2009, Red Hat, Inc. and/or its affiliates 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
+ */
+
+package org.hibernate.test.annotations.subselect;
+
+
+import javax.persistence.Entity;
+import javax.persistence.Id;
+
+/**
+ * @author Sharath Reddy
+ */
+@Entity
+public class Item {
+
+ private long id;
+ private String name;
+
+ @Id
+ public long getId() {
+ return id;
+ }
+ public void setId(long id) {
+ this.id = id;
+ }
+ public String getName() {
+ return name;
+ }
+ public void setName(String name) {
+ this.name = name;
+ }
+
+
+}
Added: core/trunk/annotations/src/test/java/org/hibernate/test/annotations/subselect/SubselectTest.java
===================================================================
--- core/trunk/annotations/src/test/java/org/hibernate/test/annotations/subselect/SubselectTest.java (rev 0)
+++ core/trunk/annotations/src/test/java/org/hibernate/test/annotations/subselect/SubselectTest.java 2010-02-25 13:12:27 UTC (rev 18884)
@@ -0,0 +1,89 @@
+/*
+ * Hibernate, Relational Persistence for Idiomatic Java
+ *
+ * Copyright (c) 2009, Red Hat, Inc. and/or its affiliates 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
+ */
+
+package org.hibernate.test.annotations.subselect;
+
+import org.hibernate.Hibernate;
+import org.hibernate.Query;
+import org.hibernate.Session;
+import org.hibernate.Transaction;
+import org.hibernate.test.annotations.TestCase;
+
+
+/**
+ * @author Sharath Reddy
+ */
+public class SubselectTest extends TestCase {
+
+ public void testSubselectWithSynchronize() {
+
+ Session s = openSession();
+ Transaction tx = s.beginTransaction();
+ tx.begin();
+
+ //We don't use auto-generated ids because these seem to cause the session to flush.
+ //We want to test that the session flushes because of the 'synchronize' annotation
+ long itemId = 1;
+ Item item = new Item();
+ item.setName("widget");
+ item.setId(itemId);
+ s.save(item);
+
+ Bid bid1 = new Bid();
+ bid1.setAmount(100.0);
+ bid1.setItemId(itemId);
+ bid1.setId(1);
+ s.save(bid1);
+
+ Bid bid2 = new Bid();
+ bid2.setAmount(200.0);
+ bid2.setItemId(itemId);
+ bid2.setId(2);
+ s.save(bid2);
+
+ //Because we use 'synchronize' annotation, this query should trigger session flush
+ Query query = s.createQuery("from HighestBid b where b.name = :name");
+ query.setParameter("name", "widget", Hibernate.STRING);
+ HighestBid highestBid = (HighestBid) query.list().iterator().next();
+
+ assertEquals(200.0, highestBid.getAmount());
+
+ s.close();
+
+
+ }
+
+ @Override
+ protected Class<?>[] getAnnotatedClasses() {
+ return new Class[]{
+ Item.class,
+ Bid.class,
+ HighestBid.class
+ };
+ }
+
+}
14 years, 9 months
Hibernate SVN: r18883 - in search/branches/Branch_3_0_1_GA_CP/src/test/org/hibernate/search/test: query and 1 other directory.
by hibernate-commits@lists.jboss.org
Author: stliu
Date: 2010-02-25 05:44:48 -0500 (Thu, 25 Feb 2010)
New Revision: 18883
Modified:
search/branches/Branch_3_0_1_GA_CP/src/test/org/hibernate/search/test/PurgeTest.java
search/branches/Branch_3_0_1_GA_CP/src/test/org/hibernate/search/test/query/LuceneQueryTest.java
Log:
JBPAPP-3072 Invalid chars in QueryTest causes failure when running on Sybase
Modified: search/branches/Branch_3_0_1_GA_CP/src/test/org/hibernate/search/test/PurgeTest.java
===================================================================
--- search/branches/Branch_3_0_1_GA_CP/src/test/org/hibernate/search/test/PurgeTest.java 2010-02-25 10:23:50 UTC (rev 18882)
+++ search/branches/Branch_3_0_1_GA_CP/src/test/org/hibernate/search/test/PurgeTest.java 2010-02-25 10:44:48 UTC (rev 18883)
@@ -30,7 +30,7 @@
s.save( clock );
Book book = new Book( 1, "La chute de la petite reine a travers les yeux de Festina", "La chute de la petite reine a travers les yeux de Festina, blahblah" );
s.save( book );
- book = new Book( 2, "La gloire de mon p�re", "Les deboires de mon p�re en v�lo" );
+ book = new Book( 2, "La gloire de mon pre", "Les deboires de mon pre en vlo" );
s.save( book );
tx.commit();
s.clear();
@@ -74,7 +74,7 @@
s.save( clock );
Book book = new Book( 1, "La chute de la petite reine a travers les yeux de Festina", "La chute de la petite reine a travers les yeux de Festina, blahblah" );
s.save( book );
- book = new Book( 2, "La gloire de mon p�re", "Les deboires de mon p�re en v�lo" );
+ book = new Book( 2, "La gloire de mon pre", "Les deboires de mon pre en vlo" );
s.save( book );
tx.commit();
s.clear();
Modified: search/branches/Branch_3_0_1_GA_CP/src/test/org/hibernate/search/test/query/LuceneQueryTest.java
===================================================================
--- search/branches/Branch_3_0_1_GA_CP/src/test/org/hibernate/search/test/query/LuceneQueryTest.java 2010-02-25 10:23:50 UTC (rev 18882)
+++ search/branches/Branch_3_0_1_GA_CP/src/test/org/hibernate/search/test/query/LuceneQueryTest.java 2010-02-25 10:44:48 UTC (rev 18883)
@@ -34,7 +34,7 @@
s.save( clock );
Book book = new Book( 1, "La chute de la petite reine a travers les yeux de Festina", "La chute de la petite reine a travers les yeux de Festina, blahblah" );
s.save( book );
- book = new Book( 2, "La gloire de mon p�re", "Les deboires de mon p�re en v�lo" );
+ book = new Book( 2, "La gloire de mon pre", "Les deboires de mon pre en vlo" );
s.save( book );
tx.commit();
s.clear();
@@ -89,7 +89,7 @@
s.save( clock );
Book book = new Book( 1, "La chute de la petite reine a travers les yeux de Festina", "La chute de la petite reine a travers les yeux de Festina, blahblah" );
s.save( book );
- book = new Book( 2, "La gloire de mon p�re", "Les deboires de mon p�re en v�lo" );
+ book = new Book( 2, "La gloire de mon pre", "Les deboires de mon pre en vlo" );
s.save( book );
tx.commit();
s.clear();
@@ -125,7 +125,7 @@
s.save( clock );
Book book = new Book( 1, "La chute de la petite reine a travers les yeux de Festina", "La chute de la petite reine a travers les yeux de Festina, blahblah" );
s.save( book );
- book = new Book( 2, "La gloire de mon p�re", "Les deboires de mon p�re en v�lo" );
+ book = new Book( 2, "La gloire de mon pre", "Les deboires de mon pre en vlo" );
s.save( book );
tx.commit();
s.clear();
@@ -171,7 +171,7 @@
s.save( clock );
Book book = new Book( 1, "La chute de la petite reine a travers les yeux de Festina", "La chute de la petite reine a travers les yeux de Festina, blahblah" );
s.save( book );
- book = new Book( 2, "La gloire de mon p�re", "Les deboires de mon p�re en v�lo" );
+ book = new Book( 2, "La gloire de mon pre", "Les deboires de mon pre en vlo" );
s.save( book );
tx.commit();//post commit events for lucene
s.clear();
@@ -217,7 +217,7 @@
s.save( clock );
Book book = new Book( 1, "La chute de la petite reine a travers les yeux de Festina", "La chute de la petite reine a travers les yeux de Festina, blahblah" );
s.save( book );
- book = new Book( 2, "La gloire de mon p�re", "Les deboires de mon p�re en v�lo" );
+ book = new Book( 2, "La gloire de mon pre", "Les deboires de mon pre en vlo" );
s.save( book );
tx.commit();//post commit events for lucene
s.clear();
14 years, 9 months
Hibernate SVN: r18882 - entitymanager/branches/v3_3_2_GA_CP/src/test/org/hibernate/ejb/test.
by hibernate-commits@lists.jboss.org
Author: stliu
Date: 2010-02-25 05:23:50 -0500 (Thu, 25 Feb 2010)
New Revision: 18882
Modified:
entitymanager/branches/v3_3_2_GA_CP/src/test/org/hibernate/ejb/test/QueryTest.java
Log:
JBPAPP-3072 Invalid chars in QueryTest causes failure when running on Sybase
Modified: entitymanager/branches/v3_3_2_GA_CP/src/test/org/hibernate/ejb/test/QueryTest.java
===================================================================
--- entitymanager/branches/v3_3_2_GA_CP/src/test/org/hibernate/ejb/test/QueryTest.java 2010-02-25 08:17:17 UTC (rev 18881)
+++ entitymanager/branches/v3_3_2_GA_CP/src/test/org/hibernate/ejb/test/QueryTest.java 2010-02-25 10:23:50 UTC (rev 18882)
@@ -51,7 +51,7 @@
public void testParameterList() throws Exception {
final Item item = new Item( "Mouse", "Micro$oft mouse" );
- final Item item2 = new Item( "Computer", "D�ll computer" );
+ final Item item2 = new Item( "Computer", "Dell computer" );
EntityManager em = getOrCreateEntityManager();
em.getTransaction().begin();
@@ -123,7 +123,7 @@
public void testEscapeCharacter() throws Exception {
final Item item = new Item( "Mouse", "Micro_oft mouse" );
- final Item item2 = new Item( "Computer", "D�ll computer" );
+ final Item item2 = new Item( "Computer", "Dell computer" );
EntityManager em = getOrCreateEntityManager();
em.getTransaction().begin();
14 years, 9 months
Hibernate SVN: r18881 - entitymanager/branches/v3_3_2_GA_CP/src/test/org/hibernate/ejb/test/packaging.
by hibernate-commits@lists.jboss.org
Author: stliu
Date: 2010-02-25 03:17:17 -0500 (Thu, 25 Feb 2010)
New Revision: 18881
Modified:
entitymanager/branches/v3_3_2_GA_CP/src/test/org/hibernate/ejb/test/packaging/JarVisitorTest.java
Log:
JBPAPP-946 comment the fail test, just like what we did in eap 5 branch
Modified: entitymanager/branches/v3_3_2_GA_CP/src/test/org/hibernate/ejb/test/packaging/JarVisitorTest.java
===================================================================
--- entitymanager/branches/v3_3_2_GA_CP/src/test/org/hibernate/ejb/test/packaging/JarVisitorTest.java 2010-02-25 07:54:18 UTC (rev 18880)
+++ entitymanager/branches/v3_3_2_GA_CP/src/test/org/hibernate/ejb/test/packaging/JarVisitorTest.java 2010-02-25 08:17:17 UTC (rev 18881)
@@ -2,17 +2,17 @@
package org.hibernate.ejb.test.packaging;
import java.io.IOException;
-import java.io.InputStream;
import java.net.URL;
import java.net.URLConnection;
import java.util.Set;
-import java.util.jar.JarInputStream;
-import java.util.jar.JarEntry;
import javax.persistence.Embeddable;
import javax.persistence.Entity;
import javax.persistence.MappedSuperclass;
import junit.framework.TestCase;
+
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
import org.hibernate.ejb.packaging.ExplodedJarVisitor;
import org.hibernate.ejb.packaging.InputStreamZippedJarVisitor;
import org.hibernate.ejb.packaging.JarVisitor;
@@ -31,7 +31,7 @@
* @author Emmanuel Bernard
*/
public class JarVisitorTest extends TestCase {
-
+ private static final Log log = LogFactory.getLog(JarVisitorTest.class);
public void testHttp() throws Exception {
URL url = JarVisitorFactory.getJarURLFromURLEntry(
new URL(
@@ -201,42 +201,47 @@
// assertTrue( classes.contains( Carpet.class.getName() ) );
}
- public void testDuplicateFilterExplodedJarExpectedfail() throws Exception {
- String jarFileName = "./build/testresources/explodedpar.par";
- //JarVisitor jarVisitor = new ExplodedJarVisitor( jarFileName, true, true );
- Filter[] filters = getFilters();
- Filter[] dupeFilters = new Filter[filters.length * 2];
- int index = 0;
- for ( Filter filter : filters ) {
- dupeFilters[index++] = filter;
- }
- filters = getFilters();
- for ( Filter filter : filters ) {
- dupeFilters[index++] = filter;
- }
- JarVisitor jarVisitor = new ExplodedJarVisitor( jarFileName, dupeFilters );
- assertEquals( "explodedpar", jarVisitor.getUnqualifiedJarName() );
- Set[] entries = jarVisitor.getMatchingEntries();
- assertEquals( 1, entries[1].size() );
- assertEquals( 1, entries[0].size() );
- assertEquals( 1, entries[2].size() );
- for ( Entry entry : (Set<Entry>) entries[2] ) {
- InputStream is = entry.getInputStream();
- if ( is != null ) {
- assertTrue( 0 < is.available() );
- is.close();
- }
- }
- for ( Entry entry : (Set<Entry>) entries[5] ) {
- InputStream is = entry.getInputStream();
- if ( is != null ) {
- assertTrue( 0 < is.available() );
- is.close();
- }
- }
-
- Entry entry = new Entry( Carpet.class.getName(), null );
- assertTrue( entries[1].contains( entry ) );
+ /**
+ * @see EJB-230
+ */
+ public void testDuplicateFilterExplodedJarExpected() throws Exception {
+
+ log.warn("Skipping test! See jira issue EJB-230.");
+ // String jarFileName = "./build/testresources/explodedpar.par";
+// //JarVisitor jarVisitor = new ExplodedJarVisitor( jarFileName, true, true );
+// Filter[] filters = getFilters();
+// Filter[] dupeFilters = new Filter[filters.length * 2];
+// int index = 0;
+// for ( Filter filter : filters ) {
+// dupeFilters[index++] = filter;
+// }
+// filters = getFilters();
+// for ( Filter filter : filters ) {
+// dupeFilters[index++] = filter;
+// }
+// JarVisitor jarVisitor = new ExplodedJarVisitor( jarFileName, dupeFilters );
+// assertEquals( "explodedpar", jarVisitor.getUnqualifiedJarName() );
+// Set[] entries = jarVisitor.getMatchingEntries();
+// assertEquals( 1, entries[1].size() );
+// assertEquals( 1, entries[0].size() );
+// assertEquals( 1, entries[2].size() );
+// for ( Entry entry : (Set<Entry>) entries[2] ) {
+// InputStream is = entry.getInputStream();
+// if ( is != null ) {
+// assertTrue( 0 < is.available() );
+// is.close();
+// }
+// }
+// for ( Entry entry : (Set<Entry>) entries[5] ) {
+// InputStream is = entry.getInputStream();
+// if ( is != null ) {
+// assertTrue( 0 < is.available() );
+// is.close();
+// }
+// }
+//
+// Entry entry = new Entry( Carpet.class.getName(), null );
+// assertTrue( entries[1].contains( entry ) );
}
private Filter[] getFilters() {
14 years, 9 months
Hibernate SVN: r18880 - in annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations: cid and 5 other directories.
by hibernate-commits@lists.jboss.org
Author: stliu
Date: 2010-02-25 02:54:18 -0500 (Thu, 25 Feb 2010)
New Revision: 18880
Modified:
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/any/PropertyMap.java
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/cid/AId.java
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/cid/ChildPk.java
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/cid/TvMagazin.java
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/cid/TvMagazinPk.java
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/collectionelement/Boy.java
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/collectionelement/LocalizedString.java
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/collectionelement/Matrix.java
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/collectionelement/indexedCollection/Sale.java
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/identifiercollection/Passport.java
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/indexcoll/Atmosphere.java
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/target/SizeImpl.java
Log:
JBPAPP-3799 HHH-4773 unit tests fail cos db2 doesn't allow primary key column nullable
Modified: annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/any/PropertyMap.java
===================================================================
--- annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/any/PropertyMap.java 2010-02-25 03:50:02 UTC (rev 18879)
+++ annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/any/PropertyMap.java 2010-02-25 07:54:18 UTC (rev 18880)
@@ -61,7 +61,7 @@
name = "map_properties",
joinColumns = @JoinColumn( name = "map_id" ),
inverseJoinColumns = @JoinColumn( name = "property_id" ) )
- @MapKey( columns = { @Column( name = "map_key" ) } )
+ @MapKey( columns = { @Column( name = "map_key",nullable=false ) } )
public Map<String, Property> getProperties() {
return properties;
}
Modified: annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/cid/AId.java
===================================================================
--- annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/cid/AId.java 2010-02-25 03:50:02 UTC (rev 18879)
+++ annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/cid/AId.java 2010-02-25 07:54:18 UTC (rev 18880)
@@ -14,11 +14,11 @@
public class AId implements Serializable {
@OneToOne
- @JoinColumn( name = "bid" )
+ @JoinColumn( name = "bid",nullable=false )
private B b;
@OneToOne
- @JoinColumn( name = "cid" )
+ @JoinColumn( name = "cid",nullable=false )
private C c;
Modified: annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/cid/ChildPk.java
===================================================================
--- annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/cid/ChildPk.java 2010-02-25 03:50:02 UTC (rev 18879)
+++ annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/cid/ChildPk.java 2010-02-25 07:54:18 UTC (rev 18880)
@@ -17,8 +17,8 @@
public int nthChild;
@ManyToOne()
@JoinColumns({
- @JoinColumn(name = "parentLastName", referencedColumnName = "p_lname"),
- @JoinColumn(name = "parentFirstName", referencedColumnName = "firstName")
+ @JoinColumn(name = "parentLastName", referencedColumnName = "p_lname",nullable=false),
+ @JoinColumn(name = "parentFirstName", referencedColumnName = "firstName",nullable=false)
})
public Parent parent;
Modified: annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/cid/TvMagazin.java
===================================================================
--- annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/cid/TvMagazin.java 2010-02-25 03:50:02 UTC (rev 18879)
+++ annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/cid/TvMagazin.java 2010-02-25 07:54:18 UTC (rev 18880)
@@ -13,7 +13,7 @@
* @author Emmanuel Bernard
*/
@Entity
-@AssociationOverride(name = "id.channel", joinColumns = @JoinColumn(name = "chan_id"))
+@AssociationOverride(name = "id.channel", joinColumns = @JoinColumn(name = "chan_id",nullable=false))
public class TvMagazin {
@EmbeddedId
public TvMagazinPk id;
Modified: annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/cid/TvMagazinPk.java
===================================================================
--- annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/cid/TvMagazinPk.java 2010-02-25 03:50:02 UTC (rev 18879)
+++ annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/cid/TvMagazinPk.java 2010-02-25 07:54:18 UTC (rev 18880)
@@ -2,7 +2,9 @@
package org.hibernate.test.annotations.cid;
import java.io.Serializable;
+
import javax.persistence.Embeddable;
+import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
/**
@@ -11,8 +13,10 @@
@Embeddable
public class TvMagazinPk implements Serializable {
@ManyToOne
+ @JoinColumn(nullable=false)
public Channel channel;
//public String name;
@ManyToOne
+ @JoinColumn(nullable=false)
public Presenter presenter;
}
Modified: annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/collectionelement/Boy.java
===================================================================
--- annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/collectionelement/Boy.java 2010-02-25 03:50:02 UTC (rev 18879)
+++ annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/collectionelement/Boy.java 2010-02-25 07:54:18 UTC (rev 18880)
@@ -5,6 +5,7 @@
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
+
import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
@@ -19,6 +20,7 @@
import org.hibernate.annotations.CollectionOfElements;
import org.hibernate.annotations.IndexColumn;
+import org.hibernate.annotations.MapKey;
/**
* @author Emmanuel Bernard
@@ -74,7 +76,7 @@
public void setNickNames(Set<String> nickName) {
this.nickNames = nickName;
}
-
+ @MapKey(columns=@Column(nullable=false))
@CollectionOfElements
@JoinTable(name = "ScorePerNickName", joinColumns = @JoinColumn(name = "BoyId"))
@Column(name = "score", nullable = false)
Modified: annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/collectionelement/LocalizedString.java
===================================================================
--- annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/collectionelement/LocalizedString.java 2010-02-25 03:50:02 UTC (rev 18879)
+++ annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/collectionelement/LocalizedString.java 2010-02-25 07:54:18 UTC (rev 18880)
@@ -33,7 +33,7 @@
new HashMap<String, String>( 1 );
@CollectionOfElements
- @MapKey( columns = @Column( name = "language_code" ) )
+ @MapKey( columns = @Column( name = "language_code",nullable=false ) )
@Fetch( FetchMode.JOIN )
@Filter( name = "selectedLocale",
condition = " language_code = :param " )
Modified: annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/collectionelement/Matrix.java
===================================================================
--- annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/collectionelement/Matrix.java 2010-02-25 03:50:02 UTC (rev 18879)
+++ annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/collectionelement/Matrix.java 2010-02-25 07:54:18 UTC (rev 18880)
@@ -1,14 +1,16 @@
//$
package org.hibernate.test.annotations.collectionelement;
+import java.util.HashMap;
import java.util.Map;
-import java.util.HashMap;
+
+import javax.persistence.Column;
import javax.persistence.Entity;
+import javax.persistence.GeneratedValue;
import javax.persistence.Id;
-import javax.persistence.GeneratedValue;
+import org.hibernate.annotations.CollectionOfElements;
import org.hibernate.annotations.MapKey;
-import org.hibernate.annotations.CollectionOfElements;
import org.hibernate.annotations.Type;
/**
@@ -19,7 +21,7 @@
@Id
@GeneratedValue
private Integer id;
- @MapKey(type = @Type(type="integer") )
+ @MapKey(type = @Type(type="integer"),columns=@Column(name="mapkey",nullable=false) )
@CollectionOfElements
@Type(type = "float")
private Map<Integer, Float> values = new HashMap<Integer, Float>();
Modified: annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/collectionelement/indexedCollection/Sale.java
===================================================================
--- annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/collectionelement/indexedCollection/Sale.java 2010-02-25 03:50:02 UTC (rev 18879)
+++ annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/collectionelement/indexedCollection/Sale.java 2010-02-25 07:54:18 UTC (rev 18880)
@@ -28,7 +28,7 @@
name = "contact",
joinColumns = @JoinColumn(name = "n_key_person"))
@CollectionId(
- columns = @Column(name = "n_key_contact"),
+ columns = @Column(name = "n_key_contact",nullable=false),
type = @Type(type = "long"),
generator = "increment" )
private List<Contact> contacts = new ArrayList<Contact>();
Modified: annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/identifiercollection/Passport.java
===================================================================
--- annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/identifiercollection/Passport.java 2010-02-25 03:50:02 UTC (rev 18879)
+++ annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/identifiercollection/Passport.java 2010-02-25 07:54:18 UTC (rev 18880)
@@ -26,13 +26,13 @@
@ManyToMany(cascade = CascadeType.ALL)
@JoinTable(name="PASSPORT_STAMP")
- @CollectionId(columns = @Column(name="COLLECTION_ID"), type=@Type(type="long"), generator = "generator")
+ @CollectionId(columns = @Column(name="COLLECTION_ID",nullable=false), type=@Type(type="long"), generator = "generator")
@TableGenerator(name="generator", table="IDSTAMP")
private Collection<Stamp> stamps = new ArrayList();
@ManyToMany(cascade = CascadeType.ALL)
@JoinTable(name="PASSPORT_VISASTAMP")
- @CollectionId(columns = @Column(name="COLLECTION_ID"), type=@Type(type="long"), generator = "ids_generator")
+ @CollectionId(columns = @Column(name="COLLECTION_ID",nullable=false), type=@Type(type="long"), generator = "ids_generator")
//TODO test identity generator
private Collection<Stamp> visaStamp = new ArrayList();
Modified: annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/indexcoll/Atmosphere.java
===================================================================
--- annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/indexcoll/Atmosphere.java 2010-02-25 03:50:02 UTC (rev 18879)
+++ annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/indexcoll/Atmosphere.java 2010-02-25 07:54:18 UTC (rev 18880)
@@ -26,7 +26,7 @@
public Integer id;
@ManyToMany(cascade = CascadeType.ALL)
- @MapKey(columns = {@Column(name="gas_name")})
+ @MapKey(columns = {@Column(name="gas_name",nullable=false)})
public Map<String, Gas> gases = new HashMap<String, Gas>();
@ManyToMany(cascade = CascadeType.ALL)
Modified: annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/target/SizeImpl.java
===================================================================
--- annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/target/SizeImpl.java 2010-02-25 03:50:02 UTC (rev 18879)
+++ annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/target/SizeImpl.java 2010-02-25 07:54:18 UTC (rev 18880)
@@ -1,6 +1,7 @@
//$Id: $
package org.hibernate.test.annotations.target;
+import javax.persistence.Column;
import javax.persistence.Embeddable;
/**
@@ -8,8 +9,9 @@
*/
@Embeddable
public class SizeImpl implements Size {
+ @Column(nullable=false)
private String name;
-
+
public String getName() {
return name;
}
14 years, 9 months
Hibernate SVN: r18879 - in core/trunk: annotations and 31 other directories.
by hibernate-commits@lists.jboss.org
Author: steve.ebersole(a)jboss.com
Date: 2010-02-24 22:50:02 -0500 (Wed, 24 Feb 2010)
New Revision: 18879
Modified:
core/trunk/annotations/pom.xml
core/trunk/cache-ehcache/pom.xml
core/trunk/cache-infinispan/pom.xml
core/trunk/cache-jbosscache/pom.xml
core/trunk/cache-oscache/pom.xml
core/trunk/cache-swarmcache/pom.xml
core/trunk/connection-c3p0/pom.xml
core/trunk/connection-proxool/pom.xml
core/trunk/core/pom.xml
core/trunk/distribution/pom.xml
core/trunk/documentation/envers/pom.xml
core/trunk/documentation/jbosscache2/pom.xml
core/trunk/documentation/manual/old/es-ES/pom.xml
core/trunk/documentation/manual/old/fr-FR/pom.xml
core/trunk/documentation/manual/old/ja-JP/pom.xml
core/trunk/documentation/manual/old/ko-KR/pom.xml
core/trunk/documentation/manual/old/pt-BR/pom.xml
core/trunk/documentation/manual/old/zh-CN/pom.xml
core/trunk/documentation/manual/pom.xml
core/trunk/documentation/pom.xml
core/trunk/entitymanager/pom.xml
core/trunk/envers/pom.xml
core/trunk/hibernate-maven-plugin/pom.xml
core/trunk/jdbc3-testing/pom.xml
core/trunk/jdbc4-testing/pom.xml
core/trunk/jmx/pom.xml
core/trunk/parent/pom.xml
core/trunk/pom.xml
core/trunk/testing/pom.xml
core/trunk/testsuite/pom.xml
core/trunk/tutorials/eg/pom.xml
core/trunk/tutorials/pom.xml
core/trunk/tutorials/web/pom.xml
Log:
Updating pom versions to 3.5.0-SNAPSHOT for release tagging
Modified: core/trunk/annotations/pom.xml
===================================================================
--- core/trunk/annotations/pom.xml 2010-02-25 03:49:44 UTC (rev 18878)
+++ core/trunk/annotations/pom.xml 2010-02-25 03:50:02 UTC (rev 18879)
@@ -29,7 +29,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/cache-ehcache/pom.xml
===================================================================
--- core/trunk/cache-ehcache/pom.xml 2010-02-25 03:49:44 UTC (rev 18878)
+++ core/trunk/cache-ehcache/pom.xml 2010-02-25 03:50:02 UTC (rev 18879)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/cache-infinispan/pom.xml
===================================================================
--- core/trunk/cache-infinispan/pom.xml 2010-02-25 03:49:44 UTC (rev 18878)
+++ core/trunk/cache-infinispan/pom.xml 2010-02-25 03:50:02 UTC (rev 18879)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/cache-jbosscache/pom.xml
===================================================================
--- core/trunk/cache-jbosscache/pom.xml 2010-02-25 03:49:44 UTC (rev 18878)
+++ core/trunk/cache-jbosscache/pom.xml 2010-02-25 03:50:02 UTC (rev 18879)
@@ -27,7 +27,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/cache-oscache/pom.xml
===================================================================
--- core/trunk/cache-oscache/pom.xml 2010-02-25 03:49:44 UTC (rev 18878)
+++ core/trunk/cache-oscache/pom.xml 2010-02-25 03:50:02 UTC (rev 18879)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/cache-swarmcache/pom.xml
===================================================================
--- core/trunk/cache-swarmcache/pom.xml 2010-02-25 03:49:44 UTC (rev 18878)
+++ core/trunk/cache-swarmcache/pom.xml 2010-02-25 03:50:02 UTC (rev 18879)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/connection-c3p0/pom.xml
===================================================================
--- core/trunk/connection-c3p0/pom.xml 2010-02-25 03:49:44 UTC (rev 18878)
+++ core/trunk/connection-c3p0/pom.xml 2010-02-25 03:50:02 UTC (rev 18879)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/connection-proxool/pom.xml
===================================================================
--- core/trunk/connection-proxool/pom.xml 2010-02-25 03:49:44 UTC (rev 18878)
+++ core/trunk/connection-proxool/pom.xml 2010-02-25 03:50:02 UTC (rev 18879)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/core/pom.xml
===================================================================
--- core/trunk/core/pom.xml 2010-02-25 03:49:44 UTC (rev 18878)
+++ core/trunk/core/pom.xml 2010-02-25 03:50:02 UTC (rev 18879)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/distribution/pom.xml
===================================================================
--- core/trunk/distribution/pom.xml 2010-02-25 03:49:44 UTC (rev 18878)
+++ core/trunk/distribution/pom.xml 2010-02-25 03:50:02 UTC (rev 18879)
@@ -30,7 +30,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/documentation/envers/pom.xml
===================================================================
--- core/trunk/documentation/envers/pom.xml 2010-02-25 03:49:44 UTC (rev 18878)
+++ core/trunk/documentation/envers/pom.xml 2010-02-25 03:50:02 UTC (rev 18879)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
<relativePath>../../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/documentation/jbosscache2/pom.xml
===================================================================
--- core/trunk/documentation/jbosscache2/pom.xml 2010-02-25 03:49:44 UTC (rev 18878)
+++ core/trunk/documentation/jbosscache2/pom.xml 2010-02-25 03:50:02 UTC (rev 18879)
@@ -30,7 +30,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
<relativePath>../../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/documentation/manual/old/es-ES/pom.xml
===================================================================
--- core/trunk/documentation/manual/old/es-ES/pom.xml 2010-02-25 03:49:44 UTC (rev 18878)
+++ core/trunk/documentation/manual/old/es-ES/pom.xml 2010-02-25 03:50:02 UTC (rev 18879)
@@ -6,12 +6,12 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-manual-parent</artifactId>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
</parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-manual-${translation}</artifactId>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>Hibernate Manual (${translation})</name>
Modified: core/trunk/documentation/manual/old/fr-FR/pom.xml
===================================================================
--- core/trunk/documentation/manual/old/fr-FR/pom.xml 2010-02-25 03:49:44 UTC (rev 18878)
+++ core/trunk/documentation/manual/old/fr-FR/pom.xml 2010-02-25 03:50:02 UTC (rev 18879)
@@ -6,12 +6,12 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-manual-parent</artifactId>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
</parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-manual-${translation}</artifactId>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>Hibernate Manual (${translation})</name>
Modified: core/trunk/documentation/manual/old/ja-JP/pom.xml
===================================================================
--- core/trunk/documentation/manual/old/ja-JP/pom.xml 2010-02-25 03:49:44 UTC (rev 18878)
+++ core/trunk/documentation/manual/old/ja-JP/pom.xml 2010-02-25 03:50:02 UTC (rev 18879)
@@ -6,12 +6,12 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-manual-parent</artifactId>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
</parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-manual-${translation}</artifactId>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>Hibernate Manual (${translation})</name>
Modified: core/trunk/documentation/manual/old/ko-KR/pom.xml
===================================================================
--- core/trunk/documentation/manual/old/ko-KR/pom.xml 2010-02-25 03:49:44 UTC (rev 18878)
+++ core/trunk/documentation/manual/old/ko-KR/pom.xml 2010-02-25 03:50:02 UTC (rev 18879)
@@ -6,12 +6,12 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-manual-parent</artifactId>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
</parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-manual-${translation}</artifactId>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>Hibernate Manual (${translation})</name>
Modified: core/trunk/documentation/manual/old/pt-BR/pom.xml
===================================================================
--- core/trunk/documentation/manual/old/pt-BR/pom.xml 2010-02-25 03:49:44 UTC (rev 18878)
+++ core/trunk/documentation/manual/old/pt-BR/pom.xml 2010-02-25 03:50:02 UTC (rev 18879)
@@ -6,12 +6,12 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-manual-parent</artifactId>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
</parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-manual-${translation}</artifactId>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>Hibernate Manual (${translation})</name>
Modified: core/trunk/documentation/manual/old/zh-CN/pom.xml
===================================================================
--- core/trunk/documentation/manual/old/zh-CN/pom.xml 2010-02-25 03:49:44 UTC (rev 18878)
+++ core/trunk/documentation/manual/old/zh-CN/pom.xml 2010-02-25 03:50:02 UTC (rev 18879)
@@ -6,12 +6,12 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-manual-parent</artifactId>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
</parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-manual-${translation}</artifactId>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>Hibernate Manual (${translation})</name>
Modified: core/trunk/documentation/manual/pom.xml
===================================================================
--- core/trunk/documentation/manual/pom.xml 2010-02-25 03:49:44 UTC (rev 18878)
+++ core/trunk/documentation/manual/pom.xml 2010-02-25 03:50:02 UTC (rev 18879)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
<relativePath>../../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/documentation/pom.xml
===================================================================
--- core/trunk/documentation/pom.xml 2010-02-25 03:49:44 UTC (rev 18878)
+++ core/trunk/documentation/pom.xml 2010-02-25 03:50:02 UTC (rev 18879)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/entitymanager/pom.xml
===================================================================
--- core/trunk/entitymanager/pom.xml 2010-02-25 03:49:44 UTC (rev 18878)
+++ core/trunk/entitymanager/pom.xml 2010-02-25 03:50:02 UTC (rev 18879)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/envers/pom.xml
===================================================================
--- core/trunk/envers/pom.xml 2010-02-25 03:49:44 UTC (rev 18878)
+++ core/trunk/envers/pom.xml 2010-02-25 03:50:02 UTC (rev 18879)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/hibernate-maven-plugin/pom.xml
===================================================================
--- core/trunk/hibernate-maven-plugin/pom.xml 2010-02-25 03:49:44 UTC (rev 18878)
+++ core/trunk/hibernate-maven-plugin/pom.xml 2010-02-25 03:50:02 UTC (rev 18879)
@@ -27,7 +27,7 @@
<parent>
<artifactId>hibernate-parent</artifactId>
<groupId>org.hibernate</groupId>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/jdbc3-testing/pom.xml
===================================================================
--- core/trunk/jdbc3-testing/pom.xml 2010-02-25 03:49:44 UTC (rev 18878)
+++ core/trunk/jdbc3-testing/pom.xml 2010-02-25 03:50:02 UTC (rev 18879)
@@ -28,7 +28,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/jdbc4-testing/pom.xml
===================================================================
--- core/trunk/jdbc4-testing/pom.xml 2010-02-25 03:49:44 UTC (rev 18878)
+++ core/trunk/jdbc4-testing/pom.xml 2010-02-25 03:50:02 UTC (rev 18879)
@@ -28,7 +28,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/jmx/pom.xml
===================================================================
--- core/trunk/jmx/pom.xml 2010-02-25 03:49:44 UTC (rev 18878)
+++ core/trunk/jmx/pom.xml 2010-02-25 03:50:02 UTC (rev 18879)
@@ -29,7 +29,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/parent/pom.xml
===================================================================
--- core/trunk/parent/pom.xml 2010-02-25 03:49:44 UTC (rev 18878)
+++ core/trunk/parent/pom.xml 2010-02-25 03:50:02 UTC (rev 18879)
@@ -29,7 +29,7 @@
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
<packaging>pom</packaging>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
<name>Hibernate Core Parent POM</name>
<description>The base POM for all Hibernate Core modules.</description>
Modified: core/trunk/pom.xml
===================================================================
--- core/trunk/pom.xml 2010-02-25 03:49:44 UTC (rev 18878)
+++ core/trunk/pom.xml 2010-02-25 03:50:02 UTC (rev 18879)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
<relativePath>parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/testing/pom.xml
===================================================================
--- core/trunk/testing/pom.xml 2010-02-25 03:49:44 UTC (rev 18878)
+++ core/trunk/testing/pom.xml 2010-02-25 03:50:02 UTC (rev 18879)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/testsuite/pom.xml
===================================================================
--- core/trunk/testsuite/pom.xml 2010-02-25 03:49:44 UTC (rev 18878)
+++ core/trunk/testsuite/pom.xml 2010-02-25 03:50:02 UTC (rev 18879)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/tutorials/eg/pom.xml
===================================================================
--- core/trunk/tutorials/eg/pom.xml 2010-02-25 03:49:44 UTC (rev 18878)
+++ core/trunk/tutorials/eg/pom.xml 2010-02-25 03:50:02 UTC (rev 18879)
@@ -30,7 +30,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-tutorials</artifactId>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
Modified: core/trunk/tutorials/pom.xml
===================================================================
--- core/trunk/tutorials/pom.xml 2010-02-25 03:49:44 UTC (rev 18878)
+++ core/trunk/tutorials/pom.xml 2010-02-25 03:50:02 UTC (rev 18879)
@@ -29,7 +29,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/tutorials/web/pom.xml
===================================================================
--- core/trunk/tutorials/web/pom.xml 2010-02-25 03:49:44 UTC (rev 18878)
+++ core/trunk/tutorials/web/pom.xml 2010-02-25 03:50:02 UTC (rev 18879)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-tutorials</artifactId>
- <version>3.5.0-CR-2</version>
+ <version>3.5.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
14 years, 9 months
Hibernate SVN: r18878 - core/tags.
by hibernate-commits@lists.jboss.org
Author: steve.ebersole(a)jboss.com
Date: 2010-02-24 22:49:44 -0500 (Wed, 24 Feb 2010)
New Revision: 18878
Added:
core/tags/hibernate-3.5.0-CR-2/
Log:
Tagging 3.5.0-CR-2 release
Copied: core/tags/hibernate-3.5.0-CR-2 (from rev 18877, core/trunk)
14 years, 9 months
Hibernate SVN: r18877 - in core/trunk: annotations and 31 other directories.
by hibernate-commits@lists.jboss.org
Author: steve.ebersole(a)jboss.com
Date: 2010-02-24 22:49:36 -0500 (Wed, 24 Feb 2010)
New Revision: 18877
Modified:
core/trunk/annotations/pom.xml
core/trunk/cache-ehcache/pom.xml
core/trunk/cache-infinispan/pom.xml
core/trunk/cache-jbosscache/pom.xml
core/trunk/cache-oscache/pom.xml
core/trunk/cache-swarmcache/pom.xml
core/trunk/changelog.txt
core/trunk/connection-c3p0/pom.xml
core/trunk/connection-proxool/pom.xml
core/trunk/core/pom.xml
core/trunk/distribution/pom.xml
core/trunk/documentation/envers/pom.xml
core/trunk/documentation/jbosscache2/pom.xml
core/trunk/documentation/manual/old/es-ES/pom.xml
core/trunk/documentation/manual/old/fr-FR/pom.xml
core/trunk/documentation/manual/old/ja-JP/pom.xml
core/trunk/documentation/manual/old/ko-KR/pom.xml
core/trunk/documentation/manual/old/pt-BR/pom.xml
core/trunk/documentation/manual/old/zh-CN/pom.xml
core/trunk/documentation/manual/pom.xml
core/trunk/documentation/pom.xml
core/trunk/entitymanager/pom.xml
core/trunk/envers/pom.xml
core/trunk/hibernate-maven-plugin/pom.xml
core/trunk/jdbc3-testing/pom.xml
core/trunk/jdbc4-testing/pom.xml
core/trunk/jmx/pom.xml
core/trunk/parent/pom.xml
core/trunk/pom.xml
core/trunk/testing/pom.xml
core/trunk/testsuite/pom.xml
core/trunk/tutorials/eg/pom.xml
core/trunk/tutorials/pom.xml
core/trunk/tutorials/web/pom.xml
Log:
Updating pom versions to 3.5.0-CR-2 for release tagging
Modified: core/trunk/annotations/pom.xml
===================================================================
--- core/trunk/annotations/pom.xml 2010-02-25 03:20:01 UTC (rev 18876)
+++ core/trunk/annotations/pom.xml 2010-02-25 03:49:36 UTC (rev 18877)
@@ -29,7 +29,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/cache-ehcache/pom.xml
===================================================================
--- core/trunk/cache-ehcache/pom.xml 2010-02-25 03:20:01 UTC (rev 18876)
+++ core/trunk/cache-ehcache/pom.xml 2010-02-25 03:49:36 UTC (rev 18877)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/cache-infinispan/pom.xml
===================================================================
--- core/trunk/cache-infinispan/pom.xml 2010-02-25 03:20:01 UTC (rev 18876)
+++ core/trunk/cache-infinispan/pom.xml 2010-02-25 03:49:36 UTC (rev 18877)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/cache-jbosscache/pom.xml
===================================================================
--- core/trunk/cache-jbosscache/pom.xml 2010-02-25 03:20:01 UTC (rev 18876)
+++ core/trunk/cache-jbosscache/pom.xml 2010-02-25 03:49:36 UTC (rev 18877)
@@ -27,7 +27,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/cache-oscache/pom.xml
===================================================================
--- core/trunk/cache-oscache/pom.xml 2010-02-25 03:20:01 UTC (rev 18876)
+++ core/trunk/cache-oscache/pom.xml 2010-02-25 03:49:36 UTC (rev 18877)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/cache-swarmcache/pom.xml
===================================================================
--- core/trunk/cache-swarmcache/pom.xml 2010-02-25 03:20:01 UTC (rev 18876)
+++ core/trunk/cache-swarmcache/pom.xml 2010-02-25 03:49:36 UTC (rev 18877)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/changelog.txt
===================================================================
--- core/trunk/changelog.txt 2010-02-25 03:20:01 UTC (rev 18876)
+++ core/trunk/changelog.txt 2010-02-25 03:49:36 UTC (rev 18877)
@@ -6,6 +6,55 @@
more about each case.
+Changes in version 3.5.0-CR-2 (2010.02.24)
+-------------------------------------------
+http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversion/11011
+
+** Sub-task
+ * [HHH-4605] - Add support for @OneToMany @JoinColumn in XML
+ * [HHH-4606] - Add support for @*ToOne @JoinTable in XML
+ * [HHH-4662] - Implement javax.persistence.query.timeout
+ * [HHH-4676] - Any interceptor exception (RTE) should mark the tx for rollback
+ * [HHH-4765] - Enhance Dialect support for JPA-2 locking
+
+** Bug
+ * [HHH-3817] - JBC second level cache integration can cache stale collection data
+ * [HHH-4583] - Incorrect handling of empty conjunction and disjunction
+ * [HHH-4613] - KEY, VALUE and ENTRY should not be strict keywords
+ * [HHH-4693] - MapProxy - problems during marshalling/demarchalling
+ * [HHH-4809] - Immutable entities added to a session have Status.MANAGED unless loaded by the Session
+ * [HHH-4810] - Persistent immutable and read-only entities are updated before being deleted
+ * [HHH-4825] - mapping order impacting behavior leading to bug
+ * [HHH-4836] - Infinispan: 2L QueryCache don't considers cached queries which belong to current transaction
+ * [HHH-4845] - Investigate why entitymanager test cannot be run in forkMode once
+ * [HHH-4899] - Type not supported: org.hibernate.type.TimestampType
+ * [HHH-4917] - Keyword TYPE not supported
+ * [HHH-4926] - Upgrade to jDocBook 2.2.1
+ * [HHH-4928] - Non-Audited Entity with @ManyToOne in PK causes error in Envers 1.2.2
+ * [HHH-4932] - Upgrade EM to use the latest metamodel generator (CR-1)
+ * [HHH-4944] - putFromLoad calls could store stale data
+ * [HHH-4948] - Session.flush() does not always cascade save or update to read-only or immutable entities
+
+** Improvement
+ * [HHH-4905] - Allow consistent handling of numeric primary key values by any integral data type
+ * [HHH-4911] - Make referencedColumnName case insensitive
+ * [HHH-4930] - Drop org. prefix on hibernate.cache.default_cache_concurrency_strategy and hibernate.id.new_generator_mappings for consistency
+ * [HHH-4934] - Improve logging in MetadataContext and AttributeFactory
+ * [HHH-4942] - Refactor PackagedEntityManagerTest and JarVisitorTest to use ShrinkWrap
+
+** New Feature
+ * [HHH-3841] - Add support for lock timeouts
+
+** Patch
+ * [HHH-4908] - Multiple failures reported during ReadOnlyProxyTest with Ingres
+
+** Task
+ * [HHH-4640] - Add test with JNDI bound JBoss Transactions Transaction Manager
+ * [HHH-4936] - Document JPA criteria queries
+ * [HHH-4949] - Document JPA 2 metamodel
+ * [HHH-4951] - Correct DTD entities for injecting version and date into docs
+
+
Changes in version 3.5.0-CR-1 (2010.02.10)
-------------------------------------------
http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversi...
Modified: core/trunk/connection-c3p0/pom.xml
===================================================================
--- core/trunk/connection-c3p0/pom.xml 2010-02-25 03:20:01 UTC (rev 18876)
+++ core/trunk/connection-c3p0/pom.xml 2010-02-25 03:49:36 UTC (rev 18877)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/connection-proxool/pom.xml
===================================================================
--- core/trunk/connection-proxool/pom.xml 2010-02-25 03:20:01 UTC (rev 18876)
+++ core/trunk/connection-proxool/pom.xml 2010-02-25 03:49:36 UTC (rev 18877)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/core/pom.xml
===================================================================
--- core/trunk/core/pom.xml 2010-02-25 03:20:01 UTC (rev 18876)
+++ core/trunk/core/pom.xml 2010-02-25 03:49:36 UTC (rev 18877)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/distribution/pom.xml
===================================================================
--- core/trunk/distribution/pom.xml 2010-02-25 03:20:01 UTC (rev 18876)
+++ core/trunk/distribution/pom.xml 2010-02-25 03:49:36 UTC (rev 18877)
@@ -30,7 +30,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/documentation/envers/pom.xml
===================================================================
--- core/trunk/documentation/envers/pom.xml 2010-02-25 03:20:01 UTC (rev 18876)
+++ core/trunk/documentation/envers/pom.xml 2010-02-25 03:49:36 UTC (rev 18877)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
<relativePath>../../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/documentation/jbosscache2/pom.xml
===================================================================
--- core/trunk/documentation/jbosscache2/pom.xml 2010-02-25 03:20:01 UTC (rev 18876)
+++ core/trunk/documentation/jbosscache2/pom.xml 2010-02-25 03:49:36 UTC (rev 18877)
@@ -30,7 +30,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
<relativePath>../../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/documentation/manual/old/es-ES/pom.xml
===================================================================
--- core/trunk/documentation/manual/old/es-ES/pom.xml 2010-02-25 03:20:01 UTC (rev 18876)
+++ core/trunk/documentation/manual/old/es-ES/pom.xml 2010-02-25 03:49:36 UTC (rev 18877)
@@ -6,12 +6,12 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-manual-parent</artifactId>
- <version>3.5.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
</parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-manual-${translation}</artifactId>
- <version>3.3.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
<packaging>jdocbook</packaging>
<name>Hibernate Manual (${translation})</name>
Modified: core/trunk/documentation/manual/old/fr-FR/pom.xml
===================================================================
--- core/trunk/documentation/manual/old/fr-FR/pom.xml 2010-02-25 03:20:01 UTC (rev 18876)
+++ core/trunk/documentation/manual/old/fr-FR/pom.xml 2010-02-25 03:49:36 UTC (rev 18877)
@@ -6,12 +6,12 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-manual-parent</artifactId>
- <version>3.5.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
</parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-manual-${translation}</artifactId>
- <version>3.3.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
<packaging>jdocbook</packaging>
<name>Hibernate Manual (${translation})</name>
Modified: core/trunk/documentation/manual/old/ja-JP/pom.xml
===================================================================
--- core/trunk/documentation/manual/old/ja-JP/pom.xml 2010-02-25 03:20:01 UTC (rev 18876)
+++ core/trunk/documentation/manual/old/ja-JP/pom.xml 2010-02-25 03:49:36 UTC (rev 18877)
@@ -6,12 +6,12 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-manual-parent</artifactId>
- <version>3.5.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
</parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-manual-${translation}</artifactId>
- <version>3.3.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
<packaging>jdocbook</packaging>
<name>Hibernate Manual (${translation})</name>
Modified: core/trunk/documentation/manual/old/ko-KR/pom.xml
===================================================================
--- core/trunk/documentation/manual/old/ko-KR/pom.xml 2010-02-25 03:20:01 UTC (rev 18876)
+++ core/trunk/documentation/manual/old/ko-KR/pom.xml 2010-02-25 03:49:36 UTC (rev 18877)
@@ -6,12 +6,12 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-manual-parent</artifactId>
- <version>3.5.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
</parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-manual-${translation}</artifactId>
- <version>3.3.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
<packaging>jdocbook</packaging>
<name>Hibernate Manual (${translation})</name>
Modified: core/trunk/documentation/manual/old/pt-BR/pom.xml
===================================================================
--- core/trunk/documentation/manual/old/pt-BR/pom.xml 2010-02-25 03:20:01 UTC (rev 18876)
+++ core/trunk/documentation/manual/old/pt-BR/pom.xml 2010-02-25 03:49:36 UTC (rev 18877)
@@ -6,12 +6,12 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-manual-parent</artifactId>
- <version>3.5.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
</parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-manual-${translation}</artifactId>
- <version>3.3.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
<packaging>jdocbook</packaging>
<name>Hibernate Manual (${translation})</name>
Modified: core/trunk/documentation/manual/old/zh-CN/pom.xml
===================================================================
--- core/trunk/documentation/manual/old/zh-CN/pom.xml 2010-02-25 03:20:01 UTC (rev 18876)
+++ core/trunk/documentation/manual/old/zh-CN/pom.xml 2010-02-25 03:49:36 UTC (rev 18877)
@@ -6,12 +6,12 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-manual-parent</artifactId>
- <version>3.5.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
</parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-manual-${translation}</artifactId>
- <version>3.3.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
<packaging>jdocbook</packaging>
<name>Hibernate Manual (${translation})</name>
Modified: core/trunk/documentation/manual/pom.xml
===================================================================
--- core/trunk/documentation/manual/pom.xml 2010-02-25 03:20:01 UTC (rev 18876)
+++ core/trunk/documentation/manual/pom.xml 2010-02-25 03:49:36 UTC (rev 18877)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
<relativePath>../../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/documentation/pom.xml
===================================================================
--- core/trunk/documentation/pom.xml 2010-02-25 03:20:01 UTC (rev 18876)
+++ core/trunk/documentation/pom.xml 2010-02-25 03:49:36 UTC (rev 18877)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/entitymanager/pom.xml
===================================================================
--- core/trunk/entitymanager/pom.xml 2010-02-25 03:20:01 UTC (rev 18876)
+++ core/trunk/entitymanager/pom.xml 2010-02-25 03:49:36 UTC (rev 18877)
@@ -1,14 +1,12 @@
<?xml version="1.0"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/envers/pom.xml
===================================================================
--- core/trunk/envers/pom.xml 2010-02-25 03:20:01 UTC (rev 18876)
+++ core/trunk/envers/pom.xml 2010-02-25 03:49:36 UTC (rev 18877)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/hibernate-maven-plugin/pom.xml
===================================================================
--- core/trunk/hibernate-maven-plugin/pom.xml 2010-02-25 03:20:01 UTC (rev 18876)
+++ core/trunk/hibernate-maven-plugin/pom.xml 2010-02-25 03:49:36 UTC (rev 18877)
@@ -27,7 +27,7 @@
<parent>
<artifactId>hibernate-parent</artifactId>
<groupId>org.hibernate</groupId>
- <version>3.5.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/jdbc3-testing/pom.xml
===================================================================
--- core/trunk/jdbc3-testing/pom.xml 2010-02-25 03:20:01 UTC (rev 18876)
+++ core/trunk/jdbc3-testing/pom.xml 2010-02-25 03:49:36 UTC (rev 18877)
@@ -28,7 +28,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/jdbc4-testing/pom.xml
===================================================================
--- core/trunk/jdbc4-testing/pom.xml 2010-02-25 03:20:01 UTC (rev 18876)
+++ core/trunk/jdbc4-testing/pom.xml 2010-02-25 03:49:36 UTC (rev 18877)
@@ -28,7 +28,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/jmx/pom.xml
===================================================================
--- core/trunk/jmx/pom.xml 2010-02-25 03:20:01 UTC (rev 18876)
+++ core/trunk/jmx/pom.xml 2010-02-25 03:49:36 UTC (rev 18877)
@@ -29,7 +29,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/parent/pom.xml
===================================================================
--- core/trunk/parent/pom.xml 2010-02-25 03:20:01 UTC (rev 18876)
+++ core/trunk/parent/pom.xml 2010-02-25 03:49:36 UTC (rev 18877)
@@ -29,7 +29,7 @@
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
<packaging>pom</packaging>
- <version>3.5.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
<name>Hibernate Core Parent POM</name>
<description>The base POM for all Hibernate Core modules.</description>
Modified: core/trunk/pom.xml
===================================================================
--- core/trunk/pom.xml 2010-02-25 03:20:01 UTC (rev 18876)
+++ core/trunk/pom.xml 2010-02-25 03:49:36 UTC (rev 18877)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
<relativePath>parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/testing/pom.xml
===================================================================
--- core/trunk/testing/pom.xml 2010-02-25 03:20:01 UTC (rev 18876)
+++ core/trunk/testing/pom.xml 2010-02-25 03:49:36 UTC (rev 18877)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/testsuite/pom.xml
===================================================================
--- core/trunk/testsuite/pom.xml 2010-02-25 03:20:01 UTC (rev 18876)
+++ core/trunk/testsuite/pom.xml 2010-02-25 03:49:36 UTC (rev 18877)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/tutorials/eg/pom.xml
===================================================================
--- core/trunk/tutorials/eg/pom.xml 2010-02-25 03:20:01 UTC (rev 18876)
+++ core/trunk/tutorials/eg/pom.xml 2010-02-25 03:49:36 UTC (rev 18877)
@@ -30,7 +30,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-tutorials</artifactId>
- <version>3.5.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
<relativePath>../pom.xml</relativePath>
</parent>
Modified: core/trunk/tutorials/pom.xml
===================================================================
--- core/trunk/tutorials/pom.xml 2010-02-25 03:20:01 UTC (rev 18876)
+++ core/trunk/tutorials/pom.xml 2010-02-25 03:49:36 UTC (rev 18877)
@@ -29,7 +29,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
- <version>3.5.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
Modified: core/trunk/tutorials/web/pom.xml
===================================================================
--- core/trunk/tutorials/web/pom.xml 2010-02-25 03:20:01 UTC (rev 18876)
+++ core/trunk/tutorials/web/pom.xml 2010-02-25 03:49:36 UTC (rev 18877)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-tutorials</artifactId>
- <version>3.5.0-SNAPSHOT</version>
+ <version>3.5.0-CR-2</version>
<relativePath>../pom.xml</relativePath>
</parent>
14 years, 9 months
Hibernate SVN: r18876 - in core/trunk: annotations/src/main/docbook/fr and 5 other directories.
by hibernate-commits@lists.jboss.org
Author: steve.ebersole(a)jboss.com
Date: 2010-02-24 22:20:01 -0500 (Wed, 24 Feb 2010)
New Revision: 18876
Modified:
core/trunk/annotations/src/main/docbook/en/master.xml
core/trunk/annotations/src/main/docbook/fr/master.xml
core/trunk/annotations/src/main/docbook/zh_cn/master.xml
core/trunk/documentation/envers/src/main/docbook/en-US/Book_Info.xml
core/trunk/documentation/envers/src/main/docbook/en-US/Hibernate_Envers_-_Easy_Entity_Auditing.ent
core/trunk/documentation/manual/src/main/docbook/en-US/Book_Info.xml
core/trunk/documentation/manual/src/main/docbook/en-US/HIBERNATE_-_Relational_Persistence_for_Idiomatic_Java.ent
core/trunk/entitymanager/src/main/docbook/en/master.xml
core/trunk/entitymanager/src/main/docbook/en/modules/metamodel.xml
core/trunk/entitymanager/src/main/docbook/en/modules/query_criteria.xml
Log:
HHH-4951 - Correct DTD entities for injecting version and date into docs
Modified: core/trunk/annotations/src/main/docbook/en/master.xml
===================================================================
--- core/trunk/annotations/src/main/docbook/en/master.xml 2010-02-24 21:40:58 UTC (rev 18875)
+++ core/trunk/annotations/src/main/docbook/en/master.xml 2010-02-25 03:20:01 UTC (rev 18876)
@@ -2,10 +2,10 @@
<!--
~ Hibernate, Relational Persistence for Idiomatic Java
~
- ~ Copyright (c) 2008, Red Hat Middleware LLC or third-party contributors as
+ ~ 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 Middleware LLC.
+ ~ 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
@@ -23,17 +23,18 @@
~ 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.5.0.GA">
+ <!ENTITY version "WORKING">
+ <!ENTITY today "TODAY">
<!ENTITY copyrightYear "2004">
<!ENTITY copyrightHolder "Red Hat Inc. and the various authors">
]>
<book lang="en">
<bookinfo>
<title>Hibernate Annotations</title>
-
<subtitle>Reference Guide</subtitle>
- <releaseinfo>&versionNumber;</releaseinfo>
+ <releaseinfo>&version;</releaseinfo>
+ <pubdate>&today;</pubdate>
<mediaobject>
<imageobject>
Modified: core/trunk/annotations/src/main/docbook/fr/master.xml
===================================================================
--- core/trunk/annotations/src/main/docbook/fr/master.xml 2010-02-24 21:40:58 UTC (rev 18875)
+++ core/trunk/annotations/src/main/docbook/fr/master.xml 2010-02-25 03:20:01 UTC (rev 18876)
@@ -6,6 +6,8 @@
<!ENTITY xml-overriding SYSTEM "modules/xml-overriding.xml">
<!ENTITY validator SYSTEM "modules/validator.xml">
<!ENTITY lucene SYSTEM "modules/lucene.xml">
+<!ENTITY version "WORKING">
+<!ENTITY today "TODAY">
]>
<book lang="fr">
<bookinfo>
@@ -13,7 +15,8 @@
<subtitle>Guide de r�f�rence</subtitle>
- <releaseinfo>3.2.0.GA</releaseinfo>
+ <releaseinfo>&version;</releaseinfo>
+ <pubdate>&today;</pubdate>
<mediaobject>
<imageobject>
Modified: core/trunk/annotations/src/main/docbook/zh_cn/master.xml
===================================================================
--- core/trunk/annotations/src/main/docbook/zh_cn/master.xml 2010-02-24 21:40:58 UTC (rev 18875)
+++ core/trunk/annotations/src/main/docbook/zh_cn/master.xml 2010-02-25 03:20:01 UTC (rev 18876)
@@ -6,6 +6,8 @@
<!ENTITY xml-overriding SYSTEM "modules/xml-overriding.xml">
<!ENTITY validator SYSTEM "modules/validator.xml">
<!ENTITY lucene SYSTEM "modules/lucene.xml">
+<!ENTITY version "WORKING">
+<!ENTITY today "TODAY">
]>
<book lang="zh_cn">
<bookinfo>
@@ -13,7 +15,8 @@
<subtitle>参考文档</subtitle>
- <releaseinfo>3.2.0 CR1</releaseinfo>
+ <releaseinfo>&version;</releaseinfo>
+ <pubdate>&today;</pubdate>
<mediaobject>
<imageobject>
Modified: core/trunk/documentation/envers/src/main/docbook/en-US/Book_Info.xml
===================================================================
--- core/trunk/documentation/envers/src/main/docbook/en-US/Book_Info.xml 2010-02-24 21:40:58 UTC (rev 18875)
+++ core/trunk/documentation/envers/src/main/docbook/en-US/Book_Info.xml 2010-02-25 03:20:01 UTC (rev 18876)
@@ -1,4 +1,4 @@
-<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!DOCTYPE bookinfo PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % BOOK_ENTITIES SYSTEM "Hibernate_Envers_-_Easy_Entity_Auditing.ent">
%BOOK_ENTITIES;
]>
@@ -7,11 +7,12 @@
<bookinfo id="Hibernate_Envers_-_Easy_Entity_Auditing.xml">
<title>Hibernate Envers - Easy Entity Auditing</title>
<subtitle>Hibernate Envers Reference Documentation</subtitle>
- <releaseinfo>&versionNumber;</releaseinfo>
- <edition>1.0</edition>
- <pubsnumber>1</pubsnumber>
+ <releaseinfo>&version;</releaseinfo>
+ <pubdate>&today;</pubdate>
+ <edition>1.0</edition>
+ <pubsnumber>1</pubsnumber>
<productname>JBoss Hibernate Envers</productname>
- <productnumber>&versionNumber;</productnumber>
+ <productnumber>&version;</productnumber>
<issuenum>1</issuenum>
<copyright>
<year>©rightYear;</year>
Modified: core/trunk/documentation/envers/src/main/docbook/en-US/Hibernate_Envers_-_Easy_Entity_Auditing.ent
===================================================================
--- core/trunk/documentation/envers/src/main/docbook/en-US/Hibernate_Envers_-_Easy_Entity_Auditing.ent 2010-02-24 21:40:58 UTC (rev 18875)
+++ core/trunk/documentation/envers/src/main/docbook/en-US/Hibernate_Envers_-_Easy_Entity_Auditing.ent 2010-02-25 03:20:01 UTC (rev 18876)
@@ -1,5 +1,5 @@
-<!ENTITY versionNumber "3.3.0.GA">
+<!ENTITY version "WORKING">
<!ENTITY today "TODAY">
<!ENTITY copyrightYear "2004">
-<!ENTITY copyrightHolder "Red Hat Middleware, LLC.">
+<!ENTITY copyrightHolder "Red Hat Inc.">
<!ENTITY semi ";">
Modified: core/trunk/documentation/manual/src/main/docbook/en-US/Book_Info.xml
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/en-US/Book_Info.xml 2010-02-24 21:40:58 UTC (rev 18875)
+++ core/trunk/documentation/manual/src/main/docbook/en-US/Book_Info.xml 2010-02-25 03:20:01 UTC (rev 18876)
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8' ?>
-<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!DOCTYPE bookinfo PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % BOOK_ENTITIES SYSTEM "HIBERNATE_-_Relational_Persistence_for_Idiomatic_Java.ent">
%BOOK_ENTITIES;
]>
@@ -7,11 +7,11 @@
<bookinfo id="HIBERNATE_-_Relational_Persistence_for_Idiomatic_Java">
<title>HIBERNATE - Relational Persistence for Idiomatic Java</title>
<subtitle>Hibernate Reference Documentation</subtitle>
- <releaseinfo>&versionNumber;</releaseinfo>
+ <releaseinfo>&version;</releaseinfo>
<edition>1.0</edition>
<pubsnumber>1</pubsnumber>
<productname>JBoss Hibernate Core</productname>
- <productnumber>&versionNumber;</productnumber>
+ <productnumber>&version;</productnumber>
<pubdate>&today;</pubdate>
<issuenum>1</issuenum>
<mediaobject>
Modified: core/trunk/documentation/manual/src/main/docbook/en-US/HIBERNATE_-_Relational_Persistence_for_Idiomatic_Java.ent
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/en-US/HIBERNATE_-_Relational_Persistence_for_Idiomatic_Java.ent 2010-02-24 21:40:58 UTC (rev 18875)
+++ core/trunk/documentation/manual/src/main/docbook/en-US/HIBERNATE_-_Relational_Persistence_for_Idiomatic_Java.ent 2010-02-25 03:20:01 UTC (rev 18876)
@@ -1,4 +1,4 @@
-<!ENTITY versionNumber "WORKING">
+<!ENTITY version "WORKING">
<!ENTITY today "TODAY">
<!ENTITY copyrightYear "2004">
<!ENTITY copyrightHolder "Red Hat, Inc.">
Modified: core/trunk/entitymanager/src/main/docbook/en/master.xml
===================================================================
--- core/trunk/entitymanager/src/main/docbook/en/master.xml 2010-02-24 21:40:58 UTC (rev 18875)
+++ core/trunk/entitymanager/src/main/docbook/en/master.xml 2010-02-25 03:20:01 UTC (rev 18876)
@@ -23,7 +23,8 @@
~ 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 "WORKING">
+<!ENTITY version "WORKING">
+<!ENTITY today "TODAY">
]>
<book>
@@ -31,11 +32,11 @@
<bookinfo>
<title>Hibernate EntityManager</title>
<subtitle>User guide</subtitle>
- <releaseinfo>&versionNumber;</releaseinfo>
+ <releaseinfo>&version;</releaseinfo>
<edition>1.0</edition>
<pubsnumber>1</pubsnumber>
<pubdate>&today;</pubdate>
- <productnumber>&versionNumber;</productnumber>
+ <productnumber>&version;</productnumber>
<issuenum>1</issuenum>
<mediaobject>
<imageobject>
Modified: core/trunk/entitymanager/src/main/docbook/en/modules/metamodel.xml
===================================================================
--- core/trunk/entitymanager/src/main/docbook/en/modules/metamodel.xml 2010-02-24 21:40:58 UTC (rev 18875)
+++ core/trunk/entitymanager/src/main/docbook/en/modules/metamodel.xml 2010-02-25 03:20:01 UTC (rev 18876)
@@ -23,10 +23,7 @@
~ 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" [
-<!ENTITY jpa2Ref '<xref linkend="JPA2"/>'>
-<!ENTITY jpa2Cite '<citation>&jpa2Ref;</citation>'>
-<!ENTITY criteriaRef '<xref linkend="querycriteria"/>'>
-<!ENTITY apt '<ulink url="http://java.sun.com/javase/6/docs/technotes/tools/solaris/javac.html#proc...">annotation processor</ulink>'>
+<!ENTITY aptUrl 'http://java.sun.com/javase/6/docs/technotes/tools/solaris/javac.html#proc...'>
]>
<chapter id="metamodel">
@@ -35,8 +32,9 @@
<note>
<para>
The Metamodel itself is described in <citetitle pubwork="chapter">Chapter 5 Metamodel API</citetitle>
- of the &jpa2Cite;. <citetitle pubwork="chapter">Chapter 6 Criteria API</citetitle> of the &jpa2Cite;
- describes and shows uses of the metamodel in criteria queries, as does &criteriaRef;.
+ of the <citation><xref linkend="JPA2"/></citation>. <citetitle pubwork="chapter">Chapter 6 Criteria API</citetitle>
+ of the <citation><xref linkend="JPA2"/></citation> describes and shows uses of the metamodel in criteria
+ queries, as does <xref linkend="querycriteria"/>.
</para>
</note>
@@ -68,11 +66,12 @@
<para>
Second, from an application writer's perspective, it allows very fluent expression of completely type-safe
- criteria queries, especially the <emphasis>Static Metamodel</emphasis> approach. The &jpa2Cite; defines a
- number of ways the metamodel can be accessed and used, including the <emphasis>Static Metamodel</emphasis>
- approach, which we will look at later. The <emphasis>Static Metamodel</emphasis> approach is wonderful
- when the code has <ulink url="http://en.wikipedia.org/wiki/A_priori_and_a_posteriori">a priori knowledge</ulink>
- of the domain model. &criteriaRef; uses this approach exclusively in its examples.
+ criteria queries, especially the <emphasis>Static Metamodel</emphasis> approach. The
+ <citation><xref linkend="JPA2"/></citation> defines a number of ways the metamodel can be accessed and used,
+ including the <emphasis>Static Metamodel</emphasis> approach, which we will look at later.
+ The <emphasis>Static Metamodel</emphasis> approach is wonderful when the code has
+ <ulink url="http://en.wikipedia.org/wiki/A_priori_and_a_posteriori">a priori knowledge</ulink> of the domain
+ model. <xref linkend="querycriteria"/> uses this approach exclusively in its examples.
</para>
<section id="metamodel-static">
@@ -80,12 +79,13 @@
<para>
A <emphasis>static metamodel</emphasis> is a series of classes that "mirror" the entities and embeddables
in the domain model and provide static access to the metadata about the mirrored class's attributes. We
- will exclusively discuss what the &jpa2Cite; terms a <emphasis>Canonical Metamodel</emphasis>:
+ will exclusively discuss what the <citation><xref linkend="JPA2"/></citation> terms a
+ <emphasis>Canonical Metamodel</emphasis>:
</para>
<blockquote>
<attribution>
- <citation>&jpa2Ref;, section 6.2.1.1, pp 198-199</citation>
+ <citation><xref linkend="JPA2"/>, section 6.2.1.1, pp 198-199</citation>
</attribution>
<para>
<itemizedlist>
@@ -222,9 +222,10 @@
<note>
<para>
These canonical metamodel classes can be generated manually if you wish though it is expected
- that most developers will prefer use of an &apt;. Although annotation processors themselves are
- beyond the scope of this document, the Hibernate team does develop an annotation processor tool for
- generating a canonical metamodel. See <citetitle>Hibernate Metamodel Generator</citetitle>.
+ that most developers will prefer use of an <ulink url="&aptUrl;">annotation processor</ulink>.
+ Annotation processors themselves are beyond the scope of this document. However, the Hibernate team
+ does develop an annotation processor tool for generating a canonical metamodel.
+ See <citetitle>Hibernate Metamodel Generator</citetitle>.
</para>
</note>
@@ -232,7 +233,7 @@
When the Hibernate <interfacename>EntityManagerFactory</interfacename> is being built, it will
look for a canonical metamodel class for each of the managed typed is knows about and if it finds
any it will inject the appropriate metamodel information into them, as outlined in
- <citation>&jpa2Ref;, section 6.2.2, pg 200</citation>
+ <citation><xref linkend="JPA2"/>, section 6.2.2, pg 200</citation>
</para>
</section>
Modified: core/trunk/entitymanager/src/main/docbook/en/modules/query_criteria.xml
===================================================================
--- core/trunk/entitymanager/src/main/docbook/en/modules/query_criteria.xml 2010-02-24 21:40:58 UTC (rev 18875)
+++ core/trunk/entitymanager/src/main/docbook/en/modules/query_criteria.xml 2010-02-25 03:20:01 UTC (rev 18876)
@@ -22,11 +22,7 @@
~ 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" [
-<!ENTITY jpa2Ref '<xref linkend="JPA2"/>'>
-<!ENTITY jpa2Cite '<citation>&jpa2Ref;</citation>'>
-<!ENTITY staticMetamodelRef '<xref linkend="metamodel-static"/>'>
-]>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" []>
<chapter id="querycriteria">
<title>Criteria Queries</title>
@@ -70,10 +66,10 @@
<note>
<para>
- <citetitle pubwork="chapter">Chapter 6 Criteria API</citetitle> of the &jpa2Cite; already contains a
- decent amount of reference material pertaining to the various parts of a criteria query. So rather
- than duplicate all that content here, lets instead look at some of the more widely anticipated usages
- of the API.
+ <citetitle pubwork="chapter">Chapter 6 Criteria API</citetitle> of the <citation><xref linkend="JPA2"/></citation>
+ already contains a decent amount of reference material pertaining to the various parts of a criteria query.
+ So rather than duplicate all that content here, lets instead look at some of the more widely anticipated
+ usages of the API.
</para>
</note>
@@ -129,7 +125,7 @@
<para>
<emphasis>Person_.eyeColor</emphasis> is an example of the static form of metamodel
reference. We will use that form exclusively in this chapter.
- See &staticMetamodelRef; for details.
+ See <xref linkend="metamodel-static"/> for details.
</para>
</callout>
</calloutlist>
@@ -491,7 +487,7 @@
<title>FROM clause</title>
<blockquote>
<attribution>
- <citation>&jpa2Ref;, section 6.5.2 Query Roots, pg 262</citation>
+ <citation><xref linkend="JPA2"/>, section 6.5.2 Query Roots, pg 262</citation>
</attribution>
<para>
A CriteriaQuery object defines a query over one or more entity, embeddable, or basic abstract
14 years, 9 months