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