Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

DB2 DatentypRapidClipse Standard MappingJava Example

CHARACTER(n)

Character. Fixed-length character strings
with a length of n bytes. n must be greater than 0 and not greater than 255. The
default length is 1.

visitor.addPropertyColumnDefinitionFix(new PropertyColumnDefinitionFix(
    new String[]{"CHARACTER"},new String[]{"java.lang.String"},"CHARACTER"));
private String charactertest;


@Column(name = "CHARACTERTEST", nullable = false, 
            length = 10, columnDefinition = "CHARACTER")
public String getCharactertest() {
    return this.charactertest;
}
  • No labels