| Modifier and Type | Field and Description |
|---|---|
| private static DialectResolverSet | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static Dialect | Returns: The appropriate dialect instance.The configuration properties. properties, Connection The configured connection. connection)Builds an appropriate Dialect instance. |
| public static Dialect | |
| public static Dialect | Returns: The dialect instance.The name of the dialect class. dialectName)Returns a dialect instance given the name of the class to use. |
| private static Dialect | Returns: The appropriate dialect instance.The configured connection. connection)Determine the appropriate Dialect to use given the connection. |
| pack-priv static void |
| DIALECT_RESOLVERS | back to summary |
|---|---|
| private static DialectResolverSet DIALECT_RESOLVERS | |
| log | back to summary |
|---|---|
| private static final Logger log | |
| DialectFactory | back to summary |
|---|---|
| public DialectFactory() | |
| buildDialect | back to summary |
|---|---|
| public static Dialect buildDialect(Properties properties, Connection connection) throws HibernateException Builds an appropriate Dialect instance. If a dialect is explicitly named in the incoming properties, it is used. Otherwise, it is determined by dialect resolvers based on the passed connection. An exception is thrown if a dialect was not explicitly set and no resolver could make the determination from the given connection.
| |
| buildDialect | back to summary |
|---|---|
| public static Dialect buildDialect(Properties properties) | |
| constructDialect | back to summary |
|---|---|
| public static Dialect constructDialect(String dialectName) Returns a dialect instance given the name of the class to use. | |
| determineDialect | back to summary |
|---|---|
| private static Dialect determineDialect(Connection connection) Determine the appropriate Dialect to use given the connection.
| |
| registerDialectResolver | back to summary |
|---|---|
| pack-priv static void registerDialectResolver(String resolverName) | |