public void addMetadata() {
        addMetadata(amount, ColumnMetadata.named("AMOUNT"));
        addMetadata(datefield, ColumnMetadata.named("DATEFIELD"));
        addMetadata(description, ColumnMetadata.named("DESCRIPTION"));
        addMetadata(name, ColumnMetadata.named("NAME"));
        addMetadata(price, ColumnMetadata.named("PRICE"));
        addMetadata(productId, ColumnMetadata.named("PRODUCT_ID"));
        addMetadata(publicationdate, ColumnMetadata.named("PUBLICATIONDATE"));
        addMetadata(timefield, ColumnMetadata.named("TIMEFIELD"));
    }
SProduct is a Querydsl query type for SProduct
querydsl-jdo/src/test/java/com/querydsl/jdo/test/domain/sql/SProduct.java