Add comment on why some settings use the org.hibernate prefix while others don't

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19139 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Emmanuel Bernard 2010-03-30 10:11:40 +00:00
parent 3de7cb68ad
commit 2451e5f31d

View File

@ -203,6 +203,7 @@ public class AvailableSettings {
* by a dot. For example<code>Query.setHint( "org.hibernate.lockMode.a", someLockMode )</code> * by a dot. For example<code>Query.setHint( "org.hibernate.lockMode.a", someLockMode )</code>
* would apply <code>someLockMode</code> to the alias <code>"a"</code>. * would apply <code>someLockMode</code> to the alias <code>"a"</code>.
*/ */
//Use the org.hibernate prefix. instead of hibernate. as it is a query hint se QueryHints
public static final String ALIAS_SPECIFIC_LOCK_MODE = "org.hibernate.lockMode"; public static final String ALIAS_SPECIFIC_LOCK_MODE = "org.hibernate.lockMode";
/** /**
@ -272,6 +273,7 @@ public class AvailableSettings {
/** /**
* Used to determine flush mode. * Used to determine flush mode.
*/ */
//Use the org.hibernate prefix. instead of hibernate. as it is a query hint se QueryHints
public static final String FLUSH_MODE = "org.hibernate.flushMode"; public static final String FLUSH_MODE = "org.hibernate.flushMode";
/** /**