Save This Page
Home » hibernate-distribution-3.3.1.GA-dist » org.hibernate » dialect » resolver » [javadoc | source]
org.hibernate.dialect.resolver
public class: DialectFactory [javadoc | source]
java.lang.Object
   org.hibernate.dialect.resolver.DialectFactory
A factory for generating Dialect instances.
Method from org.hibernate.dialect.resolver.DialectFactory Summary:
buildDialect,   buildDialect,   constructDialect,   registerDialectResolver
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.dialect.resolver.DialectFactory Detail:
 public static Dialect buildDialect(Properties properties) 
 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.

 public static Dialect constructDialect(String dialectName) 
    Returns a dialect instance given the name of the class to use.
 static  void registerDialectResolver(String resolverName)