add javadoc about hibernate.dialect

This commit is contained in:
Gavin 2022-11-26 00:07:55 +01:00
parent 27d4a55e75
commit 07de23d283
2 changed files with 8 additions and 2 deletions

View File

@ -13,7 +13,6 @@ import java.util.Iterator;
import java.util.Map;
import java.util.concurrent.Callable;
import java.util.concurrent.ConcurrentHashMap;
import java.util.function.Function;
import org.hibernate.HibernateException;
import org.hibernate.boot.registry.classloading.spi.ClassLoaderService;

View File

@ -406,7 +406,14 @@ public interface AvailableSettings {
String JNDI_PREFIX = "hibernate.jndi";
/**
* Specifies the Hibernate SQL {@link org.hibernate.dialect.Dialect} class.
* Specifies the Hibernate {@linkplain org.hibernate.dialect.Dialect SQL dialect}, either
* <ul>
* <li>an instance of {@link org.hibernate.dialect.Dialect},
* <li>a {@link Class} representing a class that extends {@code Dialect}, or
* <li>the name of a class that extends {@code Dialect}.
* </ul>
* By default, Hibernate will attempt to automatically determine the dialect from the
* {@linkplain #URL JDBC URL} and JDBC metadata, so this setting is not usually necessary.
*
* @see org.hibernate.dialect.Dialect
*/