| java.lang.Object org.jboss.portal.migration.helper.DialectFactory
DialectFactory | public class DialectFactory (Code) | | Ripped off hibernate 3.1 that is not in 3.0. A factory for generating Dialect instances.
author: Steve Ebersole version: $Revision: 8784 $ |
Inner Class :public static interface DatabaseDialectMapper | |
Inner Class :public static class VersionInsensitiveMapper implements DatabaseDialectMapper | |
Method Summary | |
public static String | determineDialect(String databaseName, int databaseMajorVersion) Determine the appropriate Dialect to use given the database product name and major version.
Parameters: databaseName - The name of the database product (obtained from metadata). Parameters: databaseMajorVersion - The major version of the database product (obtained from metadata). |
determineDialect | public static String determineDialect(String databaseName, int databaseMajorVersion)(Code) | | Determine the appropriate Dialect to use given the database product name and major version.
Parameters: databaseName - The name of the database product (obtained from metadata). Parameters: databaseMajorVersion - The major version of the database product (obtained from metadata). An appropriate dialect instance. |
|
|