public void addMetadata() {
        addMetadata(amount, ColumnMetadata.named("amount").withIndex(2).ofType(-5).withSize(19).notNull());
        addMetadata(id, ColumnMetadata.named("id").withIndex(1).ofType(-5).withSize(19).notNull());
        addMetadata(productId, ColumnMetadata.named("product_id").withIndex(3).ofType(-5).withSize(19));
    }
SPrice is a Querydsl query type for SPrice
querydsl-jpa/src/test/java/com/querydsl/jpa/domain/sql/SPrice.java