public void addMetadata() {
        addMetadata(fooId, ColumnMetadata.named("foo_id").withIndex(1).ofType(4).withSize(10).notNull());
        addMetadata(names, ColumnMetadata.named("names").withIndex(2).ofType(12).withSize(255));
    }
SFooNames is a Querydsl query type for SFooNames
querydsl-jpa/src/test/java/com/querydsl/jpa/domain/sql/SFooNames.java