Class StandardUserDefinedTypeExporter
java.lang.Object
org.hibernate.tool.schema.internal.StandardUserDefinedTypeExporter
- All Implemented Interfaces:
Exporter<UserDefinedType>
- Direct Known Subclasses:
OracleUserDefinedTypeExporter
-
Field Summary
Fields inherited from interface org.hibernate.tool.schema.spi.Exporter
NO_COMMANDS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
applyComments
(UserDefinedObjectType udt, String formattedTypeName, List<String> sqlStrings) protected void
String[]
getSqlCreateStrings
(UserDefinedArrayType userDefinedType, Metadata metadata, SqlStringGenerationContext context) String[]
getSqlCreateStrings
(UserDefinedObjectType userDefinedType, Metadata metadata, SqlStringGenerationContext context) String[]
getSqlCreateStrings
(UserDefinedType userDefinedType, Metadata metadata, SqlStringGenerationContext context) Get the commands needed for creation.String[]
getSqlDropStrings
(UserDefinedArrayType userDefinedType, Metadata metadata, SqlStringGenerationContext context) String[]
getSqlDropStrings
(UserDefinedObjectType userDefinedType, Metadata metadata, SqlStringGenerationContext context) String[]
getSqlDropStrings
(UserDefinedType userDefinedType, Metadata metadata, SqlStringGenerationContext context) Get the commands needed for dropping.
-
Field Details
-
dialect
-
-
Constructor Details
-
StandardUserDefinedTypeExporter
-
-
Method Details
-
getSqlCreateStrings
public String[] getSqlCreateStrings(UserDefinedType userDefinedType, Metadata metadata, SqlStringGenerationContext context) Description copied from interface:Exporter
Get the commands needed for creation.- Specified by:
getSqlCreateStrings
in interfaceExporter<UserDefinedType>
- Returns:
- The commands needed for creation scripting.
-
getSqlCreateStrings
public String[] getSqlCreateStrings(UserDefinedObjectType userDefinedType, Metadata metadata, SqlStringGenerationContext context) -
getSqlCreateStrings
public String[] getSqlCreateStrings(UserDefinedArrayType userDefinedType, Metadata metadata, SqlStringGenerationContext context) -
applyComments
protected void applyComments(UserDefinedObjectType udt, String formattedTypeName, List<String> sqlStrings) - Parameters:
udt
- The UDT.formattedTypeName
- The formatted UDT name.sqlStrings
- The list of SQL strings to add comments to.
-
applyUserDefinedTypeExtensionsString
-
getSqlDropStrings
public String[] getSqlDropStrings(UserDefinedType userDefinedType, Metadata metadata, SqlStringGenerationContext context) Description copied from interface:Exporter
Get the commands needed for dropping.- Specified by:
getSqlDropStrings
in interfaceExporter<UserDefinedType>
- Returns:
- The commands needed for drop scripting.
-
getSqlDropStrings
public String[] getSqlDropStrings(UserDefinedObjectType userDefinedType, Metadata metadata, SqlStringGenerationContext context) -
getSqlDropStrings
public String[] getSqlDropStrings(UserDefinedArrayType userDefinedType, Metadata metadata, SqlStringGenerationContext context)
-