Package org.hibernate.dialect
Class MySQLServerConfiguration
- java.lang.Object
-
- org.hibernate.dialect.MySQLServerConfiguration
-
public class MySQLServerConfiguration extends Object
Utility class that extract some initial configuration from the database forMySQLDialectand related dialects.
-
-
Constructor Summary
Constructors Constructor Description MySQLServerConfiguration(int bytesPerCharacter, boolean noBackslashEscapesEnabled)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static MySQLServerConfigurationfromDatabaseMetadata(DatabaseMetaData databaseMetaData)Deprecated.static MySQLServerConfigurationfromDialectResolutionInfo(DialectResolutionInfo info)intgetBytesPerCharacter()booleanisNoBackslashEscapesEnabled()
-
-
-
Method Detail
-
getBytesPerCharacter
public int getBytesPerCharacter()
-
isNoBackslashEscapesEnabled
public boolean isNoBackslashEscapesEnabled()
-
fromDialectResolutionInfo
public static MySQLServerConfiguration fromDialectResolutionInfo(DialectResolutionInfo info)
-
fromDatabaseMetadata
@Deprecated(since="6.4") public static MySQLServerConfiguration fromDatabaseMetadata(DatabaseMetaData databaseMetaData)
Deprecated.
-
-