Package org.hibernate.dialect
Class MySQLServerConfiguration
java.lang.Object
org.hibernate.dialect.MySQLServerConfiguration
Utility class that extract some initial configuration from the database
for
MySQLDialect
and related dialects.-
Constructor Summary
ConstructorsConstructorDescriptionMySQLServerConfiguration
(int bytesPerCharacter, boolean noBackslashEscapesEnabled) -
Method Summary
Modifier and TypeMethodDescriptionstatic MySQLServerConfiguration
fromDatabaseMetadata
(DatabaseMetaData databaseMetaData) Deprecated.static MySQLServerConfiguration
int
boolean
-
Constructor Details
-
MySQLServerConfiguration
public MySQLServerConfiguration(int bytesPerCharacter, boolean noBackslashEscapesEnabled)
-
-
Method Details
-
getBytesPerCharacter
public int getBytesPerCharacter() -
isNoBackslashEscapesEnabled
public boolean isNoBackslashEscapesEnabled() -
fromDialectResolutionInfo
-
fromDatabaseMetadata
@Deprecated(since="6.4") public static MySQLServerConfiguration fromDatabaseMetadata(DatabaseMetaData databaseMetaData) Deprecated.
-
fromDialectResolutionInfo(org.hibernate.engine.jdbc.dialect.spi.DialectResolutionInfo)
instead.