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. |