Permalink
Browse files

[232629] MySQL : support for BINARY, VARBINARY and YEAR datatypes

  • Loading branch information...
1 parent 4996238 commit 124b36641fe1e39db63316cf30a8586ed53a2063 Hemant Kolwalkar committed May 16, 2008
View
13 ...g.eclipse.datatools.enablement.mysql.dbdefinition/runtime/vendors/MySql_5.0/MySql_5.0.xmi
@@ -172,7 +172,18 @@ javaClassName="java.math.BigDecimal">
<defaultValueTypes>NULL</defaultValueTypes>
<name>ENUM</name>
</predefinedDataTypeDefinitions>
-
+ <predefinedDataTypeDefinitions xmi:id="DATE_2" keyConstraintSupported="true" primitiveType="DATE" jdbcEnumType="91" javaClassName="java.sql.Date">
+ <defaultValueTypes>NULL</defaultValueTypes>
+ <name>YEAR</name>
+ </predefinedDataTypeDefinitions>
+ <predefinedDataTypeDefinitions xmi:id="BINARY_1" lengthSupported="true" keyConstraintSupported="true" maximumLength="255" lengthUnit="BYTE" primitiveType="BINARY" jdbcEnumType="-2" javaClassName="byte[]">
+ <defaultValueTypes>NULL</defaultValueTypes>
+ <name>BINARY</name>
+ </predefinedDataTypeDefinitions>
+ <predefinedDataTypeDefinitions xmi:id="BINARY_VARYING_1" lengthSupported="true" keyConstraintSupported="true" maximumLength="255" primitiveType="BINARY_VARYING" lengthUnit="BYTE" jdbcEnumType="-3" javaClassName="byte[]">
+ <defaultValueTypes>NULL</defaultValueTypes>
+ <name>VARBINARY</name>
+ </predefinedDataTypeDefinitions>
<storedProcedureDefinition/>
<triggerDefinition/>
<columnDefinition maximumIdentifierLength="64" identitySupported="true" identityIncrementSupported="true"/>
View
12 ...g.eclipse.datatools.enablement.mysql.dbdefinition/runtime/vendors/MySql_5.1/MySql_5.1.xmi
@@ -172,6 +172,18 @@ javaClassName="java.math.BigDecimal">
<defaultValueTypes>NULL</defaultValueTypes>
<name>ENUM</name>
</predefinedDataTypeDefinitions>
+ <predefinedDataTypeDefinitions xmi:id="DATE_2" keyConstraintSupported="true" primitiveType="DATE" jdbcEnumType="91" javaClassName="java.sql.Date">
+ <defaultValueTypes>NULL</defaultValueTypes>
+ <name>YEAR</name>
+ </predefinedDataTypeDefinitions>
+ <predefinedDataTypeDefinitions xmi:id="BINARY_1" lengthSupported="true" keyConstraintSupported="true" maximumLength="255" lengthUnit="BYTE" primitiveType="BINARY" jdbcEnumType="-2" javaClassName="byte[]">
+ <defaultValueTypes>NULL</defaultValueTypes>
+ <name>BINARY</name>
+ </predefinedDataTypeDefinitions>
+ <predefinedDataTypeDefinitions xmi:id="BINARY_VARYING_1" lengthSupported="true" keyConstraintSupported="true" maximumLength="255" primitiveType="BINARY_VARYING" lengthUnit="BYTE" jdbcEnumType="-3" javaClassName="byte[]">
+ <defaultValueTypes>NULL</defaultValueTypes>
+ <name>VARBINARY</name>
+ </predefinedDataTypeDefinitions>
<storedProcedureDefinition/>
<triggerDefinition/>
<columnDefinition maximumIdentifierLength="64" identitySupported="true" identityIncrementSupported="true"/>

0 comments on commit 124b366

Please sign in to comment.