diff --git a/hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/Cache71Dialect.java b/hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/Cache71Dialect.java index 641c62c70f..a41c156e5b 100644 --- a/hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/Cache71Dialect.java +++ b/hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/Cache71Dialect.java @@ -46,7 +46,6 @@ package org.hibernate.community.dialect; * CacheDB.jar depending on your version of Caché. *
    *
  1. Copy C:\CacheSys\dev\java\lib\JDK15\CacheDB.jar to C:\Hibernate\lib\CacheDB.jar.
  2. - *

    *

  3. Insert the following files into your Java classpath: *

    *

    *
  4. - *

    *

  5. In the file, hibernate.properties (or hibernate.cfg.xml), * specify the Caché dialect and the Caché version URL settings.
  6. *
@@ -62,7 +60,7 @@ package org.hibernate.community.dialect; * For example, in Hibernate 3.2, typical entries in hibernate.properties would have the following * "name=value" pairs: *

- * + *
* * * @@ -106,7 +104,6 @@ package org.hibernate.community.dialect; *
    *
  1. org.hibernate.community.dialect.Cache71Dialect (requires Caché * 2007.1 or above)
  2. - *

    *

*
*

SUPPORT FOR IDENTITY COLUMNS

diff --git a/hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/IngresDialect.java b/hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/IngresDialect.java index 673374ed38..3128719c15 100644 --- a/hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/IngresDialect.java +++ b/hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/IngresDialect.java @@ -413,7 +413,7 @@ public class IngresDialect extends Dialect { // lock acquisition support ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /** - * FOR UPDATE only supported for cursors + * {@code FOR UPDATE} only supported for cursors * * @return the empty string */ diff --git a/hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/RDMSOS2200Dialect.java b/hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/RDMSOS2200Dialect.java index 0a9c0bdd19..2d412971e3 100644 --- a/hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/RDMSOS2200Dialect.java +++ b/hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/RDMSOS2200Dialect.java @@ -321,7 +321,7 @@ public class RDMSOS2200Dialect extends Dialect { } /** - * FOR UPDATE only supported for cursors + * {@code FOR UPDATE} only supported for cursors * * @return the empty string */ diff --git a/hibernate-envers/src/main/java/org/hibernate/envers/AuditMappedBy.java b/hibernate-envers/src/main/java/org/hibernate/envers/AuditMappedBy.java index 2fa51f5dda..03d6625a85 100644 --- a/hibernate-envers/src/main/java/org/hibernate/envers/AuditMappedBy.java +++ b/hibernate-envers/src/main/java/org/hibernate/envers/AuditMappedBy.java @@ -19,7 +19,6 @@ import java.lang.annotation.Target; * bi-directional relation. *

*

- *

* This annotation is experimental and may change in future releases. *

* diff --git a/hibernate-envers/src/main/java/org/hibernate/envers/AuditReader.java b/hibernate-envers/src/main/java/org/hibernate/envers/AuditReader.java index b69649f5bc..930502796a 100644 --- a/hibernate-envers/src/main/java/org/hibernate/envers/AuditReader.java +++ b/hibernate-envers/src/main/java/org/hibernate/envers/AuditReader.java @@ -161,7 +161,7 @@ public interface AuditReader { /** * Gets the revision number, that corresponds to the given date. More precisely, returns * the number of the highest revision, which was created on or before the given date. So: - * getRevisionDate(getRevisionNumberForDate(date)) <= date and + * getRevisionDate(getRevisionNumberForDate(date)) <= date and * getRevisionDate(getRevisionNumberForDate(date)+1) > date. * * @param date Date for which to get the revision. @@ -178,7 +178,7 @@ public interface AuditReader { /** * Gets the revision number, that corresponds to the given date. More precisely, returns * the number of the highest revision, which was created on or before the given date. So: - * getRevisionDate(getRevisionNumberForDate(date)) <= date and + * getRevisionDate(getRevisionNumberForDate(date)) <= date and * getRevisionDate(getRevisionNumberForDate(date)+1) > date. * * @param date Date for which to get the revision. @@ -293,8 +293,10 @@ public interface AuditReader { * * @return the entityName for the given entity. * @throws HibernateException if one of the following conditions are satisfied: + * */ String getEntityName(Object primaryKey, Number revision, Object entity) throws HibernateException; diff --git a/hibernate-envers/src/main/java/org/hibernate/envers/query/AuditQueryCreator.java b/hibernate-envers/src/main/java/org/hibernate/envers/query/AuditQueryCreator.java index e36ec0cb74..a741687692 100644 --- a/hibernate-envers/src/main/java/org/hibernate/envers/query/AuditQueryCreator.java +++ b/hibernate-envers/src/main/java/org/hibernate/envers/query/AuditQueryCreator.java @@ -149,7 +149,7 @@ public class AuditQueryCreator { *
  • the entity instance
  • *
  • revision entity, corresponding to the revision at which the entity was modified. If no custom * revision entity is used, this will be an instance of {@link org.hibernate.envers.DefaultRevisionEntity}
  • - *
  • type of the revision (an enum instance of class {@link org.hibernate.envers.RevisionType})
  • . + *
  • type of the revision (an enum instance of class {@link org.hibernate.envers.RevisionType})
  • * * Additional conditions that the results must satisfy may be specified. * @@ -185,7 +185,7 @@ public class AuditQueryCreator { *
  • the entity instance
  • *
  • revision entity, corresponding to the revision at which the entity was modified. If no custom * revision entity is used, this will be an instance of {@link org.hibernate.envers.DefaultRevisionEntity}
  • - *
  • type of the revision (an enum instance of class {@link org.hibernate.envers.RevisionType})
  • . + *
  • type of the revision (an enum instance of class {@link org.hibernate.envers.RevisionType})
  • * * Additional conditions that the results must satisfy may be specified. * diff --git a/hibernate-envers/src/main/java/org/hibernate/envers/strategy/ValidityAuditStrategy.java b/hibernate-envers/src/main/java/org/hibernate/envers/strategy/ValidityAuditStrategy.java index 7ce86c7dc2..defe56673d 100644 --- a/hibernate-envers/src/main/java/org/hibernate/envers/strategy/ValidityAuditStrategy.java +++ b/hibernate-envers/src/main/java/org/hibernate/envers/strategy/ValidityAuditStrategy.java @@ -15,15 +15,12 @@ package org.hibernate.envers.strategy; *
  • At the same time the end-revision field of the previous audit row is set to this revision
  • *
  • Queries are retrieved using 'between start and end revision', instead of a subquery.
  • * - *

    - *

    *

    * This has a few important consequences that need to be judged against against each other: *

    - *

    * * @deprecated use {@link org.hibernate.envers.strategy.internal.ValidityAuditStrategy} instead. *
    Property NameProperty Value