|
From: <hib...@li...> - 2006-03-27 17:42:13
|
Author: ste...@jb...
Date: 2006-03-27 12:41:47 -0500 (Mon, 27 Mar 2006)
New Revision: 9690
Added:
tags/v32cr1/Hibernate3/
tags/v32cr1/Hibernate3/build.bat
tags/v32cr1/Hibernate3/build.sh
tags/v32cr1/Hibernate3/build.xml
tags/v32cr1/Hibernate3/changelog.txt
tags/v32cr1/Hibernate3/checkstyle_checks.xml
tags/v32cr1/Hibernate3/doc/
tags/v32cr1/Hibernate3/doc/reference/en/master.xml
tags/v32cr1/Hibernate3/doc/reference/en/modules/architecture.xml
tags/v32cr1/Hibernate3/doc/reference/en/modules/basic_mapping.xml
tags/v32cr1/Hibernate3/doc/reference/en/modules/configuration.xml
tags/v32cr1/Hibernate3/eg/
tags/v32cr1/Hibernate3/etc/
tags/v32cr1/Hibernate3/grammar/
tags/v32cr1/Hibernate3/hibernate_logo.gif
tags/v32cr1/Hibernate3/indent.py
tags/v32cr1/Hibernate3/jdbc/
tags/v32cr1/Hibernate3/lgpl.txt
tags/v32cr1/Hibernate3/lib/
tags/v32cr1/Hibernate3/readme.txt
tags/v32cr1/Hibernate3/src/
tags/v32cr1/Hibernate3/src/org/hibernate/cfg/Environment.java
tags/v32cr1/Hibernate3/src/org/hibernate/id/IdentifierGeneratorFactory.java
tags/v32cr1/Hibernate3/src/org/hibernate/id/SequenceGenerator.java
tags/v32cr1/Hibernate3/src/org/hibernate/id/SequenceIdentityGenerator.java
tags/v32cr1/Hibernate3/src/org/hibernate/id/insert/AbstractReturningDelegate.java
tags/v32cr1/Hibernate3/src/org/hibernate/jdbc/AbstractBatcher.java
tags/v32cr1/Hibernate3/src/org/hibernate/jdbc/Batcher.java
tags/v32cr1/Hibernate3/src/org/hibernate/util/NamedGeneratedKeysHelper.java
tags/v32cr1/Hibernate3/test/
Removed:
tags/v32cr1/Hibernate3/build.bat
tags/v32cr1/Hibernate3/build.sh
tags/v32cr1/Hibernate3/build.xml
tags/v32cr1/Hibernate3/changelog.txt
tags/v32cr1/Hibernate3/checkstyle_checks.xml
tags/v32cr1/Hibernate3/doc/
tags/v32cr1/Hibernate3/doc/reference/en/master.xml
tags/v32cr1/Hibernate3/doc/reference/en/modules/architecture.xml
tags/v32cr1/Hibernate3/doc/reference/en/modules/basic_mapping.xml
tags/v32cr1/Hibernate3/doc/reference/en/modules/configuration.xml
tags/v32cr1/Hibernate3/eg/
tags/v32cr1/Hibernate3/etc/
tags/v32cr1/Hibernate3/grammar/
tags/v32cr1/Hibernate3/hibernate_logo.gif
tags/v32cr1/Hibernate3/indent.py
tags/v32cr1/Hibernate3/jdbc/
tags/v32cr1/Hibernate3/lgpl.txt
tags/v32cr1/Hibernate3/lib/
tags/v32cr1/Hibernate3/readme.txt
tags/v32cr1/Hibernate3/src/
tags/v32cr1/Hibernate3/src/org/hibernate/cfg/Environment.java
tags/v32cr1/Hibernate3/src/org/hibernate/id/IdentifierGeneratorFactory.java
tags/v32cr1/Hibernate3/src/org/hibernate/id/SequenceGenerator.java
tags/v32cr1/Hibernate3/src/org/hibernate/id/insert/AbstractReturningDelegate.java
tags/v32cr1/Hibernate3/src/org/hibernate/jdbc/AbstractBatcher.java
tags/v32cr1/Hibernate3/src/org/hibernate/jdbc/Batcher.java
tags/v32cr1/Hibernate3/test/
Log:
tagging 3.2 cr1
Copied: tags/v32cr1/Hibernate3 (from rev 9532, trunk/Hibernate3)
Deleted: tags/v32cr1/Hibernate3/build.bat
===================================================================
--- trunk/Hibernate3/build.bat 2006-03-02 03:28:59 UTC (rev 9532)
+++ tags/v32cr1/Hibernate3/build.bat 2006-03-27 17:41:47 UTC (rev 9690)
@@ -1 +0,0 @@
-java -cp "lib/ant-launcher-1.6.5.jar" org.apache.tools.ant.launch.Launcher -lib lib %1 %2 %3 %4 %5
Copied: tags/v32cr1/Hibernate3/build.bat (from rev 9531, trunk/Hibernate3/build.bat)
Deleted: tags/v32cr1/Hibernate3/build.sh
===================================================================
--- trunk/Hibernate3/build.sh 2006-03-02 03:28:59 UTC (rev 9532)
+++ tags/v32cr1/Hibernate3/build.sh 2006-03-27 17:41:47 UTC (rev 9690)
@@ -1,2 +0,0 @@
-#!/bin/sh
-java -cp "lib/ant-launcher-1.6.5.jar" org.apache.tools.ant.launch.Launcher -lib lib "$@"
Copied: tags/v32cr1/Hibernate3/build.sh (from rev 9531, trunk/Hibernate3/build.sh)
Deleted: tags/v32cr1/Hibernate3/build.xml
===================================================================
--- trunk/Hibernate3/build.xml 2006-03-02 03:28:59 UTC (rev 9532)
+++ tags/v32cr1/Hibernate3/build.xml 2006-03-27 17:41:47 UTC (rev 9690)
@@ -1,788 +0,0 @@
-<!--
-
- Hibernate ANT build script.
-
- (Originally contributed by Fabricio Goncalves)
-
--->
-
-<project name="Hibernate3" default="jar" basedir=".">
-
- <!-- Give user a chance to override without editing this file or typing -D -->
- <property file="build.properties"/>
- <property file="${user.home}/.ant.properties"/>
-
- <!-- Name of project and version, used to create filenames -->
- <property name="Name" value="Hibernate"/>
- <property name="name" value="hibernate"/>
- <property name="name2" value="hibernate3"/>
- <property name="version.major" value="3"/>
- <property name="version.minor" value="2"/>
- <property name="version.micro" value="0"/>
- <property name="version.qualifier" value="alpha1"/>
- <property name="version.full" value="${version.major}.${version.minor}.${version.micro}.${version.qualifier}"/>
- <property name="version.major_minor" value="${version.major}.${version.minor}"/>
- <property name="fullname" value="${name}-${version.full}"/>
-
- <!-- set global properties for this build -->
- <property name="src.dir" value="src"/>
- <property name="test.dir" value="test"/>
- <property name="etc.dir" value="etc"/>
- <property name="grammar.dir" value="grammar"/>
- <property name="lib.dir" value="lib"/>
- <property name="jdbc.dir" value="jdbc"/>
- <property name="build.dir" value="build"/>
- <property name="classes.dir" value="${build.dir}/classes"/>
- <property name="testclasses.dir" value="${build.dir}/testclasses"/>
- <property name="generated.src" value="${build.dir}/gensrc"/>
- <property name="parser.src" value="${generated.src}/org/hibernate/hql/antlr"/>
- <property name="test.out.dir" value="testout"/>
- <property name="instrumenttest.out.dir" value="instrumenttestout"/>
- <property name="clover.out.dir" value="cloverout"/>
- <property name="dist.dir" value="../${name}-${version.major_minor}"/>
- <property name="doc.dir" value="doc"/>
- <property name="doc.api.dir" value="${doc.dir}/api"/>
- <property name="doc.ref.dir" value="${doc.dir}/reference"/>
- <property name="egsrc.dir" value="eg"/>
-
- <property name="dist.doc.dir" value="${dist.dir}/doc"/>
- <property name="dist.api.dir" value="${dist.dir}/doc/api"/>
- <property name="dist.ref.dir" value="${dist.dir}/doc/reference"/>
-
- <property name="dist.src.dir" value="${dist.dir}/src"/>
- <property name="dist.test.dir" value="${dist.dir}/test"/>
- <property name="dist.etc.dir" value="${dist.dir}/etc"/>
- <property name="dist.eg.dir" value="${dist.dir}/eg"/>
- <property name="dist.lib.dir" value="${dist.dir}/lib"/>
- <property name="dist.grammar.dir" value="${dist.dir}/grammar"/>
- <property name="jar.name" value="${name2}"/>
- <property name="jar.path" value="${dist.dir}/${jar.name}.jar"/>
-
- <property name="javadoc" value="http://java.sun.com/j2se/1.3/docs/api"/>
- <property name="javac.debug" value="on"/>
- <property name="javac.optimize" value="off"/>
- <property name="javac.target" value="1.4"/>
- <property name="javac.source" value="1.4"/>
-
- <property name="driver.jar" value="${jdbc.dir}/hsqldb.jar"/>
- <property name="clover.jar" value="${ant.home}/lib/clover.jar"/>
-
- <property name="replace.dir" value="${src.dir}"/>
-
- <path id="lib.class.path">
- <fileset dir="${lib.dir}">
- <include name="**/*.jar"/>
- </fileset>
- <pathelement path="${clover.jar}"/>
- </path>
-
- <patternset id="jar.files">
- <include name="**/*.dtd"/>
- <include name="**/*.xml"/>
- <include name="**/*.xslt"/>
- </patternset>
-
- <patternset id="src.files">
- <!-- include everything we want in the src directory
- that we didn't want in the jar itself -->
- <include name="**/*.java"/>
- </patternset>
-
- <patternset id="refdoc.files">
- <include name="**/*.css"/>
- <include name="**/*.jpg"/>
- <include name="**/*.gif"/>
- <include name="**/*.png"/>
- </patternset>
-
- <!-- ############################# Tasks ##############################-->
-
- <taskdef name="antlrtask"
- classname="org.apache.tools.ant.taskdefs.optional.ANTLR">
- <classpath>
- <!-- Don't include the ANTLR from checkstyle.jar -->
- <fileset dir="${lib.dir}">
- <include name="ant-antlr-*.jar"/>
- <include name="antlr-*.jar"/>
- </fileset>
- </classpath>
- </taskdef>
-
- <taskdef name="splash"
- classname="org.apache.tools.ant.taskdefs.optional.splash.SplashTask">
- <classpath refid="lib.class.path"/>
- </taskdef>
-
- <taskdef name="junit"
- classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask">
- <classpath refid="lib.class.path"/>
- </taskdef>
-
- <taskdef name="junitreport"
- classname="org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator">
- <classpath refid="lib.class.path"/>
- </taskdef>
-
- <taskdef resource="checkstyletask.properties">
- <classpath refid="lib.class.path"/>
- </taskdef>
-
- <taskdef resource="clovertasks"/>
-
- <!-- ############################ Targets #############################-->
-
- <target name="clean" depends="cleantestdb"
- description="Cleans up build and dist directories">
- <delete dir="${build.dir}"/>
- <delete dir="${dist.dir}"/>
- <delete dir="${test.out.dir}"/>
- <delete dir="${instrumenttest.out.dir}"/>
- <delete dir="${clover.out.dir}"/>
- </target>
-
- <target name="cleantestdb"
- description="Clean up HSQLDB test database">
- <delete>
- <fileset dir="." includes="test.*"/>
- </delete>
- </target>
-
- <target name="init" depends="splash"
- description="Initialize the build">
- <tstamp>
- <format property="subversion" pattern="yyyy-MM-dd hh:mm:ss"/>
- </tstamp>
- <echo message="Build ${Name}-${version.full} (${subversion})"/>
-
- <mkdir dir="${classes.dir}"/>
- <copy todir="${classes.dir}">
- <fileset dir="${src.dir}">
- <patternset refid="jar.files"/>
- </fileset>
- </copy>
- <echo message="JDK version: ${ant.java.version}"/>
- </target>
-
- <target name="init.antlr" depends="init"
- description="Check ANTLR dependencies.">
- <uptodate property="antlr.isUpToDate"
- targetfile="${parser.src}/.antlr_run">
- <srcfiles dir="${grammar.dir}" includes="*.g"/>
- </uptodate>
- </target>
-
- <target name="antlr" depends="init.antlr" unless="antlr.isUpToDate"
- description="Generate ANTLR parsers.">
- <mkdir dir="${parser.src}"/> <!-- Create the directory for the generated sources. -->
- <!-- The HQL grammar -->
- <antlrtask
- target="${grammar.dir}/hql.g"
- outputdirectory="${parser.src}"
- />
- <!-- The HQL-SQL tree transform grammar -->
- <antlrtask
- target="${grammar.dir}/hql-sql.g"
- outputdirectory="${parser.src}"
- />
- <!-- The SQL rendering tree traversal -->
- <antlrtask
- target="${grammar.dir}/sql-gen.g"
- outputdirectory="${parser.src}"
- />
- <touch file="${parser.src}/.antlr_run"/>
- </target>
-
- <target name="cleanantlr" depends="init"
- description="Clean up the generated ANTLR parsers.">
- <delete dir="${parser.src}"/>
- </target>
-
- <target name="antlr.regen" depends="init,cleanantlr,antlr"
- description="Regenerate all ANTLR generated code.">
- </target>
-
-
- <target name="compile" depends="init,antlr"
- description="Compile the Java source code">
- <available
- classname="org.eclipse.core.launcher.Main"
- property="build.compiler"
- value="org.eclipse.jdt.core.JDTCompilerAdapter"
- classpath="${java.class.path}"/>
- <javac
- destdir="${classes.dir}"
- classpathref="lib.class.path"
- debug="${javac.debug}"
- optimize="${javac.optimize}"
- target="${javac.target}"
- source="${javac.source}"
- nowarn="on">
- <src path="${src.dir}"/>
- <src path="${generated.src}"/>
- </javac>
-
- </target>
-
- <!-- If versioncheck fails two things can be "out-of-sync":
-
- '<libraryname> not found in fileset of libraries!' means that version.properties defines a library, but this library is not in the lib directory.
- Resolution: add the library to the lib directory or remove the definiton from version.properties
-
- '<filename> not listed in version.properties' means a file was found in the lib directory, but not in version.properties;
- Resolution: add the library to the version.properties or remove the library from the libraries.
- -->
- <target name="versioncheck"
- description="Check version.properties up against lib directory">
- <taskdef classname="versioncheck.VersionCheckTask"
- classpath="${lib.dir}/versioncheck.jar"
- name="versioncheck"/>
-
- <mkdir dir="${dist.lib.dir}"/>
- <versioncheck versionfile="${lib.dir}/version.properties" output="${dist.lib.dir}/_README.txt">
- <fileset dir="${lib.dir}">
- <include name="**/*.zip"/>
- <include name="**/*.jar"/>
- </fileset>
- </versioncheck>
- <copy file="${lib.dir}/version.properties" todir="${dist.lib.dir}"/>
- </target>
-
- <target name="cleanimps" depends="compile"
- description="Clean imports">
- <!-- clean the imports (is dependent on hibernate class files thus have to be done after compiling -->
- <taskdef classname="com.tombrus.cleanImports.ant.CleanImports"
- classpath="${lib.dir}/cleanimports.jar"
- name="cleanimps"/>
-
- <cleanimps srcdir="${generated.src}">
- <classpath>
- <path refid="lib.class.path"/>
- <path location="${build.dir}/classes"/>
- </classpath>
- <cleanformat>
- <options collapseAbove="99999" blankLines="1" ambiguities="on"/>
- <import/>
- </cleanformat>
- </cleanimps>
-
- </target>
-
- <target name="compiletest" depends="compile"
- description="Compile the tests">
- <mkdir dir="${testclasses.dir}"/>
- <available
- classname="org.eclipse.core.launcher.Main"
- property="build.compiler"
- value="org.eclipse.jdt.core.JDTCompilerAdapter"
- classpath="${java.class.path}"/>
- <javac
- srcdir="${test.dir}"
- destdir="${testclasses.dir}"
- debug="${javac.debug}"
- optimize="${javac.optimize}"
- target="${javac.target}"
- source="${javac.source}"
- nowarn="on">
- <classpath>
- <path refid="lib.class.path"/>
- <pathelement path="${classes.dir}"/>
- </classpath>
- </javac>
-
- <!-- Copy over the mapping files -->
- <copy todir="${testclasses.dir}">
- <fileset dir="${test.dir}">
- <patternset refid="jar.files"/>
- </fileset>
- </copy>
-
- </target>
-
- <target name="copysource" description="Copy sources to dist dir">
- <mkdir dir="${dist.src.dir}"/>
- <copy todir="${dist.src.dir}">
- <fileset dir="${src.dir}">
- <patternset refid="src.files"/>
- </fileset>
- <fileset dir="${src.dir}">
- <patternset refid="jar.files"/>
- </fileset>
- </copy>
-
- <mkdir dir="${dist.test.dir}"/>
- <copy todir="${dist.test.dir}">
- <fileset dir="${test.dir}"/>
- </copy>
-
- <mkdir dir="${dist.grammar.dir}"/>
- <copy todir="${dist.grammar.dir}">
- <fileset dir="${grammar.dir}"/>
- </copy>
- </target>
-
- <target name="copylib" description="Copy jars to lib dir">
- <mkdir dir="${dist.lib.dir}"/>
- <copy todir="${dist.lib.dir}">
- <fileset dir="${lib.dir}">
- <include name="*.jar"/>
- <exclude name="checkstyle*.jar"/>
- <include name="*.txt"/>
- <include name="version.properties"/>
- </fileset>
- </copy>
- </target>
-
- <target name="jar" depends="compile"
- description="Build the distribution .jar file">
- <mkdir dir="${dist.dir}"/>
- <jar jarfile="${jar.path}" basedir="${classes.dir}">
- <include name="org/hibernate/**/*.class"/>
- <patternset refid="jar.files"/>
- <manifest>
- <attribute name="Implementation-Title" value="Hibernate3"/>
- <attribute name="Implementation-Version" value="${version.full}"/>
- <attribute name="Implementation-Vendor" value="hibernate.org"/>
- <attribute name="Hibernate-Version" value="${version.full}"/>
- </manifest>
- </jar>
- </target>
-
- <!-- Documentation -->
-
- <target name="javadoc"
- description="Compile the Javadoc API documentation to dist dir"
- depends="splash">
-
- <mkdir dir="${dist.api.dir}"/>
- <javadoc
- classpathref="lib.class.path"
- destdir="${dist.api.dir}"
- use="true"
- protected="true"
- version="true"
- windowtitle="${Name} API Documentation"
- Overview="${doc.api.dir}/package.html"
- doctitle="${Name} API Documentation (${version.full})"
- stylesheetfile="${doc.api.dir}/jdstyle.css"
- link="${javadoc}">
-
- <packageset dir="${generated.src}" defaultexcludes="yes">
- <include name="org/hibernate/**"/>
- </packageset>
- <packageset dir="${src.dir}" defaultexcludes="yes">
- <include name="org/hibernate/**"/>
- </packageset>
-
- <group title="Core API"
- packages="org.hibernate:org.hibernate.classic:org.hibernate.criterion:org.hibernate.metadata:org.hibernate.cfg:org.hibernate.usertype"/>
- <group title="Extension API"
- packages="org.hibernate.id:org.hibernate.connection:org.hibernate.transaction:org.hibernate.type:org.hibernate.dialect*:org.hibernate.cache*:org.hibernate.event*:org.hibernate.action:org.hibernate.property:org.hibernate.loader*:org.hibernate.persister*:org.hibernate.proxy:org.hibernate.tuple:org.hibernate.transform:org.hibernate.collection:org.hibernate.jdbc"/>
- <group title="Miscellaneous API"
- packages="org.hibernate.stat:org.hibernate.tool.hbm2ddl:org.hibernate.jmx:org.hibernate.mapping:org.hibernate.tool.instrument"/>
- <group title="Internal Implementation"
- packages="org.hibernate.engine:org.hibernate.impl:org.hibernate.sql:org.hibernate.lob:org.hibernate.util:org.hibernate.exception:org.hibernate.hql:org.hibernate.hql.ast:org.hibernate.hql.antlr:org.hibernate.hql.classic:org.hibernate.intercept:org.hibernate.secure:org.hibernate.pretty"/>
- </javadoc>
- <copy file="${doc.api.dir}/package.html" todir="${dist.api.dir}"/>
-
- </target>
-
- <target name="refdoc" depends="splash"
- description="Generate and copy reference documentation">
-
- <ant dir="${doc.ref.dir}" inheritall="false" target="all.doc"/>
- <copy todir="${dist.ref.dir}">
- <fileset dir="${doc.ref.dir}/build"/>
- </copy>
-
- <!-- Copy tutorial source code -->
- <mkdir dir="${dist.ref.dir}/tutorial"/>
- <copy todir="${dist.ref.dir}/tutorial">
- <fileset dir="${doc.ref.dir}/tutorial">
- <include name="src/**"/>
- <include name="lib/**"/>
- <include name="build.xml"/>
- <include name="runCleanDatabase.sh"/>
- </fileset>
- </copy>
-
- <mkdir dir="${dist.doc.dir}/other"/>
- <copy file="${doc.dir}/other/hibernate-quickref.pdf" todir="${dist.doc.dir}/other"/>
- </target>
- <!--
- <target name="fetchwikidoc" description="Fetch current Wiki snapshot if Internet connection exists">
- <echo message="Fetching Wiki snapshot from hibernate.org"/>
- <mkdir dir="${dist.dir}"/>
- <get src="http://www.hibernate.org/wiki_snapshot.tar.gz"
- ignoreerrors="true"
- dest="${dist.dir}/wiki_snapshot.tar.gz" verbose="true" />
- <available file="${dist.dir}/wiki_snapshot.tar.gz" property="wiki-snapshot-exists"/>
- </target>
-
- <target name="wikidoc"
- description="Fetch current Wiki snapshot and extract it"
- depends="splash,fetchwikidoc"
- if="wiki-snapshot-exists">
-
- <untar compression="gzip" src="${dist.dir}/wiki_snapshot.tar.gz" dest="${dist.doc.dir}"/>
- <delete file="${dist.dir}/wiki_snapshot.tar.gz"/>
-
- <delete dir="${dist.doc.dir}/wiki/hib_docs"/>
- <replace dir="${dist.doc.dir}/wiki" token="hib_docs/" value="../">
- <include name="**/*.html"/>
- </replace>
- </target>
- -->
-
- <target name="extras"
- description="Copy miscellaneous files to root dir">
- <copy todir="${dist.eg.dir}">
- <fileset dir="eg"/>
- </copy>
- <copy todir="${dist.etc.dir}">
- <fileset dir="etc"/>
- </copy>
- <copy file="readme.txt" todir="${dist.dir}"/>
- <copy file="lgpl.txt" todir="${dist.dir}"/>
- <copy file="changelog.txt" todir="${dist.dir}"/>
- <copy file="build.xml" todir="${dist.dir}"/>
- <copy file="build.bat" todir="${dist.dir}"/>
- <copy file="hibernate_logo.gif" todir="${dist.dir}"/>
- <!-- we don't want a user build to clobber their install dir -->
- <replace file="${dist.dir}/build.xml">
- <replacetoken><![CDATA[../${name}-${version}]]></replacetoken>
- <replacevalue><![CDATA[../${name}]]></replacevalue>
- </replace>
- <replace file="${dist.dir}/build.xml">
- <replacetoken><![CDATA[name="jdbc.dir" value="jdbc"]]></replacetoken>
- <replacevalue><![CDATA[name="jdbc.dir" value="lib"]]></replacevalue>
- </replace>
- </target>
-
- <target name="splash" unless="nosplash"
- description="Display the logo">
- <property name="splash.dir" location="."/>
- <splash imageurl="file:${splash.dir}/hibernate_logo.gif" showduration="0"/>
- </target>
-
- <target name="dist"
- depends="splash,versioncheck,jar,javadoc,copysource,copylib,extras,antlr.bnf,refdoc"
- description="Build everything and package">
- <zip zipfile="${build.dir}/${fullname}.zip">
- <zipfileset prefix="${name}-${version.major_minor}" dir="${dist.dir}"/>
- </zip>
- <checksum file="${build.dir}/${fullname}.zip" algorithm="MD5" fileext=".md5.txt"/>
- <tar tarfile="${build.dir}/${fullname}.tar">
- <tarfileset prefix="${name}-${version.major_minor}" dir="${dist.dir}"/>
- </tar>
- <gzip src="${build.dir}/${fullname}.tar" zipfile="${build.dir}/${fullname}.tar.gz"/>
- <delete file="${build.dir}/${fullname}.tar"/>
- <checksum file="${build.dir}/${fullname}.tar.gz" algorithm="MD5" fileext=".md5.txt"/>
- </target>
-
- <target name="info" description="Echo system properties">
- <echoproperties/>
- <!-- <echo message="java.vm.info=${java.vm.info}"/>
- <echo message="java.vm.name=${java.vm.name}"/>
- <echo message="java.vm.vendor=${java.vm.vendor}"/>
- <echo message="java.vm.version=${java.vm.version}"/>
- <echo message="os.arch=${os.arch}"/>
- <echo message="os.name=${os.name}"/>
- <echo message="os.version=${os.version}"/>
- <echo message="java.home = ${java.home}"/>
- <echo message="java.class.path = ${java.class.path}"/>
- <echo message="build.compiler = ${build.compiler}"/>
- <echo message="file.encoding=${file.encoding}"/>
- <echo message="user.home = ${user.home}"/>
- <echo message="user.language=${user.language}"/>
- <echo message="driver.jar=${driver.jar}"/> -->
- </target>
-
- <target name="junit" depends="cleantestdb,compiletest"
- description="Run the test suite (requires driver.jar property)">
- <delete dir="${test.out.dir}"/>
- <mkdir dir="${test.out.dir}"/>
-
- <path id="selector.classpath">
- <!--
- the selector needs all of this because it actually gets the suite
- from AllTests and then performs the filtering based on that
- -->
- <fileset dir="${lib.dir}">
- <include name="**/*.jar"/>
- </fileset>
- <fileset dir="${jdbc.dir}">
- <include name="**/*.jar"/>
- <include name="**/*.zip"/>
- </fileset>
- <pathelement path="${classes.dir}"/>
- <pathelement path="${testclasses.dir}"/>
- <pathelement path="${etc.dir}"/>
- </path>
-
- <!--
- The forkmode="perBatch" setting makes the tests run faster.
- <junit printsummary="yes" fork="yes" haltonfailure="yes" dir="${basedir}" maxmemory="256M">
- -->
- <junit printsummary="yes" haltonfailure="yes" dir="${basedir}"
- maxmemory="256M" fork="yes" forkmode="perBatch">
- <classpath>
- <fileset dir="${lib.dir}">
- <include name="**/*.jar"/>
- </fileset>
- <fileset dir="${jdbc.dir}">
- <include name="**/*.jar"/>
- <include name="**/*.zip"/>
- </fileset>
- <pathelement path="${classes.dir}"/>
- <pathelement path="${etc.dir}"/>
- <pathelement path="${testclasses.dir}"/>
- <!--pathelement path="${src.dir}"/ --> <!-- pick up properties from here -->
- <!--pathelement path="${test.dir}"/ --> <!-- pick up mappings from here -->
- <pathelement path="."/>
- <pathelement path="${driver.jar}"/>
- <pathelement path="${clover.jar}"/>
- </classpath>
- <formatter type="plain"/>
- <formatter type="xml"/>
- <batchtest todir="${test.out.dir}" haltonfailure="no">
- <fileset dir="${testclasses.dir}">
- <include name="org/hibernate/test/**/*Test.class"/>
- <exclude name="org/hibernate/test/lazyonetoone/**/*Test.class"/>
- <exclude name="org/hibernate/test/instrument/**/*Test.class"/>
- <!--custom selector to make sure only those tests in the AllTests suite get picked up here -->
- <custom classname="org.hibernate.test.TestSelector" classpathref="selector.classpath"/>
- </fileset>
- </batchtest>
- </junit>
- </target>
-
- <target name="junitinstrument" depends="cleantestdb,compiletest,instrument"
- description="Run the instrument test suite (requires driver.jar property)">
- <mkdir dir="${instrumenttest.out.dir}"/>
- <junit printsummary="yes" haltonfailure="yes" dir="${basedir}"
- maxmemory="256M" fork="yes" forkmode="perBatch">
- <classpath>
- <fileset dir="${lib.dir}">
- <include name="**/*.jar"/>
- </fileset>
- <fileset dir="${jdbc.dir}">
- <include name="**/*.jar"/>
- <include name="**/*.zip"/>
- </fileset>
- <pathelement path="${classes.dir}"/>
- <pathelement path="${etc.dir}"/>
- <pathelement path="${testclasses.dir}"/>
- <pathelement path="."/>
- <pathelement path="${driver.jar}"/>
- </classpath>
- <formatter type="plain"/>
- <formatter type="xml"/>
- <batchtest todir="${instrumenttest.out.dir}" haltonfailure="no">
- <fileset dir="${testclasses.dir}">
- <include name="org/hibernate/test/**/*Test.class"/>
- <exclude name="org/hibernate/test/*PerformanceTest.class"/>
- </fileset>
- </batchtest>
- <!--test name="org.hibernate.test.lazyonetoone.LazyOneToOneTest"
- todir="${instrumenttest.out.dir}" haltonfailure="no"/>
- <test name="org.hibernate.test.instrument.InstrumentTest"
- todir="${instrumenttest.out.dir}" haltonfailure="no"/-->
- </junit>
- </target>
-
- <target name="perf" depends="cleantestdb,compiletest"
- description="Run the performance tests">
- <mkdir dir="${test.out.dir}"/>
- <junit printsummary="yes" fork="yes" haltonfailure="yes" dir="${basedir}">
- <classpath>
- <fileset dir="${lib.dir}">
- <include name="**/*.jar"/>
- </fileset>
- <fileset dir="${jdbc.dir}">
- <include name="**/*.jar"/>
- <include name="**/*.zip"/>
- </fileset>
- <pathelement path="${classes.dir}"/>
- <pathelement path="${testclasses.dir}"/>
- <!--pathelement path="${src.dir}"/ --> <!-- pick up properties from here -->
- <!--pathelement path="${test.dir}"/ --> <!-- pick up mappings from here -->
- <pathelement path="."/>
- <pathelement path="${driver.jar}"/>
- <pathelement path="${clover.jar}"/>
- </classpath>
- <formatter type="plain"/>
- <test name="org.hibernate.test.NewPerformanceTest" todir="${test.out.dir}" haltonfailure="no"/>
- <test name="org.hibernate.test.NewerPerformanceTest" todir="${test.out.dir}" haltonfailure="no"/>
- <test name="org.hibernate.test.PerformanceTest" todir="${test.out.dir}" haltonfailure="no"/>
- </junit>
- </target>
-
- <target name="junitreport" depends="splash,junit"
- description="Run tests and create JUnit report (requires driver.jar property)">
- <junitreport todir="${test.out.dir}">
- <fileset dir="${test.out.dir}">
- <include name="TEST-*.xml"/>
- </fileset>
- <report format="frames" todir="${test.out.dir}"/>
- </junitreport>
- </target>
-
- <target name="junitinstrumentreport" depends="splash,junitinstrument"
- description="Run instrumented tests and create JUnit report (requires driver.jar property)">
- <junitreport todir="${instrumenttest.out.dir}">
- <fileset dir="${instrumenttest.out.dir}">
- <include name="TEST-*.xml"/>
- </fileset>
- <report format="frames" todir="${instrumenttest.out.dir}"/>
- </junitreport>
- </target>
-
- <!-- Run a single unit test. -->
- <target name="junitsingle" depends="cleantestdb,compiletest"
- description="Run a single test suite (requires testname and jdbc.driver properties)">
- <mkdir dir="${test.out.dir}"/>
- <junit printsummary="yes" fork="yes" haltonfailure="yes" dir="${basedir}">
- <classpath>
- <pathelement path="${etc.dir}"/> <!-- pick up property resources from the 'etc' directory first -->
- <fileset dir="${lib.dir}">
- <include name="**/*.jar"/>
- </fileset>
- <pathelement path="${classes.dir}"/>
- <pathelement path="${testclasses.dir}"/>
- <pathelement path="${src.dir}"/> <!-- pick up property resources from here (after classes and etc) -->
- <pathelement path="."/>
- <pathelement path="${driver.jar}"/>
- </classpath>
- <formatter type="plain"/>
- <formatter type="xml"/>
- <test fork="yes" todir="${test.out.dir}" haltonfailure="no" name="${testname}"/>
- </junit>
- </target>
-
- <!--
- Makes one patch file containing all local changes. Use this if target if you have
- a local copy of sources from CVS and want to contribute any fixes you have made.
-
- The generated patch.txt file should be attached in a new "Patch" issue in
- JIRA at http://opensource.atlassian.com/projects/hibernate/ (where you'll have
- to register and log in).
- -->
- <target name="patch" depends="checkstyle"
- description="Create a patch">
- <cvs command="-q diff -u -N" output="patch.txt"/>
- </target>
-
- <target name="checkstyle" description="Check coding style">
- <checkstyle config="checkstyle_checks.xml">
- <fileset dir="${src.dir}">
- <include name="**/*.java"/>
- </fileset>
- <formatter type="plain"/>
- </checkstyle>
- </target>
-
- <target name="eg"
- description="Compile and run the simple example">
- <!-- works only in distribution, not in CVS tree -->
- <available
- classname="org.eclipse.core.launcher.Main"
- property="build.compiler"
- value="org.eclipse.jdt.core.JDTCompilerAdapter"
- classpath="${java.class.path}"/>
- <javac
- srcdir="${egsrc.dir}"
- destdir="${egsrc.dir}"
- debug="${javac.debug}"
- optimize="${javac.optimize}"
- target="${javac.target}"
- source="${javac.source}"
- nowarn="on">
- <classpath>
- <pathelement path="${jar.path}"/>
- <fileset dir="${lib.dir}">
- <include name="**/*.jar"/>
- </fileset>
- </classpath>
- </javac>
- <echo message="remember to place your JDBC driver in the lib directory"/>
- <java
- classname="org.hibernate.auction.Main"
- fork="true"
- failonerror="true">
- <classpath>
- <fileset dir="${lib.dir}">
- <include name="**/*.jar"/>
- <include name="**/*.zip"/>
- </fileset>
- <pathelement path="${jar.path}"/>
- <pathelement path="${etc.dir}"/> <!-- properties files live here -->
- <pathelement path="${egsrc.dir}"/> <!-- compiled into here -->
- </classpath>
- </java>
- <echo message="Please follow the Getting Started road map: http://www.hibernate.org/152.html"/>
- </target>
-
- <target name="replace"
- description="do a text search replace">
- <replace dir="${replace.dir}"
- token="${replace.token}"
- value="${replace.value}"/>
- </target>
-
- <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>
-
- <target name="instrument" depends="compiletest"
- description="Instrument the persistent classes"> <!-- depends="jar" -->
-
- <taskdef name="instrument" classname="org.hibernate.tool.instrument.InstrumentTask">
- <classpath path="${jar.path}"/>
- <classpath path="${classes.dir}"/>
- <classpath refid="lib.class.path"/>
- </taskdef>
-
- <instrument verbose="true">
- <fileset dir="${testclasses.dir}/org/hibernate/test">
- <include name="**/*.class"/>
- <exclude name="**/*Test$*.class"/>
- <exclude name="**/*Test.class"/>
- <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="antlr.bnf" depends="init" description="Generate BNF diagram for HQL">
- <mkdir dir="${doc.dir}/other/hql"/>
- <property name="bnf.grammar" location="${grammar.dir}/hql.g"/>
-
- <java dir="${doc.dir}/other/hql" classname="net.mark_malakanov.sdg2.Main" classpathref="lib.class.path" fork="true">
- <jvmarg line="-Xmx512M"/>
- <arg line="-blind"/>
- <arg line="-savehtml hql-bnf.html"/>
- <arg line="-savehtmltitle Hibernate ${version.full} HQL"/>
- <arg line="${bnf.grammar}"/>
- </java>
- </target>
-</project>
Copied: tags/v32cr1/Hibernate3/build.xml (from rev 9689, trunk/Hibernate3/build.xml)
Deleted: tags/v32cr1/Hibernate3/changelog.txt
===================================================================
--- trunk/Hibernate3/changelog.txt 2006-03-02 03:28:59 UTC (rev 9532)
+++ tags/v32cr1/Hibernate3/changelog.txt 2006-03-27 17:41:47 UTC (rev 9690)
@@ -1,2048 +0,0 @@
-Hibernate Changelog
-===================
-Note: Newer entries are automatically generated and the description might not
-match the actual issue resolution (i.e. a bug might not be a bug). Please
-refer to the particular case on JIRA using the issue tracking number to learn
-more about each case.
-
-Chages in version 3.2 alpha1 (2006.02.28)
--------------------------------------------
-
-** Bug
- * [HHH-687] - Exception QuerySyntaxError not really serializable
- * [HHH-1236] - Remove static reference to classloader, to avoid memory leak at webapp reload
- * [HHH-1287] - Problem with WAS ExtendedJTATransaction not available when using MDB
- * [HHH-1419] - Update + Exists doesn't seem to work
- * [HHH-1445] - SchemaUpdate closes shared ConnectionProvider
- * [HHH-1464] - QueryException from Query.getReturnAliases when query uses "fetch"
- * [HHH-1486] - Concurrent access issues with both SoftLimitMRUCache and SimpleMRUCache
- * [HHH-1508] - Session.createQuery() should not flush the session
-
-** Improvement
- * [HHH-1411] - Collection fetches and DISTINCT
- * [HHH-1412] - Collection fetches and firstResult/maxRows
- * [HHH-1416] - LockMode.FORCE to implement EJB3 LockModeType.WRITE
- * [HHH-1457] - support new optimisitc locking capabilities of JBossCache
- * [HHH-1466] - better handling of Antlr exceptions
- * [HHH-1516] - support DataDirect standard jdbc stored procedures
- * [HHH-1518] - Guarentee LockMode behaviors
- * [HHH-1520] - with clause with implied joins within an explicit join
- * [HHH-1526] - Improved DTDEntityResolver
-
-** New Feature
- * [HHH-1251] - Avoid replicating the clearing of TreeCache on SessionFactory..close()
- * [HHH-1410] - FlushMode.AUTO -> COMMIT when outside a transaction
- * [HHH-1447] - pluggable bytecode libraries
-
-
-Changes in version 3.1.2 (01.27.2006)
--------------------------------------------
-
-** Bug
- * [HHH-73] - Statistics for HQL queries use pre-processed query string
- * [HHH-1306] - HQL parsing problem with join fetching of arrays/collections of values
- * [HHH-1370] - Warning in hibernate-mapping-3.0.dtd
- * [HHH-1371] - MappingException is thrown when the same column is referenced with different case
- * [HHH-1386] - Numeric (long) literals not properly handled by HQL parser
- * [HHH-1390] - Session.isOpen() throws exeception when the session is closed with ThreadLocalSessionContext
- * [HHH-1391] - Invalid parameter index SQLException when using named parameters after positional parameters
- * [HHH-1392] - Proxies cannot be serialized after session is closed
- * [HHH-1398] - extends and entity-names broken with mapping-level package attribute
- * [HHH-1407] - return-join broken for entity collections
-
-** Improvement
- * [HHH-1364] - Defensive check of isClosed when obtaining a connection from ConnectionManager
- * [HHH-1367] - warn level log "this operation breaks ==" may be disturbing
-
-** New Feature
- * [HHH-1372] - Support for MySQL5 new varchar length
-
-** Patch
- * [HHH-1005] - Criteria LEFT JOIN capability when adding Order to associations
-
-** Task
- * [HHH-1373] - Document update versioned
-
-
-Changes in version 3.1.1 (01.13.2006)
--------------------------------------------
-
-** Bug
- * [HHH-853] - DML-style HQL queries and associations
- * [HHH-1281] - FORWARD_ONLY ScrollableResults#next() throw GenericJDBCException
- * [HHH-1286] - Set entity in HQL query without prefix -> incorrect SQL
- * [HHH-1308] - Session.createFilter(...).iterate() results in bogus column names for result set extraction
- * [HHH-1314] - float/double literals not sent to the database correctly
- * [HHH-1316] - SchemaUpdate : java.sql.SQLException: You cannot commit during a managed transaction!
- * [HHH-1328] - org.hibernate.util.SimpleMRUCache keeps a soft reference to the cache key, so cached values get collected prematurely
- * [HHH-1336] - ForeignGenerator does not handle transient entities with an entity-name properly
- * [HHH-1337] - Mapped <component> generated column names incorrect with ImprovedNamingStrategy
- * [HHH-1349] - HQL delete statement problem due to oracle lacking table aliases in delete clause
- * [HHH-1361] - creating temporary table for bulk delete will commit current transaction in managed environment such as J2EE
-
-** Improvement
- * [HHH-1019] - Native SQL return-property mapping doesn't support dot-syntax in return-property for components
- * [HHH-1290] - Defensive checking of session status
- * [HHH-1302] - query.getReturnTypes inconsistent
- * [HHH-1304] - better handling of borrowed connections in non-ON_CLOSE release semantics
- * [HHH-1309] - schemaupdate does not handle TableHiLoGenerator
- * [HHH-1339] - empty property name in mapping file gives imcomprehensible error message
- * [HHH-1344] - ANSI-SQL trim function for SQLServer
- * [HHH-1345] - ANSI-SQL mod function for SQLServer
- * [HHH-1346] - ANSI-SQL bit_length function for SQLServer
- * [HHH-1351] - <return-scalar name="blah"/> should be possible
- * [HHH-1360] - set autodiscovery flag for SQLQueries when resultsetmappings are used
-
-
-Changes in version 3.1 (12.12.2005)
--------------------------------------------
-
-** Bug
- * [HHH-849] - Cartesian product + implicit joins
- * [HHH-1065] - user provided connection not usable by default due to agressive release changes
- * [HHH-1101] - associations join fetched in HQL without owner being selected
- * [HHH-1133] - Comparators, defined for collections in mapping files, are not set
- * [HHH-1149] - NPE flushing reattached entity w/ non-mutable natural-id
- * [HHH-1170] - HQL 'cast' function doesn't work with MySQL 4 when casting to string
- * [HHH-1187] - Cannot delete a object having a delete-orphan collection when user_rollback_id is set
- * [HHH-1191] - HQL fails backward compatibility using classic translator
- * [HHH-1194] - hql delete statements with joined-subclass hierarchies with a mapped where attribute at the root
- * [HHH-1206] - Mappings.TableDescription is not serializable
- * [HHH-1212] - mismatch in entity-modes defined in DTD and EntityMode class
- * [HHH-1227] - ClassCastException on DOM4J replicate of Calendar property
- * [HHH-1239] - BinaryArithmeticOperatorNode.getDataType() does not properly handle date/time arithmetic
- * [HHH-1240] - Track connection leakage in JDBCContext.afterTransactionCompletion()
- * [HHH-1245] - Calling the Session should register it with the current JTA txn.
- * [HHH-1254] - Serialization of Sessions using JDBCTransactions with auto-flush/auto-close
-
-** New Feature
- * [HHH-1222] - Autodiscover scalar types in native-sql
- * [HHH-1243] - allow placeholders to system properties in config properties
- * [HHH-1244] - Support for MySQL5 stored procedures
- * [HHH-1260] - Configuration.mergeProperties()
-
-** Task
- * [HHH-1066] - Upgrade CGLIB to fix proxy memory leak
- * [HHH-1242] - upgrade ANTLR to 2.7.6rc1
-
-** Improvement
- * [HHH-860] - insert ... select ... and version numbers
- * [HHH-926] - TypeDef should be global
- * [HHH-1138] - No ConstraintName when using PostgreSQL
- * [HHH-1144] - Implement naming convention for temporary test failures
- * [HHH-1153] - PropertiesHelper fails reading primitive values from hibernate-mapping when doc has whitespace
- * [HHH-1182] - Access to filter metadata
- * [HHH-1183] - Getting sql "plan" for DML operations
- * [HHH-1197] - Support for HQL delete on MaxDB
- * [HHH-1198] - post-insert event pass the entity wo the id field filled when the generator is identity
- * [HHH-1213] - make JACC event listeners auto configurable (through initialize(Configuration))
- * [HHH-1215] - Added support for LVARCHAR in InformixDialect
- * [HHH-1218] - Add concat() function support to SAPDBDialect
- * [HHH-1255] - ThreadLocalSessionContext and Session serialization
-
-** Patch
- * [HHH-967] - executeUpdate on StatelessSession
- * [HHH-1172] - Missing configuration templates for the new MimerSQLDialect
-
-** Deprecation
- * [HHH-1229] - deprecate ability for entities to not define identifier properties
-
-
-Changes in version 3.1 rc3 (17.11.2005)
--------------------------------------------
-
-** Bug
- * [HHH-755] - Setter / Getter for property gDate are wrong
- * [HHH-764] - XML mapping
- * [HHH-1034] - The connection is closed *outside* the JTA transaction in TransactionHelper
- * [HHH-1062] - java:comp/UserTransaction not correct for JBoss
- * [HHH-1064] - Exception using JTATransaction in WebSphere 6
- * [HHH-1069] - Unnecessary commas generated in select with left outer joins
- * [HHH-1075] - New parser "not exists" command bug
- * [HHH-1077] - Typo in docs: "equiped"
- * [HHH-1080] - HQL delete fails on entities with where-fragments using operators other than '='
- * [HHH-1081] - missing parens in example code for Criteria Associations
- * [HHH-1084] - incorrect method name "sql" in Restrictions example, should be "sqlRestriction"
- * [HHH-1091] - Can't write transparent CurrentSessionContext for BMT
- * [HHH-1098] - Patch for build.sh to be able to build latest version on linux
- * [HHH-1106] - HQL "not in" generatad wrong SQL
- * [HHH-1111] - JDBCTransaction.rollback() results in a call to Interceptor.beforeTransactionCompletion()
- * [HHH-1128] - Column alias clashes under certain circumstances
- * [HHH-1146] - latest cvs(11/10/05) hibernate3 issue with classic query
- * [HHH-1156] - StatefulPersistenceContext not serializable when property-ref is used
- * [HHH-1160] - Incorrect use of getGeneratedKey() for Oracle
-
-** New Feature
- * [HHH-449] - korean hibernate reference manual
- * [HHH-1129] - use expected-type in 'untyped' Query.setParameter()
-
-** Improvement
- * [HHH-221] - Proxy for one-to-one with property-ref
- * [HHH-844] - move parameter "bookkeeping" into QueryTranslator
- * [HHH-1051] - "Compiled" native SQL queries are not cached
- * [HHH-1061] - import.sql should allow more human readable and usable files
- * [HHH-1078] - <dynamic-component> requires type on property
- * [HHH-1120] - Make NamingStrategy to work nicely with HA and EJB3 naming strategy
- * [HHH-1142] - added getSelectSequenceNextValString() and getCurrentTimestampSelectString() to TimesTenDialect
-
-** Patch
- * [HHH-1063] - support for 'locate' function in SQLServer and Sybase dialects
- * [HHH-1090] - Allow subqueries on criteria to obtain non-string results
- * [HHH-1095] - Hibernate takes incorrect HasCode when a lot of CompositeKeys and Lazy loading is involved
- * [HHH-1103] - finalize method filter for proxies
- * [HHH-1136] - more meaningful AssertionFailure message in org.hibernate.persister.entity.JoinedSubclassEntityPersister.getTableId(...)
-
-
-Changes in version 3.1 rc2 (17.10.2005)
--------------------------------------------
-** Bug
- * [HHH-1045] - Example contains inner classes that aren't serializable
- * [HHH-1055] - optimistic-lock is not inherited from class to subclass et.al.
-
-** Improvement
- * [HHH-702] - auto detect aliasing for collection properties (coll.key, coll.id etc.)
- * [HHH-1038] - make 'auto' the default for hibernate.connection.release_mode
- * [HHH-1042] - determine "expected type" of parameters during HQL parsing
-
-
-Changes in version 3.1 rc1 (07.10.2005)
--------------------------------------------
-** Bug
- * [HHH-528] - component.manyToOne.id in HQL causes join
- * [HHH-871] - Configuration.setListener(String type, Object listener) throws ClassCastException
- * [HHH-873] - referencing raw HQL FromElement alias outide the from clause of update and delete statements generates incorrect sql
- * [HHH-876] - PreparedStatement being closed before being executed by AbstractBatcher
- * [HHH-884] - SchemaExport does not propagate parent indexes to <union-subclass> tables
- * [HHH-887] - Aggressive release and Session.connection()
- * [HHH-893] - custom tuplizer are not instantiated for components
- * [HHH-905] - $PlaceHolder$ remains in generated SQL when filter is enabled
- * [HHH-907] - optimistic-lock="false" for timestamped object results in SQLException: Invalid column index
- * [HHH-908] - CLONE -NullPointerException when using BigInteger in a query
- * [HHH-911] - CGLIBLazyInitializer and Exceptions
- * [HHH-913] - NPE in CMTTransaction since javax.transaction.Transaction is never set
- * [HHH-918] - impossible to move objects to another session
- * [HHH-924] - Useless OracleErrorCodeConverter (and possibly others)
- * [HHH-932] - HQL UPDATE and <union-subclass>
- * [HHH-946] - QuerySyntaxException might not be serializable
- * [HHH-964] - ORA-00936 with joined subclass / Oracle
- * [HHH-986] - Need to check Thread.currentThread().getContextClassLoader() in ConfigHelper
- * [HHH-991] - Cannot use comparator class
- * [HHH-1000] - varchar(xxx char) not supported on Oracle8i
-
-** New Feature
- * [HHH-950] - interface for SessionFactory.getCurrentSession() handling
-
-
-** Improvement
- * [HHH-608] - update HSQLDialect for HSQL 1.8 sequence support
- * [HHH-889] - Add read-only cache-mode comment in <query and <sql-query
- * [HHH-898] - OracleDialect UTF8 varchar2
- * [HHH-909] - Onquoted primary key in IncrementGenerator
- * [HHH-988] - generated="never|insert|always"
- * [HHH-989] - add discussion of implicit and explcit joins
- * [HHH-1011] - Make disconnect/reconnect of a Session implicit
-
-** Patch
- * [HHH-994] - Sybase/SQLServer support for temporary tables
-
-
-Changes in version 3.1 beta 3 (13.09.2005)
--------------------------------------------
-** Bug
- * [HHH-528] - component.manyToOne.id in HQL causes join
- * [HHH-871] - Configuration.setListener(String type, Object listener) throws ClassCastException
- * [HHH-873] - referencing raw HQL FromElement alias of update and delete statements
- * [HHH-876] - PreparedStatement being closed before being executed by AbstractBatcher
- * [HHH-884] - SchemaExport does not propagate parent indexes to <union-subclass> tables
- * [HHH-887] - Aggressive release and Session.connection()
- * [HHH-893] - custom tuplizer are not instantiated for components
- * [HHH-905] - $PlaceHolder$ remains in generated SQL when filter is enabled
- * [HHH-907] - optimistic-lock="false" for timestamped object results in SQLException: Invalid column index
- * [HHH-908] - NullPointerException when using BigInteger in a query
- * [HHH-911] - CGLIBLazyInitializer and Exceptions
- * [HHH-913] - NPE in CMTTransaction since javax.transaction.Transaction is never set
- * [HHH-918] - impossible to move objects to another session
- * [HHH-924] - Removed ErrorCodeConverters
- * [HHH-946] - QuerySyntaxException might not be serializable
-
-** Improvement
- * [HHH-898] - OracleDialect UTF8 varchar2
- * [HHH-909] - Unquoted primary key in IncrementGenerator
-
-
-Changes in version 3.1 beta 2 (16.08.2005)
--------------------------------------------
-** Bug
- * [HHH-477] - Boolean discriminators generate invalid SQL for PostgreSQL dialect
- * [HHH-480] - SchemaExportTask ignores some properties not defined in hibernate.properties
- * [HHH-615] - SchemaExport outputFile ignores ant's basedir
- * [HHH-770] - hql query execution generates invalid SQL
- * [HHH-779] - Assertion failure occured with Hibernate 3 saving objects
- * [HHH-781] - SimpleExpression ignorecase regression
- * [HHH-799] - merge() and embedded composite identifiers
- * [HHH-801] - subselect fetch and named parameters
- * [HHH-802] - querying "mapped" composite identifiers
- * [HHH-803] - no version increment from delayed collection adds
- * [HHH-805] - Session.getStatistics().getEntityCount() throws UnsupportedOperationException
- * [HHH-819] - Firebird CONCAT SQL function
- * [HHH-821] - query by natural-id cache is not update when object is inserted or deleted
- * [HHH-822] - <key-property> will actually pick up <type> tags if it were allowed by the DTD
- * [HHH-825] - ReadWrite-Cache issues NullPointerException after modification of an array
- * [HHH-839] - Session.refresh not working for custom 'Load' SQL
- * [HHH-849] - Cartesian product + implicit joins
- * [HHH-854] - Class with mapped composite id can't have subclasses
- * [HHH-858] - Autocommit status inconsistent in connections created by DriverManagerConnectionProvider
- * [HHH-863] - Hibernate generates "notExists" instead of "not exists"
- * [HHH-868] - Missing parens after / or -
-
-** New Feature
- * [HHH-35] - add attribute haltonerror to schemaexport Ant task
- * [HHH-182] - Mimer SQL Dialect for Hibernate 3
- * [HHH-704] - Statistics for optimistic lock failures
- * [HHH-725] - Allow hooks into all executed sql by a session
- * [HHH-783] - collection lazy="extra"
- * [HHH-818] - Optimisitc locking using database current timestamp
- * [HHH-828] - session.getTransaction()
- * [HHH-829] - <cache include="all|non-lazy" ... />
- * [HHH-831] - allow database generated property values
- * [HHH-832] - allow database generated property values for versioning
- * [HHH-838] - Transaction.setTimeout()
- * [HHH-840] - allow definition of "auxiliary" database objects in mapping
- * [HHH-846] - Add Intializable interface for events
- * [HHH-848] - Validate mappings against JDBC metadata
- * [HHH-859] - post-commit events
-
-** Improvement
- * [HHH-133] - schemaexport task: provide independent drop/create output
- * [HHH-135] - parameterized types can't be used on key-property or ir (possible others)
- * [HHH-552] - NoopAccessor for HQL-only properties
- * [HHH-680] - Easier support for doing UserCollectionType's
- * [HHH-686] - Final classes and classes with private null ctors cause unhelpful NullPointerException
- * [HHH-754] - Allow HQL DML for implicit polymorphism
- * [HHH-782] - Avoid unnecessary updates when component property is update='false' but modified
- * [HHH-786] - Improve lazy options for <one-to-one>
- * [HHH-791] - Use cascade styles when fetching entities in refresh() and merge()
- * [HHH-815] - Confusing use of the term "dereference"
- * [HHH-830] - Improvements to caching lazy properties
-
-** Patch
- * [HHH-378] - Better LockMode.UPGRADE for DB2 UDB v8.2
- * [HHH-430] - Improved SizeExpression with greater, lesser, not equals, etc. capabilities
- * [HHH-735] - SchemaUpdate reads table metadata from wrong schema
- * [HHH-780] - org.hibernate.proxy.BasicLazyInitializer reflection hotspot
- * [HHH-864] - Use QUERY_CACHE for sessions with filters to improve performance
-
-
-Changes in version 3.1 beta 1 (21.07.2005)
--------------------------------------------
-
-** Bug
- * [HHH-145] - union-subclass and oracle 8i
- * [HHH-374] - EJB3 example delete query doesn't work in Hibernate.
- * [HHH-447] - EHCache integration prevents multiple session factories
- * [HHH-488] - JACCListeners are not working at all
- * [HHH-564] - missing commas for implicit joins
- * [HHH-577] - joins within subqueries on dbs supporting ansi-joins result in extraneous commas
- * [HHH-592] - cast() function doesn't know its returned Hibernate type
- * [HHH-639] - CGLIB instrumentation of subclasses
- * [HHH-658] - Bug in Alias Name Generation
- * [HHH-671] - Firebird support of sequences/generators
- * [HHH-679] - setLockMode(LockMode.UPGRADE_NOWAIT) does not translate to correct SQL on Oracle
- * [HHH-688] - Bad implementation in org.hibernate.type.CustomType.stringToObject
- * [HHH-691] - generated column alias is incorrect if there is a prior relationship and the table column names are similar to the table name
- * [HHH-694] - NPE when accessing the SLCache stats with TreeCache
- * [HHH-698] - Exception on EG , trying to change immutable id (natural-id)
- * [HHH-699] - Incorrect Tablename genetaion when using MySQL Dialect and no Schema definition
- * [HHH-708] - Restrictions.in could not be used properly on composite-ids
- * [HHH-709] - ArrayType.replaceElements fails if original.length != target.length
- * [HHH-718] - HQL "fetch all properties" not working for column level lazy props
- * [HHH-726] - ConstraintViolationException with primitive collection
- * [HHH-727] - java.lang.StackOverflowError when cascade="true" on both sides of bidirectional one-to-one association using FK
- * [HHH-734] - HQL incorrectly parses certain query strings
- * [HHH-736] - Use of sql functions containing space not supported in filter conditions
- * [HHH-738] - formula property with select-before-update
- * [HHH-747] - Order.toSQLString generates incorrect statement
- * [HHH-748] - component dereferencing in subquery from clauses
- * [HHH-752] - Typo in 8.5.3 bidirectional one-to-one jjoin table example
- * [HHH-757] - NullPointerException when using BigInteger in a query
-
-** New Feature
- * [HHH-595] - HQL insert select
- * [HHH-597] - Named XML resultsetmappings
- * [HHH-696] - handle discriminators on HQL insert
- * [HHH-697] - allow bumping versions in HQL update
- * [HHH-716] - handle version columns in bulk inserts
- * [HHH-723] - Need to be able to pass in javax.sql.DataSource in SF creation
- * [HHH-739] - Order.ignoreCase()
- * [HHH-741] - select clause subselects
- * [HHH-742] - Stateless session
- * [HHH-744] - collection fetching in scroll() via "break processing"
- * [HHH-768] - <many-to-many property-ref=".."/>
-
-** Improvement
- * [HHH-14] - Add Session.delete(String entityName, Object entity)
- * [HHH-295] - cleanup and expose the Tuplizers
- * [HHH-352] - HQL bulk and cache
- * [HHH-689] - exclude parens for components outside where-clause
- * [HHH-743] - {coll.key}, {coll.index}, {coll.element}, etc
- * [HHH-745] - EJB3 composite PK style
- * [HHH-749] - Cascade merge() and unidirectional one-to-many
- * [HHH-750] - use attribute name other than 'type' in dynamic-maps
- * [HHH-753] - Replace antlr System.exit with QueryException
- * [HHH-769] - property-ref="foo.bar" to a component property
- * [HHH-772] - null in maps are handled inconsistently
- * [TODO-18] - optimistic-lock="all|dirty" with components
-
-
-Changes in version 3.1 alpha 1 (24.06.2005)
-------------------------------------
-** Bug
- * [HHH-204] - Wrong/uncommon log name in class ...hql ast ErrorCounter
- * [HHH-241] - HQL lexer doesn't support unicode quoted strings
- * [HHH-354] - property named "full" breaks HQL queries
- * [HHH-493] - WARNING: Keyword 'member' is being intepreted as an ident
- * [HHH-538] - length() function does not work in SQLServerDialect
- * [HHH-539] - ClassCastException on mapping a property with a formula in a set of composite elements
- * [HHH-540] - Mapping a one-to-many collection with a non-null foreign key within a component fails on save
- * [HHH-547] - Cannot commit using UserCollectionType and debug logging
- * [HHH-548] - many-to-many faulty delete optimization when filter in use
- * [HHH-554] - Hibernate 3 HQL to SQL FROM Clause Comma Generation Problem
- * [HHH-558] - HQL doesn't support multi-byte character in class name and property names
- * [HHH-559] - quoted multi-byte character in HQL is translated into weird character in SQL.
- * [HHH-565] - delete-orphan generating AssertionFailure
- * [HHH-566] - The result is not correct in 'createQuery("select new Foor(x,x) from Foo").scroll()'
- * [HHH-570] - size operator fails on a many to many in HQL
- * [HHH-571] - JDK 1.3 Compatibility Issue
- * [HHH-573] - error when merging entity graph has cascade level>2
- * [HHH-575] - org.hibernate.cache.FilterKey is not Serializable
- * [HHH-589] - parameterized expression inside function
- * [HHH-594] - order-by mapping for collections overrides order by in HQL
- * [HHH-601] - New temporary table feature assumes all persisters are ready
- * [HHH-614] - SchemaUpdate broken in DB2/400
- * [HHH-622] - Spelling mistake 'intepreted' in org.hibernate.hql.PARSER warning
- * [HHH-642] - criterias with projection
- * [HHH-650] - FilterImpl is Serializable yet FilterDefinition is not
- * [HHH-657] - Date parse exception using EntityMode.DOM4J
- * [HHH-666] - JTAHelper.isInProgress( txn.getStatus()) throws NPE when txn null
-
-** New Feature
- * [HHH-620] - Extra join conditions in HQL
- * [HHH-640] - short-circuit dirty checking for instrumented classes
- * [HHH-643] - support mutable="false" for collections
- * [HHH-645] - Session.setReadOnly()
- * [HHH-549] - portable to_char() function
- * [HHH-576] - Hook to pre-process generated select strings in the Dialect
- * [HHH-662] - Add support for definition of functional composite key ("properties") in joined subclass
-
-** Improvement
- * [HHH-46] - Allow access to properties that are not joined
- * [HHH-261] - Stored procedure support for SQLServer dialects
- * [HHH-351] - multi-table bulk operations
- * [HHH-574] - improve in naming named-query
- * [HHH-596] - Auto-detect {..} in native SQL queries
- * [HHH-641] - create constraints for many-to-one property-ref
- * [HHH-501] - warn when a final method is tried to be proxied
- * [HHH-525] - cglib related startup performance
- * [HHH-557] - Helpful error message for non Serializable classes with a composite-id
- * [HHH-586] - check immutable natural-ids
- * [HHH-609] - Adds substr to PostgreSQL dialect
- * [HHH-618] - documentation bugs
-
-** Patch
- * [HHH-224] - JDataStore Dialect and updated Testfiles
- * [HHH-366] - InformixDialect SQLExceptionConverter
- * [HHH-536] - ImprovedNamingStrategy modifies capitalized column names inappropriately
- * [HHH-632] - Informix Dialect missing from automatic dialect discovery
- * [HHH-4] - CachedFile bugfix + configuration + autodetect resource as file
-
-
-Changes in version 3.0.5 (25.5.2005)
-------------------------------------
-
-** Bug
- * [HHH-516] - Interceptor.onFlushDirty() sometimes not called
- * [HHH-517] - getDatabaseMajorVersion() not available in JDK 1.3
- * [HHH-518] - SQL parser does not recognize all whitespace
- * [HHH-519] - broken SQL when traversing many-to-many to joined <subselect>
- * [HHH-529] - Bug in merge()
-
-** New Feature
- * added <natural-id> mapping
- * [HHH-533] - allow unique-key on <property> and <many-to-one>
- * [HHH-534] - efficient cache by natural key
- * support for <comment> on MySQL
-
-** Improvement
- * [HHH-526] - log "Aggressively releasing JDBC Connection" as DEBUG instead of INFO
- * various logging improvements
-
-
-Changes in version 3.0.4 (23...
[truncated message content] |