Hibernate SVN: r13407 - annotations/tags/before_ejb3-edr2.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 20:27:28 -0400 (Wed, 15 Aug 2007)
New Revision: 13407
Added:
annotations/tags/before_ejb3-edr2/jdbc/
Log:
Move annotations tags/before_ejb3-edr2 to the new structure (before_ejb3-edr2)
Copied: annotations/tags/before_ejb3-edr2/jdbc (from rev 13406, tags/before_ejb3-edr2/HibernateExt/metadata/jdbc)
17 years, 5 months
Hibernate SVN: r13406 - annotations/tags/before_ejb3-edr2.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 20:27:27 -0400 (Wed, 15 Aug 2007)
New Revision: 13406
Added:
annotations/tags/before_ejb3-edr2/doc/
Log:
Move annotations tags/before_ejb3-edr2 to the new structure (before_ejb3-edr2)
Copied: annotations/tags/before_ejb3-edr2/doc (from rev 13405, tags/before_ejb3-edr2/HibernateExt/metadata/doc)
17 years, 5 months
Hibernate SVN: r13405 - annotations/tags/before_ejb3-edr2.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 20:27:25 -0400 (Wed, 15 Aug 2007)
New Revision: 13405
Added:
annotations/tags/before_ejb3-edr2/changelog.txt
Log:
Move annotations tags/before_ejb3-edr2 to the new structure (before_ejb3-edr2)
Copied: annotations/tags/before_ejb3-edr2/changelog.txt (from rev 13404, tags/before_ejb3-edr2/HibernateExt/metadata/changelog.txt)
===================================================================
--- annotations/tags/before_ejb3-edr2/changelog.txt (rev 0)
+++ annotations/tags/before_ejb3-edr2/changelog.txt 2007-08-16 00:27:25 UTC (rev 13405)
@@ -0,0 +1,74 @@
+Hibernate Annotations Changelog
+===============================
+
+3.0alpha3 (28-02-2005)
+----------------------
+* HBX-116 Support for Where clause in classes and collections @Where(clause="")
+* HBX-115 Support for class proxying configuration: @Proxy(lazy=false, proxyClassName="my.Interface")
+* HBX-88 Support for hibernate type abstraction through @Type (only on basic properties for now)
+* HBX-108 Support @BatchSize(size=n) for entities and collections
+* HBX-107 implements @org.hibernate.annotations.Entity
+* HBX-103 handle abstract classes
+* HBX-83 precision & scale support for column (Bogdan Ghidireac)
+
+3.0alpha2 (25-01-2005)
+----------------------
+* HBX-61 Support for @UniqueConstraint (except primaryKey=true)
+* HBX-60 Support for a proper @TableGenerator (using MultipleHiLoPerTableGenerator)
+* HBX-63 Support @GeneratorTable
+* HBX-68 Add declarative configuration of annotated classes
+* HBX-74 Rollback the HB-1315 fix: dialect no longer have to be set in hibernate.properties
+
+
+Hibernate-annotations-3.0alpha1 based on the EJB3 Early Draft 1 (6.01.2005)
+---------------------------------------------------------------------------
+* Support for EJB3 annotations:
+ - @Transient
+ - @Column (not primaryKey)
+ - @JoinColumn (referencedColumnName - only for a reference to a PK, not primaryKey)
+ - @Version
+ - @Basic
+ - @Entity
+ - @Table (not uniqueConstraints)
+ - @AccessType
+ - @Id
+ - @CascadeType
+ - @FetchType
+ - @GeneratorType (NONE, IDENTITY, TABLE, SEQUENCE)
+ - @TableGenerator (with scope visibility)
+ - @SequenceGenerator (with scope visibility, does not support initialValue() and allocationSize())
+ - *not* @GeneratorTable (will have to write a new TableHiloGenerator, but it can wait)
+ - @ManyToOne (not optional)
+ - @OneToMany (Set and Collection, generics version or not, JoinColumn not guessed)
+ - @OneToOne
+ but not optional
+ no composite PK/FK
+ - @ManyToMany
+ - @AssociationTable (Has to be on both sides)
+ - @Inheritance
+ - @InheritanceType (has to be defined on every classes of the hierarchy for JOINED strategy,
+ not very clear about the TABLE_PER_CLASS strategy)
+ - @DiscriminatorColumn
+ - @DiscriminatorType
+ - @InheritanceJoinColumn
+ - @InheritanceJoinColumns
+ this annotation for Composite PK Entities has to be explicit, I do not respect the implicit semantic of the EJB3 spec
+ - @SecondaryTable (@OneToMany @JoinColumn(secondaryTable="..." does not work yet due to H3 core issue HHH-36
+ - @SecondaryTables
+ this annotation for Composite PK Entities has to be explicit, I do not respect the implicit semantic of the EJB3 spec
+ - @DependentObject
+ - @Dependent
+ - @DependentAttribute (only for basic properties as per the spec)
+ - @Id in conjunction with @DependentObject (composite primary keys)
+ - @JoinColumns in conjunction with @ManytoOne, @OneToMany, @ManytoMany
+ - note that the composite FK columns have to be in the same table (no != secondary tables). This is probably a weird case and certainly a not recommanded one.
+
+Still missing or incomplete:
+ - use of referencedColumnName for column other than the PK ones (HX-62)
+ - uniqueConstraints (HBX-61)
+ - @GeneratorTable (HBX-63)
+ - @OneToOne and composite PK, and composite FK (HBX-44, HBX-56)
+ - repect semantic of @TableGenerator (HBX-60)
+ - support for initialValue and allocationSize in @SequenceGenerator (HBX-59)
+ - implicit FK definition should respect the EJB3 semantic (HBX-55)
+ - better semantic of cascade (HBX-47)
\ No newline at end of file
17 years, 5 months
Hibernate SVN: r13404 - annotations/tags/before_ejb3-edr2.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 20:27:24 -0400 (Wed, 15 Aug 2007)
New Revision: 13404
Added:
annotations/tags/before_ejb3-edr2/build.xml
Log:
Move annotations tags/before_ejb3-edr2 to the new structure (before_ejb3-edr2)
Copied: annotations/tags/before_ejb3-edr2/build.xml (from rev 13403, tags/before_ejb3-edr2/HibernateExt/metadata/build.xml)
===================================================================
--- annotations/tags/before_ejb3-edr2/build.xml (rev 0)
+++ annotations/tags/before_ejb3-edr2/build.xml 2007-08-16 00:27:24 UTC (rev 13404)
@@ -0,0 +1,137 @@
+<!--
+
+ Hibernate Annotations ANT build script.
+
+ Note that javac, javadoc etc. is forking javac, javadoc etc. based on
+ relative names to ${jdk15.home}
+
+-->
+
+<project name="HibernateAnnotations" default="dist" basedir=".">
+
+ <!-- Give user a chance to override without editing this file
+ (and without typing -D each time it compiles it) -->
+ <property file="build.properties"/>
+ <property file="${user.home}/.ant.properties"/>
+
+ <!-- Name of project and version, used to create filenames -->
+ <property name="Name" value="Hibernate Annotations"/>
+ <property name="name" value="hibernate-annotations"/>
+ <property name="version" value="3.0alpha3"/>
+ <property name="javadoc.packagenames" value="org.hibernate.*"/>
+ <property name="jdbc.dir" value="jdbc"/>
+
+ <import file="../common/common-build.xml"/>
+
+ <target name="init" depends="common-build.init">
+ <available file="${jdk15.home}" type="dir" property="jdk15.available"/>
+ <fail unless="jdk15.available">
+ Could not find ${jdk15.home}. jdk15.home must point to a JDK 1.5 directory.
+ </fail>
+ </target>
+
+ <target name="compile" depends="init" 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
+ compiler="extJavac"
+ executable="${jdk15.home}/bin/javac"
+ source="1.5"
+ srcdir="${src.dir}"
+ destdir="${classes.dir}"
+ classpathref="lib.class.path"
+ debug="${javac.debug}"
+ optimize="${javac.optimize}"
+ nowarn="on"
+ >
+ <bootclasspath>
+ <fileset dir="${jdk15.home}/jre/lib" includes="*.jar"/>
+ </bootclasspath>
+ </javac>
+ </target>
+
+ <target name="compiletest" depends="compile" description="Compile the tests">
+ <available
+ classname="org.eclipse.core.launcher.Main"
+ property="build.compiler"
+ value="org.eclipse.jdt.core.JDTCompilerAdapter"
+ classpath="${java.class.path}"/>
+ <javac
+ compiler="extJavac"
+ executable="${jdk15.home}/bin/javac"
+ source="1.5"
+ srcdir="${test.dir}"
+ destdir="${classes.dir}"
+ classpathref="lib.class.path"
+ debug="${javac.debug}"
+ optimize="${javac.optimize}"
+ nowarn="on">
+ <bootclasspath>
+ <fileset dir="${jdk15.home}/jre/lib" includes="*.jar"/>
+ </bootclasspath>
+
+ </javac>
+ </target>
+
+ <target name="junit" depends="compiletest">
+ <mkdir dir="test_output"/>
+ <junit fork="yes" jvm="${jdk15.home}/bin/java" printsummary="yes" haltonfailure="yes">
+ <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}"/> <!-- pick up properties from here -->
+ <pathelement path="${test.dir}"/> <!-- pick up mappings from here -->
+ </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)">
+ <mkdir dir="test_output"/>
+ <junit jvm="${jdk15.home}/bin/java" printsummary="yes" fork="yes" haltonfailure="yes">
+ <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}"/> <!-- pick up properties from here -->
+ <pathelement path="${test.dir}"/> <!-- pick up mappings from here -->
+ </classpath>
+ <formatter type="plain"/>
+ <formatter type="xml"/>
+ <test fork="yes" todir="test_output" haltonfailure="no" name="${testname}"/>
+ </junit>
+ </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>
+
+ <!-- Temporary new target for docs -->
+ <target name="dist" depends="jar,javadoc,copysource,copylib,extras" description="Build everything">
+ <copy todir="${dist.dir}/doc" failonerror="false">
+ <fileset dir="doc">
+ <include name="**/*.*"/>
+ </fileset>
+ </copy>
+ <antcall target="common-build.dist"/>
+ </target>
+
+
+</project>
17 years, 5 months
Hibernate SVN: r13403 - annotations/tags/before_ejb3-edr2.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 20:27:22 -0400 (Wed, 15 Aug 2007)
New Revision: 13403
Added:
annotations/tags/before_ejb3-edr2/.cvsignore
Log:
Move annotations tags/before_ejb3-edr2 to the new structure (before_ejb3-edr2)
Copied: annotations/tags/before_ejb3-edr2/.cvsignore (from rev 13402, tags/before_ejb3-edr2/HibernateExt/metadata/.cvsignore)
===================================================================
--- annotations/tags/before_ejb3-edr2/.cvsignore (rev 0)
+++ annotations/tags/before_ejb3-edr2/.cvsignore 2007-08-16 00:27:22 UTC (rev 13403)
@@ -0,0 +1,5 @@
+target
+build
+build.properties
+test_output
+testout
\ No newline at end of file
17 years, 5 months
Hibernate SVN: r13402 - annotations/tags.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 20:27:21 -0400 (Wed, 15 Aug 2007)
New Revision: 13402
Added:
annotations/tags/before_ejb3-edr2/
Log:
Create annotations before_ejb3-edr2 structure
17 years, 5 months
Hibernate SVN: r13401 - jpa-api/tags/annotations_v3_0_0_Alpha3.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 20:27:18 -0400 (Wed, 15 Aug 2007)
New Revision: 13401
Added:
jpa-api/tags/annotations_v3_0_0_Alpha3/etc/
Log:
Move jpa-api tags/annotations_v30alpha3 to the new structure (annotations_v3_0_0_Alpha3)
Copied: jpa-api/tags/annotations_v3_0_0_Alpha3/etc (from rev 13400, tags/annotations_v30alpha3/HibernateExt/ejb-api/etc)
17 years, 5 months
Hibernate SVN: r13400 - jpa-api/tags/annotations_v3_0_0_Alpha3.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 20:27:16 -0400 (Wed, 15 Aug 2007)
New Revision: 13400
Added:
jpa-api/tags/annotations_v3_0_0_Alpha3/src/
Log:
Move jpa-api tags/annotations_v30alpha3 to the new structure (annotations_v3_0_0_Alpha3)
Copied: jpa-api/tags/annotations_v3_0_0_Alpha3/src (from rev 13399, tags/annotations_v30alpha3/HibernateExt/ejb-api/src)
17 years, 5 months
Hibernate SVN: r13399 - jpa-api/tags/annotations_v3_0_0_Alpha3.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 20:27:13 -0400 (Wed, 15 Aug 2007)
New Revision: 13399
Added:
jpa-api/tags/annotations_v3_0_0_Alpha3/build.xml
Log:
Move jpa-api tags/annotations_v30alpha3 to the new structure (annotations_v3_0_0_Alpha3)
Copied: jpa-api/tags/annotations_v3_0_0_Alpha3/build.xml (from rev 13398, tags/annotations_v30alpha3/HibernateExt/ejb-api/build.xml)
===================================================================
--- jpa-api/tags/annotations_v3_0_0_Alpha3/build.xml (rev 0)
+++ jpa-api/tags/annotations_v3_0_0_Alpha3/build.xml 2007-08-16 00:27:13 UTC (rev 13399)
@@ -0,0 +1,97 @@
+<!--
+
+ EJB API build script.
+
+ Emmanuel Bernard
+
+-->
+
+<project name="Hibernate" 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="ejb"/>
+ <property name="version" value="3.0-edr1"/>
+
+ <!-- set global properties for this build -->
+ <property name="src.dir" value="src"/>
+ <property name="build.dir" value="build"/>
+ <property name="metainf.dir" value="etc"/>
+ <property name="classes.dir" value="${build.dir}/classes"/>
+ <property name="jar.name" value="${name}-${version}"/>
+
+ <property name="javac.debug" value="on"/>
+ <property name="javac.optimize" value="off"/>
+
+ <patternset id="src.files">
+ <!-- include everything we want in the src directory
+ that we didn't want in the jar itself -->
+ <include name="**/*.java"/>
+ <include name="META-INF/ra.xml"/>
+ </patternset>
+
+
+ <!-- ############################ Targets #############################-->
+
+ <target name="clean" description="Cleans up build and dist directories">
+ <delete dir="${build.dir}"/>
+ </target>
+
+ <target name="init" description="Initialize the build">
+ <tstamp>
+ <format property="subversion" pattern="yyyy-MM-dd hh:mm:ss"/>
+ </tstamp>
+ <echo message="Build ${name}-${version} (${subversion})"/>
+
+ <mkdir dir="${classes.dir}"/>
+
+ <available file="${jdk15.home}" type="dir" property="jdk15.available"/>
+ <fail unless="jdk15.available">
+ Could not find ${jdk15.home}. jdk15.home must point to a JDK 1.5 directory.
+ </fail>
+ </target>
+
+ <target name="compile" depends="init" 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
+ compiler="extJavac"
+ executable="${jdk15.home}/bin/javac"
+ destdir="${classes.dir}"
+ debug="${javac.debug}"
+ optimize="${javac.optimize}"
+ nowarn="on"
+ source="1.5">
+ <bootclasspath>
+ <fileset dir="${jdk15.home}/jre/lib" includes="*.jar"/>
+ </bootclasspath>
+ <src path="${src.dir}"/>
+ </javac>
+ </target>
+
+
+ <target name="jar" depends="compile" description="Build the distribution .jar file">
+ <jar jarfile="${build.dir}/${jar.name}.jar" basedir="${classes.dir}">
+ <include name="javax/ejb/**/*.class"/>
+ <manifest>
+ <attribute name="Built-By" value="hibernate.org"/>
+ <attribute name="Specification-Title" value="EJB"/>
+ <attribute name="Specification-Version" value="${version}"/>
+ <attribute name="Specification-Vendor" value="Sun Microsystems, Inc."/>
+ <attribute name="Implementation-Title" value="EJB"/>
+ <attribute name="Implementation-Version" value="${version} ${TODAY}"/>
+ <attribute name="Implementation-Vendor" value="hibernate.org"/>
+ </manifest>
+ <metainf dir="${basedir}/${metainf.dir}">
+ <include name="**/license.txt"/>
+ </metainf>
+ </jar>
+ </target>
+
+</project>
17 years, 5 months
Hibernate SVN: r13398 - jpa-api/tags.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 20:27:12 -0400 (Wed, 15 Aug 2007)
New Revision: 13398
Added:
jpa-api/tags/annotations_v3_0_0_Alpha3/
Log:
Create jpa-api annotations_v3_0_0_Alpha3 structure
17 years, 5 months