New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QueryDSL objects are using my Path object instead if its own Path object #247

Closed
michaelajr opened this Issue Oct 11, 2012 · 13 comments

Comments

Projects
None yet
2 participants
@michaelajr

I have my own Path object which is embedded in a parent object that is annotated with Spring's MongoAnnotationProcessor - when processed - the resulting Q object is using my Path object since it is in the same package. I have changed my class name as an interim solution, but a real fix would be appreciated.

@timowest

This comment has been minimized.

Show comment
Hide comment
@timowest

timowest Oct 12, 2012

Member

I am not sure if I understand. Could you post a concrete example to illustrate your problem?

Member

timowest commented Oct 12, 2012

I am not sure if I understand. Could you post a concrete example to illustrate your problem?

@michaelajr

This comment has been minimized.

Show comment
Hide comment
@michaelajr

michaelajr Oct 12, 2012

I'll try and get an example shortly. To clarify - the Q objects use a type called Path - the Path.class is part of QueryDSL. The issue arises when I also have type called "Path" on my domain objects (my own class - same name). The generated Q objects do not compile because the compiler tries to use MY Path.class not yours.

I'll try and get an example shortly. To clarify - the Q objects use a type called Path - the Path.class is part of QueryDSL. The issue arises when I also have type called "Path" on my domain objects (my own class - same name). The generated Q objects do not compile because the compiler tries to use MY Path.class not yours.

@timowest

This comment has been minimized.

Show comment
Hide comment
@timowest

timowest Oct 12, 2012

Member

Ok, I understand. I will be able to reproduce this locally. No need to provide an example.

Member

timowest commented Oct 12, 2012

Ok, I understand. I will be able to reproduce this locally. No need to provide an example.

@michaelajr

This comment has been minimized.

Show comment
Hide comment
@michaelajr

michaelajr Oct 12, 2012

Great. Thanks.

Great. Thanks.

@michaelajr

This comment has been minimized.

Show comment
Hide comment
@michaelajr

michaelajr Oct 13, 2012

Fantastic. Thanks again.

Fantastic. Thanks again.

@michaelajr

This comment has been minimized.

Show comment
Hide comment
@michaelajr

michaelajr Oct 16, 2012

Hi Timo - was wondering if there is a snapshot repo from which I could pull these changes, 2.8.1-SNAPSHOT?

Hi Timo - was wondering if there is a snapshot repo from which I could pull these changes, 2.8.1-SNAPSHOT?

@timowest

This comment has been minimized.

Show comment
Hide comment
@timowest

timowest Oct 16, 2012

Member

Hi, unfortunately there is no up-to-date snapshot available, but I will make a release this week.

Member

timowest commented Oct 16, 2012

Hi, unfortunately there is no up-to-date snapshot available, but I will make a release this week.

@michaelajr

This comment has been minimized.

Show comment
Hide comment
@michaelajr

michaelajr Oct 16, 2012

Great - thanks. M

Great - thanks. M

@timowest

This comment has been minimized.

Show comment
Hide comment
@timowest

timowest Oct 19, 2012

Member

Released in 2.8.1

Member

timowest commented Oct 19, 2012

Released in 2.8.1

@timowest timowest closed this Oct 19, 2012

@michaelajr

This comment has been minimized.

Show comment
Hide comment
@timowest

This comment has been minimized.

Show comment
Hide comment
@timowest

timowest Oct 20, 2012

Member

There is no zip packaged version of querydsl-mongodb, but the maven version is publicly available http://search.maven.org/#artifactdetails|com.mysema.querydsl|querydsl-mongodb|2.8.1|jar

We don't use source.mysema.com anymore for repository syncing, we switched to sonatype.

Member

timowest commented Oct 20, 2012

There is no zip packaged version of querydsl-mongodb, but the maven version is publicly available http://search.maven.org/#artifactdetails|com.mysema.querydsl|querydsl-mongodb|2.8.1|jar

We don't use source.mysema.com anymore for repository syncing, we switched to sonatype.

@michaelajr

This comment has been minimized.

Show comment
Hide comment
@michaelajr

michaelajr Oct 20, 2012

ah. ok - thanks. Might want to change the the QueryDSL Home Page Maven link to point to sonatype. :) Appreciate the quick response.

ah. ok - thanks. Might want to change the the QueryDSL Home Page Maven link to point to sonatype. :) Appreciate the quick response.

@timowest

This comment has been minimized.

Show comment
Hide comment
@timowest

timowest Oct 20, 2012

Member

Ok, will do that. Thanks.

Member

timowest commented Oct 20, 2012

Ok, will do that. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment