Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Different source generation #989
I´m trying to generate source from a compiled JAR.
But, when I use querydsl-maven-plugin fields that using LocalDateTime are generate in a differente way.
@Temporal(TemporalType.TIMESTAMP) @Column(name = "CREATED_IN", precision = 6, updatable = false) private LocalDateTime createdIn;
public final DateTimePath<org.threeten.bp.LocalDateTime> createdIn = createDateTime("createdIn", org.threeten.bp.LocalDateTime.class);
public final ComparablePath<org.threeten.bp.LocalDateTime> createdIn = createComparable("createdIn", org.threeten.bp.LocalDateTime.class);
The big problem is that I have some sources generated from source that extends theses classes generated from jar.
It´s causing some compilation errors:
Hi, first of all, thank you for your response :).
Yes, we have a "base" project that will be used for many child projects (like a corporate apache-commons).
I want to not generate QueryDSL classes in this base, because not all child will use QueryDSL.
So, I'm generating in child project the QueryDSL sources from base project artifact.
So...why JPAAnnotationProcessor recognize @TeMPOraL and querydsl-maven-plugin#jpa-generator don't? :P
I found it on
But it is a code specific for APT (java.lang.model.Element parameter).