Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
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.

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


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