Class: com.sybase.djc.ant.MapProperty (Map Property) EAServer 6.3 Help
Description Configures the mapping of a Java or JDBC data type to a SQL data type. This is used when configuring a database type that will be used for object-relational mapping.

See also: Persistent Field Property.

Configuration Example:
<setProperties databaseType="Sybase_ASE">
  <map jdbcType="BLOB" sqlType="image"/>
  ...
</setProperties>

For more examples, please refer to the file config/default-database-types.xml.

Nested Properties javaType, jdbcType, sqlType

Property: javaType (Java Type)
Description Name of a Java data type (e.g. "int", "java.lang.String"). If javaType is not specified, then jdbcType must be specified.

Property: jdbcType (JDBC Type)
Description Name of JDBC data type as found in the Java documentation for class java.sql.Types. If jdbcType is not specified, then javaType must be specified.

Property: sqlType (SQL Type)
Description Required. Name of database-specific SQL data type, e.g. "image". May contain nested Java-like expressions "${...}" which can reference variables "maxLength", "notNull", "precision" and "scale". Embedded conditional expressions are useful if the SQL type should vary depending on these variables.